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 sow attention weights to NNX #3548

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

chiamp
Copy link
Collaborator

@chiamp chiamp commented Dec 12, 2023

Added sow attention weights feature to NNX, after adding the same functionality to Linen in #3529.

@chiamp chiamp self-assigned this Dec 12, 2023
@chiamp chiamp requested a review from cgarciae December 12, 2023 02:43
@codecov-commenter
Copy link

codecov-commenter commented Dec 12, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (51e2cf5) 56.03% compared to head (403ab15) 56.17%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3548      +/-   ##
==========================================
+ Coverage   56.03%   56.17%   +0.13%     
==========================================
  Files         100      100              
  Lines       11867    11890      +23     
==========================================
+ Hits         6650     6679      +29     
+ Misses       5217     5211       -6     

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

Copy link
Collaborator

@cgarciae cgarciae left a comment

Choose a reason for hiding this comment

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

looks great! Just as a side comment because I know Linen uses the same name alread, sow_weights might have been a better name 😅

@copybara-service copybara-service bot merged commit 2e51a4e into google:main Dec 12, 2023
19 checks passed
@chiamp chiamp deleted the nnx_attention branch December 12, 2023 23:16
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