-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add handlers for new JAX pytree key types.
Adds manual handlers for jax.tree_util types SequenceKey, DictKey, GetAttrKey, and FlattenedIndexKey. These new handlers are needed because these are no longer ordinary dataclasses in JAX. Also upgrades the version of JAX used by default with uv, and adds tests to ensure the new handlers work properly.
- Loading branch information
1 parent
25f3abd
commit 7f6cb24
Showing
3 changed files
with
182 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.