-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
jaxlib
installed with CUDA build fails to find GPU
#285
Comments
Since it is not the first time that there are missing libraries, what about adding the following line in the python -c "import jax; jax._src.xla_bridge._check_cuda_versions(debug=True)" I'm not sure if it returns an exit code different than 0 or the output should be filtered looking for raised exceptions. Probably this should be done in the |
That is doable, but I guess it requires adding |
See related comment https://github.com/conda-forge/jaxlib-feedstock/pull/281/files#r1795163383 . |
The jaxlib installed with cuda build also fails to find GPU after upgrading to 0.4.34 from 0.4.31, mamba install jaxlib=*=*cuda120* jax=0.4.34 cuda-nvcc -c conda-forge -c nvidia The output of
and all dependencies are installed (
|
@conda-forge/jaxlib do you perhaps have any update on this? Thanks |
Here is what I found: conda-forge/jax-feedstock#162 (comment) conda jaxlib currently misses a shared library that connects jax to xla. |
JAX documentation says
However, I guess the JAX team just uses option (2) but never tests option (1)... |
Yes, I briefly trying to investigate the issue in the past weeks, and I also got the same impression. As anyhow it does not make a lot of sense to use a method that is not aligned with upstream, we could try to just follow the new instructions, and see if that works. |
For reference, the documentation mentioned by @njzjz is https://jax.readthedocs.io/en/latest/developer.html#building-jaxlib-from-source . |
Solution to issue cannot be found in the documentation.
Issue
When using
jaxlib
0.4.32 with CUDA build,jax
fails to find a GPU:Environment created with:
and by checking the versions of the CUDA packages installed, it seems like some packages are missing:
C.C. @xela-95 @traversaro @diegoferigo
The text was updated successfully, but these errors were encountered: