Skip to content

Instantly share code, notes, and snippets.

@Praveenk8051
Last active April 26, 2020 09:13
Show Gist options
  • Save Praveenk8051/ed0bf9c71fc38bda6de78621062173e5 to your computer and use it in GitHub Desktop.
Save Praveenk8051/ed0bf9c71fc38bda6de78621062173e5 to your computer and use it in GitHub Desktop.
Autoremove and Clean existing CuDA
# Remove existing CuDA versions
sudo apt --purge remove "cublas*" "cuda*"
sudo apt --purge remove "nvidia*"
rm -rf /usr/local/cuda*
sudo apt-get autoremove && sudo apt-get autoclean
# Reboot to remove cached files
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment