[Bugfix] GLM-5.3-Flash: fp8 plan dtype on SM90 sparse MLA, and right-size the indexer prefill workspace (#55222)

Signed-off-by: Mikhail Kostryukov <mike@triptrack.net>
Signed-off-by: NickLucche <nicolo.lucchesi@mistral.ai>
Co-authored-by: Mikhail Kostryukov <drakosha81@proton.me>
Co-authored-by: NickLucche <nicolo.lucchesi@mistral.ai>
This commit is contained in:
drakosha
2026-09-29 22:36:39 +00:00
committed by GitHub
co-authored by Mikhail Kostryukov NickLucche
parent 50239dfc4d
commit c37f86e572
5 changed files with 84 additions and 19 deletions
+3 -1
View File
@@ -312,7 +312,9 @@ class Indexer(nn.Module):
self.prefix = prefix
from vllm.v1.attention.backends.mla.indexer import get_max_prefill_buffer_size
self.max_total_seq_len = get_max_prefill_buffer_size(vllm_config)
self.max_total_seq_len = (
get_max_prefill_buffer_size(vllm_config) // self.index_kpool
)
self.indexer_op = SparseAttnIndexerKpool(
self.k_cache,
self.quant_block_size,