-
Notifications
You must be signed in to change notification settings - Fork 190
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.interpreters.xla.DeviceArray deprecated in jax 0.4.11 #533
Comments
Hi @tisabe, it must have been resolved in the latest versions of the optax's dependencies. |
Hi, Thanks! |
Hi @davzuliani |
Hi @tisabe, thanks for the tip. |
Okay, I tracked down where the issue actually came from. Looks like the |
Hi, I also meet the same error when I am trying to save my model. Do you know how to solve it?
JAX version: 0.4.12 error track:
|
Fixes: #533 PiperOrigin-RevId: 589585670
Fixes: #533 PiperOrigin-RevId: 589585670
Fixes: #533 PiperOrigin-RevId: 589585670
Fixes: #533 PiperOrigin-RevId: 589585670
|
Hi all,
I noticed after updating jax to the newest version (0.4.11) I get an error during import of optax:
AttributeError: module 'jax.interpreters.xla' has no attribute 'DeviceArray'
After looking into the changelog of jax, it seems
jax.interpreters.xla.DeviceArray
is now deprecated andjax.Array
should be used.Edit: Seems hard to reproduce, I installed optax in a new virtual environment where it works fine. Still not working in the old venv.
The text was updated successfully, but these errors were encountered: