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

Add non_trainable #165

Merged
merged 1 commit into from
Jun 21, 2024
Merged

Add non_trainable #165

merged 1 commit into from
Jun 21, 2024

Conversation

danielward27
Copy link
Owner

A likely better way to mark parameters as non_trainable (at the array level rather than the tree level). At the tree level gives a simpler pytree definition, nicer printing etc, but the array level is more robust to avoiding missing attribute errors when e.g. manipulating pytrees.

@danielward27 danielward27 merged commit 19c7355 into main Jun 21, 2024
1 check passed
@danielward27 danielward27 deleted the non_trainable branch June 21, 2024 17:24
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.

1 participant