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驱动的情况,执行nvidia-smi,报错;重启服务器之后还是无法解决。
恢复方法:
step1: sudo yum install dkms
step2: ls /usr/src|grep nvidia (查询驱动版本号)
nvidia-410.48
step3: sudo dkms install -m nvidia -v 410.48
附:
lspci | grep -i nvidia 查询nvidia的显卡
作者:Rodney_7ca8
链接:https://www.jianshu.com/p/9584a2d9c570
经测试成功!!!