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

Simplify dynamic context #2388

Merged
merged 1 commit into from
Sep 5, 2022

Conversation

cgarciae
Copy link
Collaborator

@cgarciae cgarciae commented Aug 9, 2022

What does this PR do?

_DynamicContext now inherits from threading.local, properties are converted to regular fields.

@cgarciae
Copy link
Collaborator Author

cgarciae commented Sep 1, 2022

@jheek there is an internal error on this PR.

@cgarciae cgarciae added the Priority: P2 - no schedule Best effort response and resolution. We have no plan to work on this at the moment. label Sep 1, 2022
@jheek
Copy link
Member

jheek commented Sep 2, 2022

Internally the branch is tested against the latest version of main. The issue is thrown here: https://github.com/google/flax/blob/main/flax/linen/module.py#L183 but that method is missing in your PR because it is outdated. Can you rebase and fix the issue?

@cgarciae
Copy link
Collaborator Author

cgarciae commented Sep 2, 2022

@jheek fixed the merge issue.

@cgarciae cgarciae requested a review from jheek September 2, 2022 18:01
@copybara-service copybara-service bot merged commit fdd1d6f into google:main Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: P2 - no schedule Best effort response and resolution. We have no plan to work on this at the moment. pull ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants