Bootstrap

Install cuDNN v8.0.5 in ubuntu 20.04

  • what: NVIDIA cuDNN是用于深度神经网络的GPU加速库。cuDNN安装很简单,就是将解压的文件放到指定位置即可.
  • why: GPU acceleration for DNN
  • how: cuDNN安装很简单,就是将解压的文件放到指定位置即可[2].
    • step 1: Register a Nvidia account and go to the download page. Select the version based on your CUDA version
    • step 2: navigate to your directory containing the tar file, and unzip the cuDNN via tar -xzvf cudnn-x.x-linux-x64-v8.x.x.x.tgz
    • step 3: copy files to target location
      $ 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*
      
    • step 4: check result via cat /usr/local/cuda/include/cudnn_version.h | grep CUDNN_MAJOR -A 2
    • step 5: Then downloaded the other 3 .deb files and insta
;