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
Win 10: Failed to load native runtime - DLL load failed #23726
Comments
TensorFlow officially supports CUDA 9.0. However it is compatible with CUDA 10.0 but not supported currently. For using TF with cuda 10, you have to build it from sources yourself. You can also take a look at installations done by another users to make it work. |
No problem, thanks. Just glancing at the steps for building from source makes me believe simply installing CUDA with version 9.0 will be a faster and easier solution, then I can just (according to this) change the path variables. Am I correct in that cudnn64_7.dll is the supported version for tensorflow? So I will not need to change that part of the installation? |
Yes you are correct, cudnn64_7.dll is the supported version for tensorflow. You can also refer the windows setup guide to update the environment variables correctly. |
Perfect, thank you :). |
Hi guys, could you help me then I installed TensorFlow on my GPU: and this is the error that I'm getting: from keras.models import Sequential File "", line 1, in File "C:\Users\MHD\Anaconda3\lib\site-packages\keras_init_.py", line 3, in File "C:\Users\MHD\Anaconda3\lib\site-packages\keras\utils_init_.py", line 6, in File "C:\Users\MHD\Anaconda3\lib\site-packages\keras\utils\conv_utils.py", line 9, in File "C:\Users\MHD\Anaconda3\lib\site-packages\keras\backend_init_.py", line 89, in File "C:\Users\MHD\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py", line 5, in File "C:\Users\MHD\Anaconda3\lib\site-packages\tensorflow_init_.py", line 24, in File "C:\Users\MHD\Anaconda3\lib\site-packages\tensorflow\python_init_.py", line 49, in File "C:\Users\MHD\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in ImportError: Traceback (most recent call last): Failed to load the native TensorFlow runtime. See https://www.tensorflow.org/install/errors for some common reasons and solutions. Include the entire stack trace |
@MohammadDabbas Please resubmit your issue using a template from here. We ask users to use the template because it reduces overall time to resolve a new issue by avoiding extra communication to get to the root of the issue. We will close this issue in lieu of the new one you will create from the template. Thank you for your cooperation. |
Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information
Describe the problem
I am unable to import tensorflow. It gives the error below.
Provide the exact sequence of commands / steps that you executed before running into the problem
Updated my GPU drivers
Installed CUDA 10.0
Downloaded the cuDNN tool
Added both CUDA and cuDNN bin to PATH
pip installed tensorflow-gpu
Tried to import
did pip uninstall tensorflow-gpu
tried pip install tensorflow-gpu==1.10.0 (same error)
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
Error Shown:
The text was updated successfully, but these errors were encountered: