mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-14 19:15:01 +08:00
[Bugfix] [B200] cutlass_mla - ensure kv_split == 1 for batch size > 1 (#25509)
Signed-off-by: Alexander Matveev <amatveev@redhat.com>
This commit is contained in:
parent
e0b24ea030
commit
1210e4d95b
@ -135,10 +135,10 @@ public:
|
|||||||
max_splits = min(16, max_splits);
|
max_splits = min(16, max_splits);
|
||||||
|
|
||||||
// TODO: This avoids a hang when the batch size larger than 1 and
|
// TODO: This avoids a hang when the batch size larger than 1 and
|
||||||
// there is more than 4 kv_splits.
|
// there is more than 1 kv_splits.
|
||||||
// Discuss with NVIDIA how this can be fixed.
|
// Discuss with NVIDIA how this can be fixed.
|
||||||
if (B > 1) {
|
if (B > 1) {
|
||||||
max_splits = min(2, max_splits);
|
max_splits = min(1, max_splits);
|
||||||
}
|
}
|
||||||
|
|
||||||
// printf(" max_splits = %d\n", max_splits);
|
// printf(" max_splits = %d\n", max_splits);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user