No GPU found, despite installing Jax with GPU support #14404
Unanswered
jamesheald
asked this question in
Q&A
Replies: 1 comment 3 replies
-
What does |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have followed the 'pip installation: GPU (CUDA)' instructions here https://github.com/google/jax#installation but jax does not find my GPU. I implemented many potential solutions after reading numerous posts related to this issue online, to no avail. Any help regarding how I can make Jax detect my GPU would be greatly appreciated. Details of what I have installed are provided below.
I have CUDA 11.4 installed:
CUDA 11.4 is located at /usr/local/cuda-11.4. Before I import jax into python I also specify this path using
os.environ['XLA_FLAGS'] = '--xla_gpu_cuda_data_dir=/usr/local/cuda-11.4'
CuDNN version is 8.7:
I have a CUDA-compatible GPU:
I believe I have installed the appropriate jaxlib version:
NVIDIA driver is version 470.161.03:
When I open python I get the following message:
I am using Ubuntu version 20.04.3:
Beta Was this translation helpful? Give feedback.
All reactions