ubuntu: NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver.
centos: NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver.

重启服务器之后就出现连接不上NVIDIA驱动的情况。

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

解决方法:
查看之前安装 nvidia 驱动的版本号

ls /usr/src | grep nvidia

输出
在这里插入图片描述

sudo apt install dkms
sudo dkms install -m nvidia -v 460.73.01

哈哈哈,熟悉的界面回来了
在这里插入图片描述

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐