参考:https://www.zhihu.com/question/474222642/answer/3127013936
https://blog.csdn.net/ZhouDevin/article/details/128265656
nvidia-smi查看报错,nvcc正常
1)查看nvidia版本
ls /usr/src | grep nvidia
nvidia-550.78
2)安装dkms(centos)
yum install -y epel-release
sudo yum install dkms
3)安装驱动
dkms install -m nvidia -v 550.78