vllm.v1.attention.backends.mla.index_group
¶
Classes:
-
HiSparseMLAIndexGroup–Sparse index group with per-layer host-backed KV caches.
-
SparseMLAIndexGroup–Layers that consume one sparse-indexer result.
-
SparseMLAIndexGroupBuilder–Assign sparse MLA layers to their index-producing layer.
HiSparseMLAIndexGroup
dataclass
¶
SparseMLAIndexGroup
dataclass
¶
Layers that consume one sparse-indexer result.
Methods:
-
convert_logical_to_physical_topk–Convert one index result once for all layers in this group.
convert_logical_to_physical_topk(layer_index, logical_topk_indices, attn_metadata, *, block_stride_rows, return_valid_counts)
¶
Convert one index result once for all layers in this group.
SparseMLAIndexGroupBuilder
¶
Assign sparse MLA layers to their index-producing layer.