有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