- 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
Install cuDNN v8.0.5 in ubuntu 20.04
最新推荐文章于 2023-07-30 22:13:18 发布
本文详细介绍了如何在Ubuntu 20.04上安装NVIDIA cuDNN v8.0.5,包括注册Nvidia账户、下载cuDNN、解压文件、复制到指定位置以及验证安装成功的过程。
摘要由CSDN通过智能技术生成