-
-
Notifications
You must be signed in to change notification settings - Fork 11.6k
[Bugfix] [B200] cutlass_mla - ensure kv_split == 1 for batch size > 1 #25509
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
Conversation
Signed-off-by: Alexander Matveev <[email protected]>
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.
Code Review
This pull request addresses a critical bug that causes hangs on SM100 architectures when the batch size is greater than one. The fix involves limiting max_splits to 1 in such cases, which correctly disables the problematic reduction kernel as described. The code change is accurate, and the corresponding comment has been updated to reflect the new logic. This is a solid workaround for a significant stability issue.
…vllm-project#25509) Signed-off-by: Alexander Matveev <[email protected]>
…#25509) Signed-off-by: Alexander Matveev <[email protected]> Signed-off-by: yewentao256 <[email protected]>
…vllm-project#25509) Signed-off-by: Alexander Matveev <[email protected]> Signed-off-by: gaojc <[email protected]>
…vllm-project#25509) Signed-off-by: Alexander Matveev <[email protected]> Signed-off-by: xuebwang-amd <[email protected]>
…vllm-project#25509) Signed-off-by: Alexander Matveev <[email protected]>
…vllm-project#25509) Signed-off-by: Alexander Matveev <[email protected]>
…vllm-project#25509) Signed-off-by: Alexander Matveev <[email protected]> Signed-off-by: xuebwang-amd <[email protected]>
…vllm-project#25509) Signed-off-by: Alexander Matveev <[email protected]>
Tests showed that limiting kv_split to 2 is not enough and it needs to be limited to 1 to ensure no-hangs (1 disables the sm100 cutlass reduction kernel)