📅 2017-May-19 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ caffe, cudnn ⬩ 📚 Archive
cuDNN provides primitives for deep learning networks that have been accelerated for GPUs by NVIDIA.
To download cuDNN head over to the cuDNN page here. cuDNN is not directly available for download. NVIDIA requires you to create a login. After that it presents cuDNN downloads in different formats (.tgz or .deb).
I prefer to install from .tgz since it gives more control. Unzip the file and it will create a
cuda directory which has the required include and lib directories.
Copy the files over to your CUDA directory:
$ sudo cp cuda/include/cudnn.h /usr/local/cuda-X.Y/include $ sudo cp cuda/lib64/libcudnn* /usr/local/cuda-X.Y/lib64 $ sudo chmod a+r /usr/local/cuda-X.Y/include/cudnn.h $ sudo chmod a+r /usr/local/cuda-X.Y/lib64/libcudnn*
cuda-X.Y with the specific CUDA version directory on your system.
That is it! Caffe and other projects needing cuDNN should be able to find and link with cuDNN now.
Tried with: cuDNN 6.0 and Ubuntu 16.04