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

JAX version had to be pinned to 0.4.33 #17

Open
ohahn opened this issue Oct 22, 2024 · 1 comment
Open

JAX version had to be pinned to 0.4.33 #17

ohahn opened this issue Oct 22, 2024 · 1 comment

Comments

@ohahn
Copy link
Owner

ohahn commented Oct 22, 2024

Running with the most recent version >=0.4.34 leads to errors:
TypeError: Called multiply with a float0 array. float0s do not support any operations by design because they are not compatible with non-trivial vector spaces. No implicit dtype conversion is done. You can use np.zeros_like(arr, dtype=np.float) to cast a float0 array to a regular zeros array. If you didn't expect to get a float0 you might have accidentally taken a gradient with respect to an integer argument.

Currently this fixed by fixing JAX version 0.4.33 (PR #16 ), but this needs to be fixed properly.

@Findus23
Copy link
Collaborator

The error stays the same with jax 0.4.35. I assume the fix is to upgrade diffrax and equinox to the latest versions.

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

2 participants