服务器重启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.
输入
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.
且不能够实现GPU加速。
搜索
1. 通过dkms进行nvidia安装
sudo apt-get install dkms
sudo dkms install -m nvidia -v 470.94
-v 后面为版本号
通过ls /usr/src | grep nvidia
命令查看
2. 降低gcc版本
还是有问题
搜索1 解决方案,报错 Error! Bad return status for module build on kernel: 5.13.0-35-generic (x86_64)
解决
卸载原来的版本nvidia驱动,官网下载,安装新的驱动
参考