NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver.
Make sure that the latest NVIDIA driver is installed and running.
解决linux内核升级后的nvidia驱动问题;
首先安装dkms工具:
centos:
1.yum install -y epel-release;
2.yum install -y kernel-headers kernel-devel dkms
ubuntu:
1.apt-get install dkms
使用dkms工具更新驱动:
1.查看现有驱动版本:ls /usr/src |grep nvidia
2.在新内核上安装现有驱动:dkms install -m nvidia -v 410.129