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

added nnx attention equivalence test #3687

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

chiamp
Copy link
Collaborator

@chiamp chiamp commented Feb 9, 2024

Added nnx attention equivalence test.

Also passed in user-passed dtype and param_dtype args into the layer norm layers for both NNX and Linen.

@chiamp chiamp self-assigned this Feb 9, 2024
@chiamp chiamp requested a review from cgarciae February 9, 2024 05:03
@codecov-commenter
Copy link

codecov-commenter commented Feb 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (29f5264) 56.13% compared to head (a948cb5) 58.27%.
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3687      +/-   ##
==========================================
+ Coverage   56.13%   58.27%   +2.13%     
==========================================
  Files         102      102              
  Lines       12220    12248      +28     
==========================================
+ Hits         6860     7137     +277     
+ Misses       5360     5111     -249     

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

@copybara-service copybara-service bot merged commit a566196 into google:main Feb 13, 2024
19 checks passed
@chiamp chiamp deleted the nnx_attention branch February 13, 2024 00:06
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