有N卡但是nvidia-smi命令不显示信息出现NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver


问题描述:使用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

1 cd /usr/src/
2 
3 ls

然后查看nvidia-xxx,xxx为版本号,记下

1 sudo apt-get install dkms
2 
3 sudo dkms install -m nvidia -v xxx(你的nVidia版本号)

然后就可以用nvidia-smi命令查看信息啦


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM