Reputation: 41
So overnight I had issues with CUDA/Nvidia. If I run nvidia-smi
on my VM, I get this error NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Upvotes: 3
Views: 797
Reputation: 572
You can try the below workaround and check whether it resolves the issue or not.
This sample solution is done on Google Compute Engine having NVIDIA Tesla K80 and Ubuntu 16.04. Change might be required according to the OS.
curl -O http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
sudo dpkg -i ./cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
sudo apt-get update
sudo apt-get install cuda-8-0 cuda-drivers=384.111-1 -y
To check
nvidia-smi
Hope this helps.
Upvotes: 2