运行命令 nvidia-smi之后,出现:
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
连设备都找不到,/dev/nvidia*是空的,lsmod | grep nvidia是空的。
解决方案就是重装驱动,运行一下NVIDIA驱动的安装程序,
NVIDIA-Linux-x86_64-418.56.run
然后就好了