Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

google cloud vm cannot find GPU after restart

I created one google cloud vm with GPU. The GPU was working after instance created. But after restarting the vm, the GPU was gone.

I ran nvidia-smi and got 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.

Who knows how to fix it? Thanks

like image 242
Yao Dong Avatar asked Aug 14 '26 08:08

Yao Dong


1 Answers

I had the same issue using a Google Deep Learning VM with CUDA 11.3 this solved it:

sudo /opt/deeplearning/install-driver.sh

Not sure is a definitive solution but works for now.

There seems to be some issue with the kernel headers not being found, couldn't figure it out exactly.

like image 108
roho Avatar answered Aug 16 '26 11:08

roho



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!