Error: Nvidia-Smi Has Failed Because It Couldn't Communicate with The Nvidia Driver

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. Why?

You have to enable the GPU first in the Notebook settings.

You can easily do it by clicking on Edit > Notebook settings and selecting GPU as hardware accelerator.

That should be it.

Error: NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver

Note: this answer is from 2018 and works for Ubuntu 16.04, which is very much out-of-date. Don't try this on recent Ubuntu versions.

Try

  1. Download the driver from here
  2. sudo apt-get purge nvidia* - To remove your current installations
  3. dpkg -i nvidia-diag-driver-local-repo-ubuntu1604_375.66-1_amd64.deb - installing what you downloaded earlier
  4. sudo apt-get update
  5. sudo apt-get install cuda-drivers

After this, go on and reboot your computer.
When it's up again, the nvidia-smi command should run smoothly



Related Topics



Leave a reply



Submit