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

Reduce coupling #189

Merged
merged 2 commits into from
Oct 17, 2024
Merged

Reduce coupling #189

merged 2 commits into from
Oct 17, 2024

Conversation

danielward27
Copy link
Owner

Small change so that utils.py does not depend on wrappers.py.

Calls to get_ravelled_pytree_constructor will now need to explicitly pass the *args and **kwargs for partitioning parameters (usually setting is_leaf=lambda leaf: isinstance(leaf, wrappers.NonTrainable).

@danielward27 danielward27 merged commit d711b18 into main Oct 17, 2024
1 check passed
@danielward27 danielward27 deleted the reduce_coupling branch October 17, 2024 10:47
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