nvidia-smi指令报错:Failed to initialize NVML: Driver解决
作者:互联网
nvidia-smi指令报错:Failed to initialize NVML: Driver解决
参考
nvidia-smi指令报错:Failed to initialize NVML: Driver解决
1.查看内核版本
cat /proc/driver/nvidia/version
2.查看驱动版本
dpkg -l | grep nvidia
3.不一致,卸载驱动,安装跟内核一样版本的驱动
sudo apt-get --purge remove nvidia*
sudo apt autoremove
sudo apt-get remove --purge nvidia-\*
sudo add-apt-repository ppa:graphics-drivers
sudo apt-get update
sudo apt-cache search nvidia
查看推荐版本,并安装推荐版本
ubuntu-drivers devices
sudo apt-get install nvidia-415 nvidia-settings nvidia-prime
标签:NVML,get,sudo,Driver,apt,报错,版本,nvidia 来源: https://www.cnblogs.com/hsiangyu-meng/p/15160141.html