Skip to content
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

AttributeError: module 'jax.interpreters.xla' has no attribute 'DeviceArray' #211

Open
amrzv opened this issue Jul 29, 2023 · 6 comments
Open

Comments

@amrzv
Copy link

amrzv commented Jul 29, 2023

Hi.
The dependencies should be changed (particularly the jax version shouldn't be the latest one 0.4.13).
Related issue in another repo.
image
Tested in colab

@bwarre471
Copy link

I can tell, this is fixed in Git repository, but this error only affects package installed trough pip.

Creators should upgrade pip package.

@bwarre471
Copy link

bwarre471 commented Aug 14, 2023

Quick cheap fix:

Edit the file dopamine/jax/networks.py @ line 351 change jax.interpreters.xla.DeviceArray to jax.Array and it'll run, or rebuild from github repo.

@psc-g
Copy link
Collaborator

psc-g commented Aug 23, 2023

apologies for the delay in response, we'll push a new version to pypi this week!

@matharg7
Copy link

@psc-g was this version pushed? this issue still exists

@psc-g
Copy link
Collaborator

psc-g commented Apr 30, 2024 via email

@psc-g
Copy link
Collaborator

psc-g commented May 2, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants