vllm.models.minimax_m3.nvidia.indexer_flashinfer
¶
FlashInfer indexer impl for MiniMax M3 on SM90 and SM120/SM121.
One whole-batch msa_proxy_score call plus one msa_topk_select call, no
decode/prefill split. Each token's causal extent and trailing local window go
to the top-k kernel through the per-token num_valid_pages tensor and
force_end_blocks. Imported only when minimax_m3_use_flashinfer_msa
passes.
Classes:
-
MiniMaxM3IndexerFlashInferBackend–Indexer side-cache backend selecting the FlashInfer builder.
-
MiniMaxM3IndexerFlashInferImpl–One flashinfer proxy-score + top-k pair over the whole batch.
-
MiniMaxM3IndexerFlashInferMetadata–Whole-batch proxy/top-k inputs;
prefill/decodestayNone. -
MiniMaxM3IndexerFlashInferMetadataBuilder–Whole-batch metadata; the impl runs under the eager cudagraph break,
MiniMaxM3IndexerFlashInferBackend
¶
Bases: MiniMaxM3IndexerBackend
Indexer side-cache backend selecting the FlashInfer builder.
Source code in vllm/models/minimax_m3/nvidia/indexer_flashinfer.py
MiniMaxM3IndexerFlashInferImpl
¶
Bases: MiniMaxM3IndexerImpl
One flashinfer proxy-score + top-k pair over the whole batch.
Source code in vllm/models/minimax_m3/nvidia/indexer_flashinfer.py
MiniMaxM3IndexerFlashInferMetadata
dataclass
¶
Bases: MiniMaxM3IndexerMetadata
Whole-batch proxy/top-k inputs; prefill/decode stay None.
Source code in vllm/models/minimax_m3/nvidia/indexer_flashinfer.py
MiniMaxM3IndexerFlashInferMetadataBuilder
¶
Bases: MiniMaxM3IndexerMetadataBuilder
Whole-batch metadata; the impl runs under the eager cudagraph break, so nothing here needs a stable address.