TensorFlow 报错 CUDA driver version is insufficient for CUDA runtime version

这个错误出现时,首先检查自己安装的tensorflow版本是否是Gpu版本的,如果是使用的Anaconda或者miniConda的话,可以使用
conda list查看安装了哪些包

TensorFlow 报错 CUDA driver version is insufficient for CUDA runtime version_第1张图片
image.png

找到tensorflow看看是不是后面加了个GPU

Loaded runtime CuDNN library: 7103 (compatibility version 7100) but source was compiled with 7005 (compatibility version 7000).
cudnn版本不对应
博客:cuda和cudnn版本对应的tensorflow-gpu版本错误说明与排查
官网配置地址

TensorFlow 报错 CUDA driver version is insufficient for CUDA runtime version_第2张图片
image.png

TensorFlow 报错 CUDA driver version is insufficient for CUDA runtime version_第3张图片
image.png
TensorFlow 报错 CUDA driver version is insufficient for CUDA runtime version_第4张图片
image.png

你可能感兴趣的:(TensorFlow 报错 CUDA driver version is insufficient for CUDA runtime version)