Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tensorflow.python.framework.errors_impl.InternalError: cudaGetDevice() failed. Status: CUDA driver version is insufficient for CUDA runtime version #5

Open
HuangCongQing opened this issue Aug 12, 2019 · 2 comments

Comments

@HuangCongQing
Copy link
Owner

image

@HuangCongQing
Copy link
Owner Author

@HuangCongQing
Copy link
Owner Author

HuangCongQing commented Aug 12, 2019

>>> import tensorflow as tf
>>> tf.__version__
'1.14.0'
>>>
  • cuda版本号查询:nvcc -V

  • 查看显卡驱动:cat /proc/driver/nvidia/version

解决方法:

(1)查看了一下自己的tensorflow(GPU版本)的版本是1.7.0,tensorflow 1.7需要CUDA 9.0+, 而我用的服务器(系统:Ubuntu)上装的是CUDA 8.0 +;

(2)解决的方法有两个,一个是降低tensorflow的版本(<tensorflow 1.4);另一个是将CUDA升级到9.0+。
tensorflow降低版本:
pip install tensorflow==1.2.0
Python37不能用此命令,python36可以
image


https://blog.csdn.net/u010513327/article/details/81124110

版权声明:本文为CSDN博主「爱上北方的冷冬」的原创文章,遵循CC 4.0 by-sa版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/Alawaka2018/article/details/80301703

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant