[Bugfix] Pick a KV block size supported by every attention backend (#49845)

Signed-off-by: Divy <divy@coralbricks.ai>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Divy
2026-09-23 16:36:35 -04:00
committed by GitHub
co-authored by Claude Opus 5
parent 34b069080d
commit e26547adfb
3 changed files with 132 additions and 21 deletions
+3 -3
View File
@@ -498,11 +498,11 @@ class CpuPlatform(Platform):
return
# reconcile attention and mamba page sizes
backend_cls = cls._find_non_ssm_backend(vllm_config)
if backend_cls is None:
backend_classes = cls._find_non_ssm_backends(vllm_config)
if not backend_classes:
return
cls._align_hybrid_block_size(vllm_config, backend_cls)
cls._align_hybrid_block_size(vllm_config, backend_classes[0])
@classmethod
def discover_numa_topology(cls) -> list[list[int]]: