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
Error:55: Could not load dynamic library 'libcudnn.so.7 #36426
Comments
TF 2.1 supports cuda 10.1. Please roll back to cuda 10.1. |
@ymodak - I am using cuda 10.1 but no help |
It indeed worked for me, but it wasn't straight forward |
@Lip651 , |
how to roll back cuda 10.1.? |
managed to fix it, my comment is here: #20271 (comment) |
tensorflow 2.1 requires CUDA 10.1 from here, it is better to downgrade you cuda toolkit. |
Problem is: Solution :
BE CAREFULL: Check your cuda installation. I mean im using cuda-10.0
|
System information
Describe the problem
I have followed carefully the installation guide of cuDNN, and tensorflow from source, didn't get any error during the installation, but when I call
tf.test.is_gpu_available()
I get one signle error which is:Could not load dynamic library 'libcudnn.so.7'; dlerror: libcudnn.so.7: cannot open shared object file: No such file or directory
I have looked at the posts already dealing with this question, tried there answers, but nothing changes. I have tried:
export LD_LIBRARY_PATH=/usr/local/cuda/lib64/
from this postsudo sh -c "echo '/usr/local/cuda/lib64\n/usr/local/cuda/lib >> /etc/ld.so.conf.d/nvidia.conf"
sudo ldconfig
from hereexport LD_LIBRARY_PATH=/usr/local/cuda-10.2/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
from hereAfter rebooting each time, I still get the error mentioned above.
/usr/local/cuda-10.2/targets/x86_64-linux/lib
and important, also in
/usr/local/cuda-10.2/targets/x86_64-linux/lib
there is a file called:libcudnn.so.7.6.5
Please consider that I am not a very experienced Programmer.
Any help would be extremely appreciated. Thank you for your time.
Provide the exact sequence of commands / steps that you executed before running into the problem
Activating my virtual environment, in Python (I have checked that the interpreter is indeed the one in my virtualenv):
Any other info / logs
The entire error I get calling
tf.test.is_gpu_available()
isThe text was updated successfully, but these errors were encountered: