Skip to content

Instantly share code, notes, and snippets.

@diegopacheco
Last active April 6, 2024 08:28
Show Gist options
  • Save diegopacheco/7f5ec2d4370cc5fd5982be0c4fbdb58e to your computer and use it in GitHub Desktop.
Save diegopacheco/7f5ec2d4370cc5fd5982be0c4fbdb58e to your computer and use it in GitHub Desktop.
Install Nvidia: cudnn on ubuntu 22.04
wget https://developer.download.nvidia.com/compute/cudnn/9.0.0/local_installers/cudnn-local-repo-ubuntu2204-9.0.0_1.0-1_amd64.deb
sudo dpkg -i cudnn-local-repo-ubuntu2204-9.0.0_1.0-1_amd64.deb
sudo cp /var/cudnn-local-repo-ubuntu2204-9.0.0/cudnn-*-keyring.gpg /usr/share/keyrings/
sudo apt-get update
sudo apt-get -y install cudnn

sudo apt-get -y install cudnn-cuda-11
sudo apt-get -y install cudnn-cuda-12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment