Skip to content
Snippets Groups Projects
Commit 341f7f3f authored by Ling Wu's avatar Ling Wu
Browse files

install cudnn

parent 8043f20a
No related branches found
No related tags found
1 merge request!309Master
......@@ -519,16 +519,14 @@ D) Install Torch
4) install cudnn
download cudnn from nvidia (you need to register and downloadmanualy
https://developer.nvidia.com/compute/machine-learning/cudnn/secure/8.0.4/11.0_20200923/cudnn-11.0-linux-x64-v8.0.4.30.tgz
A
A
sudo apt-get install nvidia-cuda-toolkit
//check version nvcc --version
copy in your local directory
tar xvf cudnn-11.0-linux-x64-v8.0.4.30.tgz
sudo cp cuda/include/cudnn*.h /usr/local/cuda/include
sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64
sudo chmod a+r /usr/local/cuda/include/cudnn*.h /usr/local/cuda/lib64/libcudnn*
5) download torch with gpu
wget https://download.pytorch.org/libtorch/cu110/libtorch-shared-with-deps-1.7.0%2Bcu110.zip
unzip libtorch-shared-with-deps-1.7.0%2Bcu110.zip
add export TORCHDIR=$HOME/local/libtorch in your .bashrc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment