vllm.model_executor.warmup.flashinfer_sparse_mla_warmup
¶
Warmup and autotune helpers for FlashInfer sparse MLA backends.
Functions:
-
autotune_hisparse_flashinfer_attention–Autotune each HiSparse FlashInfer sparse-MLA configuration.
-
deepseek_v4_sparse_mla_attention_warmup–Warm DSv4 sparse-MLA mixed prefill+decode attention.
-
flashinfer_sparse_mla_decode_autotune_warmup–Autotune generic FlashInfer sparse MLA decode when selected.
_run_flashinfer_sparse_mla_decode_autotune(worker, num_tokens, allowed_backends)
¶
Autotune FlashInfer's SM120 sparse-MLA decode path.
_run_sparse_mla_decode_autotune_v2(worker, num_tokens, log_label, dummy_run_kwargs)
¶
Run every rank's sparse warmup in the managed autotune context.
FlashInfer owns persistence; some sparse kernels use a separate calibration cache instead of managed winner entries.
autotune_hisparse_flashinfer_attention(runner)
¶
Autotune each HiSparse FlashInfer sparse-MLA configuration.
deepseek_v4_sparse_mla_attention_warmup(worker)
¶
Warm DSv4 sparse-MLA mixed prefill+decode attention.
flashinfer_sparse_mla_decode_autotune_warmup(worker)
¶
Autotune generic FlashInfer sparse MLA decode when selected.