-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
[Platform] Add output for Attention Backend #11981
Conversation
👋 Hi! Thank you for contributing to the vLLM project. Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can do one of these:
🚀 |
c71a247
to
443e427
Compare
Signed-off-by: wangxiyuan <[email protected]>
443e427
to
9048744
Compare
@@ -87,6 +87,8 @@ def __post_init__(self): | |||
|
|||
class BlocksparseFlashAttentionBackend(AttentionBackend): | |||
|
|||
use_output: bool = True |
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.
is it true?
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.
Base on previous logic, it's true to keep the same as before. See L95.
While it should be False indeed after reading your PR #10822
Signed-off-by: wangxiyuan <[email protected]>
9048744
to
a50f429
Compare
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.
LGTM, thanks for the fix!
Signed-off-by: wangxiyuan <[email protected]> Signed-off-by: ice-tong <[email protected]>
Signed-off-by: wangxiyuan <[email protected]>
Signed-off-by: wangxiyuan <[email protected]>
Signed-off-by: wangxiyuan <[email protected]>
Part for #11162
This PR make
use_output
check to attention backend. So that each backend can decide its own way.