forked from PaddlePaddle/Paddle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support flash attention with sparse mask (PaddlePaddle#62029)
* add flash attention with sparse mask * fix doc * Update python/paddle/nn/functional/flash_attention.py * Update python/paddle/nn/functional/flash_attention.py * Update python/paddle/nn/functional/flash_attention.py * Update python/paddle/nn/functional/flash_attention.py * fix docstring --------- Co-authored-by: zachary sun <[email protected]> Co-authored-by: zachary sun <[email protected]>
- Loading branch information
1 parent
c178bda
commit e05764a
Showing
11 changed files
with
722 additions
and
116 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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.