vllm.models.minimax_m3.nvidia.sparse_attention_flashinfer
¶
FlashInfer block-sparse attend for MiniMax M3 on SM90 and SM120/SM121.
K and V are views split from the packed-content KV cache, which flashinfer
reads in place on SM90 and, given packed-KV support
(has_flashinfer_msa_packed_kv), on SM120/SM121. Imported only when
minimax_m3_use_flashinfer_msa passes.
Classes:
-
MiniMaxM3SparseFlashInferBackend–MiniMax M3 sparse backend for the flashinfer msa_ops attend.
-
MiniMaxM3SparseFlashInferImpl–flashinfer msa_ops block-sparse attend (prefill + decode).
MiniMaxM3SparseFlashInferBackend
¶
Bases: MiniMaxM3SparseBackend
MiniMax M3 sparse backend for the flashinfer msa_ops attend.
Source code in vllm/models/minimax_m3/nvidia/sparse_attention_flashinfer.py
MiniMaxM3SparseFlashInferImpl
¶
Bases: MiniMaxM3SparseImpl
flashinfer msa_ops block-sparse attend (prefill + decode).