-
Notifications
You must be signed in to change notification settings - Fork 4.8k
[SP] add SP deny list instead of allow #7887
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
+380
−34
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
aec2c90
add SP deny list instead of allow
kashif 49e0310
hub-kernel lazy registration before validation and tests
kashif 2f8e77c
Merge branch 'master' into sp_attn_deny
kashif ce69dc0
Merge branch 'master' into sp_attn_deny
tohtana 952c3ae
Merge branch 'master' into sp_attn_deny
kashif 6e3f2cb
Merge branch 'master' into sp_attn_deny
kashif 874ec62
position_ids generation and flex_attention BlockMask
kashif 7d0a136
refactor
kashif 5868135
update comments
kashif b0e05f0
do not check for has_packed_samples
kashif 89058fc
raise error instead of warning
kashif 463cb30
cache BlockMask
kashif 5cf053d
Merge branch 'master' into sp_attn_deny
loadams e250492
Merge branch 'master' into sp_attn_deny
sfc-gh-truwase 8f53e6c
flex_attention: lazy imports to fix pickle issue and add test
kashif d4c8953
fix flex_attention BlockMask guard and add position_ids warning in fo…
kashif 12bbb9c
flex_attention test: use local tiny model, fix _compile gradient issue
kashif 4386253
don't compile create_block_mask inside forward()
kashif 3ed1ff5
assert position_ids in forward() instead of warning
kashif 6cb71e9
Merge branch 'master' into sp_attn_deny
sfc-gh-truwase b82dc59
Merge branch 'master' into sp_attn_deny
stas00 5470bed
Merge branch 'master' into sp_attn_deny
stas00 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
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.