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

Cleanup: access tree utilities via jax.tree.* #19958

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

jakevdp
Copy link
Collaborator

@jakevdp jakevdp commented Feb 23, 2024

Going forward, we plan to encourage downstream users to use jax.tree.xxx rather than jax.tree_util.tree_xxx, so we should probably lead by example in our own code.

Done in tests/ only for now, because we don't necessarily want to depend on top-level jax submodules in jax/_src.

@jakevdp jakevdp self-assigned this Feb 23, 2024
@jakevdp jakevdp added the pull ready Ready for copybara import and testing label Feb 23, 2024
@jakevdp jakevdp changed the title Internal: access tree utilities via jax.tree.* Cleanup: access tree utilities via jax.tree.* Feb 23, 2024
@copybara-service copybara-service bot merged commit d29acba into google:main Feb 26, 2024
12 of 13 checks passed
@jakevdp jakevdp deleted the jax-tree branch February 26, 2024 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull ready Ready for copybara import and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants