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

Move all NNX content up a level to be equal with Linen, to make python packaging more consistent. #121

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Sep 6, 2024

Move all NNX content up a level to be equal with Linen, to make python packaging more consistent.

This will simplify imports for all NNX users - no more flax.nnx.nnx paths.

Also renamed state.py to statelib.py so that nnx.state() function keep working.

@copybara-service copybara-service bot force-pushed the test_671520869 branch 8 times, most recently from 209f3f1 to 0e2914f Compare September 6, 2024 21:31
…n packaging more consistent.

This will simplify imports for all NNX users - no more `flax.nnx.nnx` paths.

Also renamed `state.py` to `statelib.py` so that `nnx.state()` function keep working.

PiperOrigin-RevId: 671895570
@copybara-service copybara-service bot merged commit c39cb12 into main Sep 6, 2024
1 check was pending
@copybara-service copybara-service bot deleted the test_671520869 branch September 6, 2024 21:41
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