赞
踩
跑训练的时候,提示cuda不存在,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 显卡驱动了,nvidia-smi报错,避免重装驱动的繁琐,找到以下解决方案:
先查看自己之前安装的驱动版本
- ls /usr/src | grep nvidia
-
- nvidia-418-418.39
我的驱动版本是nvidia-418-418.39,在终端输入命令:
- sudo apt install dkms
- sudo dkms install -m nvidia -v 418.39
解决!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。