[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:
co-authored by
Leoyzen
parent
d0d6e5f3a2
commit
ff53f32409
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user