执行nvidia-smi出错

执行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;

看了网上说需要降低Linux内核版本,但是试了没用,最后通过改TensorFlow和cuda的版本才把问题解决,然后得出个结论,对于TensorFlow这种多路配合配能用的东西,一定要注意版本间的对应关系,以前不注意这个问题,总喜欢用最新版本的东西,后来栽在这里,浪费了很多时间,果然合适才是最重要的!

我用的版本cuda版本是9.0,cudnn版本自然与之对应,TensorFlow版本是1.8,之后没有出现这样的问题,正常运行

猜你喜欢

转载自www.cnblogs.com/youpeng/p/10887386.html