-
Notifications
You must be signed in to change notification settings - Fork 88
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
Problems with jax #98
Comments
Yes, same for me @WilliamLi0623. cc @PetarV- |
it still doesnt work |
log dump
|
Sorry that the package sometimes doesn't work on GPU out-of-the-box. You need to make sure that JAX is installed in cuda-compatible version. Maybe try the following steps:
If the jax[cuda] install is successful, you should be able to run
in a python interpreter and see your GPU listed among the devices. The JAX installation guide has good pointers to potential problems with the JAX installation on GPU. One thing to keep in mind is that JAX expects the CUDA installation to be at
|
Good Afternoon, I am still experiencing issues, when I run Thanks, I am running Python3.9 with JAX:
|
According to this, jax/jaxlib >= 0.4.3 seems to be incompatible with CuDNN 8.6. It would seem you have to use jax/jaxlib 0.4.2 or CuDNN 8.8, give it a try. |
Good Evening, Thank you for the help, that seems to have got the benchmark code started with GPU support but I am now seeing this error: Thanks,
|
@hbq1 @bibarzgoogle Thank you for your help, it is now working. |
I installed the required libraries by pip install -r requirement.txt. The CUDA works well and the GPU can be found by tensorflow. However, when I try to run the code, an error occurs.
"Unable to initialize backend 'cuda'": module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
I searched on the web and found it might be caused by the version of the libraries.
Could you please share the versions of those packages you used with me? Thank you very much.
The text was updated successfully, but these errors were encountered: