Created
August 28, 2023 13:38
-
-
Save fvarno/13a2c59c02c6aefaa7706bf1b7072dc5 to your computer and use it in GitHub Desktop.
Fix GCP error "NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver."
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
| sudo apt-get purge nvidia-* | |
| sudo apt-get update | |
| sudo apt-get autoremove | |
| # then stop and start the VM again | |
| curl https://raw.githubusercontent.com/GoogleCloudPlatform/compute-gpu-installation/main/linux/install_gpu_driver.py --output install_gpu_driver.py | |
| sudo python3 install_gpu_driver.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment