Skip to content

Instantly share code, notes, and snippets.

@Ayke
Last active January 7, 2021 22:50
Show Gist options
  • Save Ayke/66852f33f5161967733c30081f1c3fb4 to your computer and use it in GitHub Desktop.
Save Ayke/66852f33f5161967733c30081f1c3fb4 to your computer and use it in GitHub Desktop.
Driver and CUDA

Driver install

To stop the currently running nvidia driver:

sudo systemctl isolate multi-user.target
sudo modprobe -r nvidia-drm

CUDA Installation

CUDA 10.0

https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#runfile

https://developer.nvidia.com/cuda-10.0-download-archive?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=runfilelocal

Choose the runfile version

CUDNN Installation

Download the corresponding version of CUDNN, unzip it, and:

cd cuda/include
sudo cp -av * /usr/local/cuda/include/
cd ../lib64
sudo cp -av * /usr/local/cuda/lib64/

Possible chown actions

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