首页 > 其他分享 >Install cuDNN

Install cuDNN

时间:2024-09-27 16:23:17浏览次数:9  
标签:... 12 cudnn sudo cuDNN cuda Install

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.

 

标签:...,12,cudnn,sudo,cuDNN,cuda,Install
From: https://www.cnblogs.com/zhangzhihui/p/18436010

相关文章

  • pyinstaller打包exe,设置发布者,版权,产品名称等版本信息
    pyinstaller的安装和打exe相关,请看:python2打包exe以及一些运行出错的问题然后我们基本上使用pyinstaller-F-wtest.py就可以满足大部分的需求了,但是有的时候需要我们给exe添加版本信息,比如代码中如果有socket相关的,那么执行的时候电脑就会提示是否执行,并显示exe发布者等......
  • 关于Clion汉化失败Plugin “Chinese (Simplified) Language Pack / 中文语言包“ was
    关于Clion汉化失败出现Plugin"Chinese(Simplified)LanguagePack/中文语言包"wasnotinstalled:Invalidfilenamereturnedbyaserver意思是你安装的汉化包不可被识别,截止到23/7/22pluginsmarket搜索到的汉化包版本不再能兼容21版本的clion了解决方法有两个1.升......
  • Install Cuda Toolkit
     (base)zzh@ZZHPC:~$sudoubuntu-driversdevices==/sys/devices/pci0000:00/0000:00:1b.4/0000:02:00.0==modalias:pci:v000010DEd00001F07sv000010DEsd000012ADbc03sc00i00vendor:NVIDIACorporationmodel:TU106[GeForceRTX2070Rev.A]driver:......
  • Anaconda - Installation and Initialization
    InstallAnaconda:https://docs.anaconda.com/anaconda/install/linux/ CreateaCondavirtualenvironment: (base)zzh@ZZHPC:~/zd/Github$condacreate-nzpytorchanacondaChannels:-defaultsPlatform:linux-64Collectingpackagemetadata(repodata.json):d......
  • python使用pyinstaller打包exe的时候遇到:unknown encoding: idna
    python使用pyinstaller打包exe的时候遇到:unknownencoding:idna解决办法在程序开头加上importencodings.idna即可,如果idna没有安装,需要手动安装一下。#!/usr/bin/python#-*-coding:UTF-8-*-importencodings.idna......
  • 编译安装redis运行注册服务脚本sh install_server.sh时报错。
    在编译安装redis的时候,运行注册服务脚本shinstall_server.sh时,报错。WelcometotheredisserviceinstallerThisscriptwillhelpyoueasilysetuparunningredisserverThissystemsseemstousesystemd.Pleasetakealookattheprovidedexampleserviceunitfi......
  • Create a .pem File for TLS/SSL Certificate Installations
    .pemTLS/SSLCreationInstructionsSSL.pemfiles(concatenatedcertificatecontainerfiles),arefrequentlyrequiredforcertificateinstallationswhenmultiplecertificatesarebeingimportedasonefile.Thisarticlecontainsmultiplesetsofinstructi......
  • PyInstaller打包模型文件
    最近需要将python项目打包成可执行文件,研究了下,记录下整个过程。项目是基于mxnet实现的一个物体检测器,需要打包成exe文件(windows)和linux的可执行文件,选择PyInstaller作为打包工具。主要有三个问题需要注意:1.由于PyInstaller会将python环境中的所有安装包都打包进去,所以......
  • install docker on ubuntu
    ToinstallDockeronUbuntu,youcanfollowthesesteps:Step1:UpdatethesystemOpenaterminalandrunthefollowingcommandtoupdateyourpackagelist:sudoapt-getupdateStep2:InstallrequireddependenciesRunthefollowingcommandtoinstallt......
  • 易优eyoucms网站重新安装时,删除了install.lock文件,可是还是出现404页面
    当您在重新安装网站时删除了install.lock文件但仍出现404页面,可能是因为某些配置文件或缓存文件未被正确处理。以下是详细的解决步骤:1.确认删除install.lock文件确保install.lock文件已被正确删除。删除install.lock文件登录FTP客户端:使用FTP客户端登录到服务器。找......