-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
[Kernel] Pipe attn_logits_soft_cap through paged attention TPU kernels #12482
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:
🚀 |
Signed-off-by: Fenghui Zhang <[email protected]>
30a6814
to
ef40b6f
Compare
cc @vanbasten23 |
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.
@fenghuizhang thanks for doing this! LGTM
context_lens, | ||
block_tables, | ||
pages_per_compute_block, | ||
megacore_mode=megacore_mode, |
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.
megacore_mode is checked internally for None?
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.
Yep, we fixed it on the ptxla side. No workaround needed here.
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.
cool
vllm-project#12482) Signed-off-by: Fenghui Zhang <[email protected]>
Pipe attn_logits_soft_cap through paged_attention, this will unblock some of our models' adoption.
Note that the changed code currently doesn't have unit tests. I will add one later.
This is the same as #12294. We created a new PR as I messed up the sign off and previous commit chain.
Thanks,