其他分享
首页 > 其他分享> > nvidia-smi has failed because it couldn't communicate with the nvidia driver

nvidia-smi has failed because it couldn't communicate with the nvidia driver

作者:互联网

1.在终端输入命令nvidia-smi,报错

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver.

2.查看已经安装驱动的版本信息

 ls /usr/src | grep nvidia 

会出现版本号,例如450.82

3.输入以下命令

sudo apt-get install dkms

sudo dkms install -m nvidia -v 450.82

根据自己的版本号输入,之后再输入nvidia-smi,就会出现GPU的使用状态了

标签:because,couldn,版本号,sudo,smi,nvidia,输入
来源: https://www.cnblogs.com/glam/p/14814922.html