- Sign up a Nvidia account
Go to the download pages:
https://developer.nvidia.com/rdp/cudnn-downloadDownload the specific version of cuDNN. (For example cuDNN 5.1 for CUDA 8.0)
- Combine with your CUDA-8.0 driver,
tar -zxf cudnn-8.0-linux-x64-v5.1.tgz
cd cuda
sudo cp lib64/* /usr/local/cuda-8.0/lib64/
sudo cp include/* /usr/local/cuda-8.0/include/
- In order to use the environment when login, we can add to
~/.bashrc
like,
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}