Created
October 26, 2022 13:21
-
-
Save hokiegeek2/4fa6f1d73c702d5b9f0380625ace37b5 to your computer and use it in GitHub Desktop.
fixing NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Purge all NVIDIA libs from system | |
| sudo apt-get remove --purge '^nvidia-.*' | |
| sudo apt-get remove --purge '^libnvidia-.*' | |
| sudo apt-get remove --purge '^cuda-.*' | |
| # Update linux-headers | |
| sudo apt-get install linux-headers-$(uname -r) | |
| # autoremove all unneeded dependent llibs | |
| sudo apt autoremove | |
| # Get and run latest cuda installer | |
| wget https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_520.61.05_linux.run | |
| sh cuda_11.8.0_520.61.05_linux.run |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is based upon the excellent work located here