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
Cudnn version of the problem #23715
Comments
I have exactly the same error, do you have any progress yet? @wt-huang |
amazing .... check carefully whether there is a 7.1.12 cudnn. Maybe you have only updated the cudnn.h but left the old libcudnn.so? |
I have a similar issue but with Versions:
There's definitely no 7.0.5, and I even tried to re-install everything from scratch.. so there wouldn't be any leftover 7.0.5 |
@abdel In my case I had two installations of CUDA on different drives and I was copying cuDNN files to the wrong one initially, so it kepts loading old binaries and gave me the same error until I copied to the right one, make sure you do the same |
@zubairahmed-ai Thanks for the tip. There's definitely only one CUDA in our case on a single drive, and all PATHs seem to indicate it should be using that one, even CUDA/cuDNN test samples confirm that.. yet TensorFlow seems to be getting 7.0.5 from somewhere...? |
@abdel I am having the exact same problem. |
Installing cuDNN 7.1.4 seemed to fix my problem. |
I found a fix on my system! On my Windows computer using Anaconda, I found that using conda for some package (tensorflow? although I'm successfully using a custom tensorflow package) automatically grabbed another version of cudnn as a dependency--the version that was giving me troubles. Updating through conda and pip wouldn't give me a version more recent, so I fixed it through manually updating the cudnn package. I went to my install of Anaconda3 and went here: C:\Anaconda3\pkgs\cudnn-7.1.4-cuda9.0_0\Library In here, you find a bin, include, and lib folder. Using the exact same process that was used installing cudnn with cuda, i replaced the cudnn files in these folders with the ones from the version I wanted. C:\Anaconda3\envs\ai1\Library\lib\x64 and replaced this cudnn.lib file as well. Hopefully this makes sense and it helps somebody! |
I think it was resolved. I am closing the issue. Please open new ticket if you see similar issue again. Thanks! |
add tf:1.12, CUDA 9.0, 384, cuDNN.7.1.4 |
I had a similar issue working with TF2. Turns out this was due to the fact that I was using an old conda environment that didn't have access to the same cuDNN. conda install -c anaconda cudnn saved my day |
I have exactly the same error, do you have any solution now? |
I also have this error - @jvishnuvardhan can we reopen? :( |
@mpodlasin Please open a new issue with your issue details and error trace. Thanks! |
I also had this error on Windows. On my case I had installed cupy-coda which also added de cudnn dll and the program always looked there for it. In order to fix this I just removed the cupy-coda dll from the cupy-cuda install folder (..Python36\Lib\site-packages\cupy\cuda) and then the program loaded the correct cudnn dll from CUDA_PATH. |
I solve the same problem by follow method. I add the follow values into the System environment variable. |
Downgrading to a compatible version (from 1.15 to 1.14) of TF for my CUDA version solved it for me. Compatility table : https://www.tensorflow.org/install/source#linux |
You made my day !!!
|
I was having similar issue. I had an old version of cudnn (8.0.4) somewhere in |
Loaded runtime CuDNN library: 7.1.2 but source was compiled with: 7.3.1. CuDNN library major and minor version needs to match or have higher minor version in case of CuDNN 7.0 or later version. If using a binary install, upgrade your CuDNN library. If building from sources, make sure the library loaded at runtime is compatible with the version specified during compile configuration.
cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
#define CUDNN_MAJOR 7
#define CUDNN_MINOR 4
#define CUDNN_PATCHLEVEL 1
#define CUDNN_VERSION (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)
#include "driver_types.h"
No 7.1.2 installed.
tf-nightly-gpu 1.13.0.dev20181110
tensorflow-gpu 1.12.0rc2
The text was updated successfully, but these errors were encountered: