vllm.model_executor.models.qwen3_next_mtp
¶
Inference-only Qwen3Next MTP model.
Functions:
-
should_torch_compile_mtp_drafter–enable_iffor MTP drafters that pick their module byspec_step_idx.
should_torch_compile_mtp_drafter(vllm_config)
¶
enable_if for MTP drafters that pick their module by spec_step_idx.
The drafter is compiled once with guards dropped, so a compiled multi-module drafter would reuse the first-traced module for every step.