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

changed return_weights to sow_weights for attention layer #3550

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

chiamp
Copy link
Collaborator

@chiamp chiamp commented Dec 12, 2023

Follow-up from #3529.

Changed return_weights to sow_weights for attention layer.

This standardizes the argument name between the Linen and NNX attention layers (see #3584)

@chiamp chiamp self-assigned this Dec 12, 2023
@codecov-commenter
Copy link

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (2e51a4e) 56.17% compared to head (7f10ad8) 56.17%.

Files Patch % Lines
flax/linen/attention.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3550   +/-   ##
=======================================
  Coverage   56.17%   56.17%           
=======================================
  Files         100      100           
  Lines       11890    11890           
=======================================
  Hits         6679     6679           
  Misses       5211     5211           

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

@chiamp chiamp requested a review from cgarciae December 13, 2023 07:07
@copybara-service copybara-service bot merged commit 2414d1c into google:main Dec 14, 2023
19 checks passed
@chiamp chiamp deleted the attention branch December 14, 2023 18:04
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