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

Rename nnx.compat to nnx.bridge #4066

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Rename nnx.compat to nnx.bridge #4066

merged 1 commit into from
Jul 10, 2024

Conversation

IvyZX
Copy link
Collaborator

@IvyZX IvyZX commented Jul 9, 2024

To avoid any future confusion of compat vs compact.

@IvyZX IvyZX requested a review from cgarciae July 9, 2024 21:42
@codecov-commenter
Copy link

codecov-commenter commented Jul 9, 2024

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (31adb00) to head (2389c39).
Report is 80 commits behind head on main.

Files Patch % Lines
flax/nnx/__init__.py 0.00% 3 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##            main   #4066    +/-   ##
======================================
  Coverage   0.00%   0.00%            
======================================
  Files        106     107     +1     
  Lines      13582   13825   +243     
======================================
- Misses     13582   13825   +243     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

from .nnx import graph as graph
from .nnx import errors as errors
from .nnx import helpers as helpers
from .nnx import compat as compat
from .nnx import bridge as bridge
compat = bridge # Make the old import name still work
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should consider just removing this to take advantage of the fact that we don't have users yet

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea - done in the final merged version.

@copybara-service copybara-service bot merged commit 359ec7f into google:main Jul 10, 2024
15 of 16 checks passed
@IvyZX IvyZX deleted the bridge branch July 10, 2024 23:45
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.

3 participants