参考排错方法

针对Linux虚机,当执行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.

那么可以执行如下命令:

$ sudo nvidia-bug-report.sh

然后在执行命令所在的路径查看日志文件,如在/tmp路径下执行的命令,那么查看日志文件:

$ less /tmp/nvidia-bug-report.log.gz

从文件中可以查看到部分报错信息。

本文档内容整理自移动云官方帮助中心(查看原文),仅供参考。