Nvidia-smi stopped working

I am using Ubuntu 16 and my nvidia-smi stopped working suddenly which was working absolutely fine for months. I have tried so many commands but I am unable to install.

Can you reboot the machine? If so, what do you get from nvidia-smi after rebooting?

Yes, I reboot 2,3 times but I have the same error.

It showing following 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.

I resolved the issue with following commands and reboot

sudo apt-get purge nvidia*
sudo apt-get autoremove
sudo apt-get autoclean
sudo rm -rf /usr/local/cuda*

Thank you so much!

1 Like

Glad to hear your problem is solved.