-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Flashattention support qkvpacked and varlen #63289
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
20a4d4c
Flashattention support qkvpacked and varlen
kircle888 bec1299
fix codestyle
kircle888 3122a6f
fix codestyle
kircle888 1c96705
FlashAttention kvReduceGQA Performance Optimization
kircle888 d7b113c
Fix problem with windows
kircle888 ee084b2
code clean
kircle888 9a130e6
Merge branch 'develop_merged' of github.com:kircle888/Paddle into dev…
kircle888 35fee79
Merge branch 'develop' into develop_merged
kircle888 78e0a12
update third_party/flashattn
kircle888 be357d4
update errormsg and docs
kircle888 4fc88be
update api
kircle888 b0d9af3
update doc
kircle888 b708c0b
update doctest
kircle888 2dfbba8
update doc, test=document_fix
kircle888 4b1c567
update doc, test=document_fix
kircle888 1ddd78d
Update python/paddle/nn/functional/flash_attention.py
kircle888 7091c84
Update python/paddle/nn/functional/flash_attention.py
kircle888 0376214
update doc
kircle888 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 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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这几个output可以设置dim吗?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这部分是和原有的
FlashAttnInferMeta
一样的,这几个output的shape是在flash_attn_utils.h的FlashAttnFwdParamsV2
中Resize的,没有在这里设置dim