-
Notifications
You must be signed in to change notification settings - Fork 34k
Blockwise mask fn as opt arg in all masking functions #45477
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
Merged
zucchini-nlp
merged 31 commits into
huggingface:main
from
zucchini-nlp:split-out-gemma-style-mask
May 6, 2026
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
9368ece
works i think
zucchini-nlp 513035c
more models
zucchini-nlp 0bb610a
like this
zucchini-nlp d527a15
pi0
zucchini-nlp fe59952
Merge branch 'main' into split-out-gemma-style-mask
zucchini-nlp 1099438
Merge branch 'main' into split-out-gemma-style-mask
zucchini-nlp 6fa84ea
fix some
zucchini-nlp 19c3066
fix more
zucchini-nlp e8f06b2
.
zucchini-nlp 0e17f9a
Merge branch 'main' into split-out-gemma-style-mask
zucchini-nlp 3617c36
for now
zucchini-nlp 96ef824
assumes always prefix, unless type ids are passed
zucchini-nlp add5818
Merge remote-tracking branch 'upstream/main' into split-out-gemma-sty…
zucchini-nlp 7286713
ig it is sdpa choosing a different backend
zucchini-nlp 87b8df0
again sdpa choosing different backend in PG
zucchini-nlp 281e967
better docs
zucchini-nlp 9555c59
comments: pad and move around
zucchini-nlp ef1c767
forward in generation
zucchini-nlp 9b9706c
fix repo
zucchini-nlp c1178aa
prepare token types when sampling as well
zucchini-nlp d46668a
consume as unused kwags
zucchini-nlp c8fb8fd
mirror padding mask and add kv-offset
zucchini-nlp be84c3a
oops
zucchini-nlp 89ababc
Merge branch 'main' into split-out-gemma-style-mask
zucchini-nlp 82cf4d0
wait no
zucchini-nlp c4c5ce1
Merge branch 'main' into split-out-gemma-style-mask
zucchini-nlp 11ffad6
split to a fn and add a tiny comment
zucchini-nlp 75ffa0e
Merge branch 'main' into split-out-gemma-style-mask
zucchini-nlp e873189
Merge branch 'main' into split-out-gemma-style-mask
zucchini-nlp 40bdc43
fix for last, drop labels because we test inference!
zucchini-nlp 76e206b
Merge branch 'main' into split-out-gemma-style-mask
zucchini-nlp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.