Skip to content

Instantly share code, notes, and snippets.

@roman-4erkasov
Last active April 19, 2023 19:36
Show Gist options
  • Save roman-4erkasov/e5a64b5e5d8aec57e9dbf94df864597d to your computer and use it in GitHub Desktop.
Save roman-4erkasov/e5a64b5e5d8aec57e9dbf94df864597d to your computer and use it in GitHub Desktop.
Plan A:
just run "sudo nvidia-uninstall"
Plan B:
#step 1.
sudo su
# step 2. delete all nvidia stuff
dpkg -l | grep -i nvidia | awk '{print $2}' | xargs -n1 sudo apt-get purge -y
# step 3.
sudo apt autoremove
# step 4.install nvidia cuda toolkit, including driver
bash cuda_11.8.0_520.61.05_linux.run
# step 5. Install nvidia-docker if you need that. Follow the official instructions to install that.
# step 6. Restart the server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment