重启服务器,出现连接不上NVIDIA驱动的情况,执行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.
恢复方法:
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的显卡