[Attention][MLA] Support fp8_ds_mla KV cache for NoPE-512 models on SM90 (#59246)

Signed-off-by: NickLucche <nicolo.lucchesi@mistral.ai>
Co-authored-by: Leoyzen <leoyzen@gmail.com>
This commit is contained in:
Nicolò Lucchesi
2026-10-05 13:12:00 +00:00
committed by GitHub
co-authored by Leoyzen
parent d0d6e5f3a2
commit ff53f32409
5 changed files with 82 additions and 44 deletions
+3 -2
View File
@@ -816,8 +816,9 @@ class AttentionImplBase(ABC, Generic[T]):
is_sparse: ClassVar[bool] = False
# Whether this impl provides a dense-MHA prefill path (forward_mha). Sparse
# impls without one run the top-k MQA path for all requests.
supports_dense_mha_prefill: ClassVar[bool] = True
# impls without one run the top-k MQA path for all requests. Impls may
# override it per instance, depending on the kv-cache layout.
supports_dense_mha_prefill: bool = True
# Required attributes that all impls should have
num_heads: int