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

About the requirement of jax version. #84

Open
AlbertHuyb opened this issue Oct 7, 2023 · 1 comment
Open

About the requirement of jax version. #84

AlbertHuyb opened this issue Oct 7, 2023 · 1 comment
Labels
question Further information is requested

Comments

@AlbertHuyb
Copy link

I noticed that all versions of dm-pix library require jax>=0.4.16, even the 0.1.0 version. Is that necessary?

I wonder if this can be modified so that I can use dm-pix with jax==0.3.14.

@claudiofantacci
Copy link
Collaborator

Hi @AlbertHuyb, I think we expect a version >= 0.2.17 (although this might be outdated, I need to properly check it) and I think that if you pip install dm-pix you will get Jax transitively from chex, see here. This is not ideal, I understand it, but I don't think there's anything that prevent you from using the particular version that you require. You can always give it a go and see what happens 😄 Also, you probably gain much more if you install jax yourself with the optimization that suits best your need as described in here (and that's also why we don't enforce installation through pip, but we get it transitively from chex). Hope this helps! 🙏

@claudiofantacci claudiofantacci added the question Further information is requested label Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants