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 deprecation warning to all nnx.State methods #4561

Merged
merged 2 commits into from
Feb 22, 2025

Conversation

IvyZX
Copy link
Collaborator

@IvyZX IvyZX commented Feb 21, 2025

We'd like to clean up nnx.State and use built-in Python dict, as proposed by #4418.

In concern of active users, set a deprecation warning and let it fire for 3 months before we actually deprecate it.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@IvyZX
Copy link
Collaborator Author

IvyZX commented Feb 21, 2025

Stealing a lot of usage fixes from #4418 to patch here

@copybara-service copybara-service bot merged commit dd6e595 into google:main Feb 22, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants