-
Notifications
You must be signed in to change notification settings - Fork 27.8k
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
[jax] absl issues #14907
Comments
So this is one of the triggers:
and it is looking for TPUs:
|
The solution is to install
not sure how we could help users with this as our auto-dependencies installer can't automatically know if cuda version is needed or not. It's still looking for TPUs though:
but at least it finds the GPU now |
Posted solution at the top of the OP, plus #14909 got merged so closing this one. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
update:
So the problem was that
jax
wasn't detecting a GPU when there was one.The solution is to install
jax
correctly for cuda and it is:more details: #14907 (comment)
will auto-close this issue when #14909 is merged.
Original:
The issue comes from
absl-py
package. Don't know anything about it.Could we please fix it, as this is a JAX issue which impacts everybody and not only JAX users?
The only way I found to turn it off is by explicitly disabling
USE_JAX=0
I tried upgrading the libs
but the issue is still there, probably did come in the recent libraries:
This seems to be related: #12434 but it was never resolved.
The
transformers
was set up to carefully not load any of torch/tf/jax until one of them is actually used. But it doesn't seem to work here.Thank you.
@patil-suraj
The text was updated successfully, but these errors were encountered: