项目场景 Failed to initialize NVML: Driver/library version mismatch
问题描述:
使用nvidia-smi的时候 报错Failed to initialize NVML: Driver/library version mismatch
原因分析:
可能非正常关机引起的
解决方案:
1.先重启电脑
sudo reboot
2.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.
3.重装 驱动
sudo ./NVIDIA-Linux-x86_64-470.82.00.run -no-x-check -no-nouveau-check
4.nvidia-smi
显示正常
显示正常