ZhangZhihui's Blog  

The NVIDIA CUDA Deep Neural Network library (cuDNN) is a GPU-accelerated library of primitives for deep neural networks. cuDNN provides highly tuned implementations for standard routines such as forward and backward convolution, attention, matmul, pooling, and normalization.

 

Installation guide: https://docs.nvidia.com/deeplearning/cudnn/latest/installation/linux.html

 

https://developer.nvidia.com/cudnn-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=22.04&target_type=deb_local

 

复制代码
Installation Instructions:
wget https://developer.download.nvidia.com/compute/cudnn/9.4.0/local_installers/cudnn-local-repo-ubuntu2204-9.4.0_1.0-1_amd64.deb
sudo dpkg -i cudnn-local-repo-ubuntu2204-9.4.0_1.0-1_amd64.deb
sudo cp /var/cudnn-local-repo-ubuntu2204-9.4.0/cudnn-*-keyring.gpg /usr/share/keyrings/
sudo apt-get update
sudo apt-get -y install cudnn

To install for CUDA 12, perform the above configuration but install the CUDA 12 specific package:
sudo apt-get -y install cudnn-cuda-12
复制代码

 

复制代码
zzh@ZZHPC:~/Downloads/cuDNN$ sudo apt-get -y install cudnn-cuda-12
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'cudnn9-cuda-12' instead of 'cudnn-cuda-12'
cudnn9-cuda-12 is already the newest version (9.4.0.58-1).
cudnn9-cuda-12 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
zzh@ZZHPC:~/Downloads/cuDNN$ sudo apt-get -y install cudnn9-cuda-12
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
cudnn9-cuda-12 is already the newest version (9.4.0.58-1).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
复制代码

 

posted on   ZhangZhihuiAAA  阅读(23)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
历史上的今天:
2023-09-27 Go - 这个for循环是怎么退出的
2023-09-27 Go - ERROR: fatal error: all goroutines are asleep - deadlock!
 
点击右上角即可分享
微信分享提示