-
Notifications
You must be signed in to change notification settings - Fork 617
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
[feat] Added four blocksparsity layouts #320
Merged
blefaudeux
merged 8 commits into
facebookresearch:main
from
igormolybogFB:Std-blocksparsity-attention-layouts-(D36678793)
Jun 3, 2022
Merged
[feat] Added four blocksparsity layouts #320
blefaudeux
merged 8 commits into
facebookresearch:main
from
igormolybogFB:Std-blocksparsity-attention-layouts-(D36678793)
Jun 3, 2022
Commits on Jun 1, 2022
-
added four blocksparsity layouts
Four sparsity layouts from DeepSpeed are now available for blocksparse attention on xFormer: Fixed BSLongformer BigBird Variable sparsity_configs.py (https://fburl.com/code/s2n7x8gs) contains flexible objects with many parameters. The default parameters can be invoked through the quick_ functionality in attention_patterns.py (https://fburl.com/code/hya0t9e7) the produced layouts can be turned into a pattern with layout_to_pattern function (https://fburl.com/code/1qmsntyj) Detailed notes for the task: https://docs.google.com/document/d/1cBlZeccvphI-d5avLkgKwZ4ScXQM1q6igqvlyFDXdDc/edit?usp=sharing
Configuration menu - View commit details
-
Copy full SHA for 26fbdd9 - Browse repository at this point
Copy the full SHA 26fbdd9View commit details -
linting errors fixed for std-blocksparsity-attention-layouts
Configuration menu - View commit details
-
Copy full SHA for 9a5f696 - Browse repository at this point
Copy the full SHA 9a5f696View commit details -
Added copyright fixed block -> block_size removed DeepSpeed TODO
Configuration menu - View commit details
-
Copy full SHA for 7a9c9a3 - Browse repository at this point
Copy the full SHA 7a9c9a3View commit details
Commits on Jun 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1c54759 - Browse repository at this point
Copy the full SHA 1c54759View commit details -
Configuration menu - View commit details
-
Copy full SHA for b942065 - Browse repository at this point
Copy the full SHA b942065View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5e7415 - Browse repository at this point
Copy the full SHA c5e7415View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2aed52c - Browse repository at this point
Copy the full SHA 2aed52cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 878ea72 - Browse repository at this point
Copy the full SHA 878ea72View commit details
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.