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

Fix issue #3. #5

Merged
merged 3 commits into from
Feb 1, 2024
Merged

Fix issue #3. #5

merged 3 commits into from
Feb 1, 2024

Conversation

floringogianu
Copy link
Contributor

This addresses #3 . Checked on python 3.12 and jax 0.4.23.

@Howuhh
Copy link
Collaborator

Howuhh commented Jan 19, 2024

Hi, @floringogianu! Thank you for this! Do you think it would be better to use field from flax.struct? It seems to be just a wrapper, but it is potentially better compatible with PyTreeNode

@floringogianu
Copy link
Contributor Author

Hi, you are right, it should use flax.struct.field. I did the changes, let me know if I should squash the commits.

@Howuhh Howuhh merged commit e574386 into corl-team:main Feb 1, 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