May 2019
Intermediate to advanced
452 pages
12h 16m
English
In this section, we are going to install cuDNN 7.4.2 for both TensorFlow and PyTorch. Follow these steps to get started:

cd Downloadstar -xvzf cudnn-9.0-linux-x64-v7.4.2.24.tgzsudo cp cuda/include/cudnn.h /usr/local/cuda-9.0/includesudo cp -P cuda/lib64/libcudnn* /usr/local/cuda-9.0/lib64/
The -P flag ensures the symbolic links are copied just as they are, instead of as actual files.
sudo chmod a+r /usr/local/cuda-9.0/lib64/libcudnn* ...
Read now
Unlock full access