-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Problem linking jax with existing CUDA, CUDNN installations #3503
Comments
Can you try pointing the |
After doing this, the GPU is apparently found by Jax but there is still an error:
produces the error message
I think tried the suggestions from this issue thread where the same error message occurred, and I was able to get it to work. Specifically, I ran
and now Jax loads just fine! |
That doesn't help in data centers with multiple CUDA versions in non-standard locations. How can one actually add cuda path? The |
I am having trouble getting jax to recognize my existing CUDA and CUDNN installations. I installed jax using
When I try to import jax, I receive the following error message:
I am running Ubuntu 20.04, my cuda version is 10.1, and my cuda directory is
usr/lib/cuda
. The path to the file libcudnn.so.7 is in/usr/lib/cuda/lib64/libcudnn.so.7
. As suggested in the installation instructions here and in this issue, I have tried sym-linking the path Jax expects to find the cuda installation with the actual path, for example I tried both of the following:but neither worked. I also tried setting the path within my jupyter notebook session, for example by setting
but this didn't work either. Another potentially useful piece of information is the version of my CUDA driver differs from the version of my CUDA runtime. The driver version is 10.2, as confirmed by calling
nvidia-smi
, which returnsin contrast,
nvcc -V
returnsThe text was updated successfully, but these errors were encountered: