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

Replace jax.tree API with jax.tree_util for backwards compatibility #143

Merged
merged 1 commit into from
Mar 13, 2024
Merged

Conversation

mdmould
Copy link
Contributor

@mdmould mdmould commented Mar 13, 2024

This replaces two instances of the new jax.tree API with the equivalent jax.tree_util functions. The former is only available since jax==0.4.25, so the other option would be to include >=0.4.25 in the dependencies.

Copy link
Owner

@danielward27 danielward27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@danielward27 danielward27 merged commit deb0ec3 into danielward27:main Mar 13, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants