vllm.model_executor.warmup.spec_decode_rejection_warmup ¶
Warm up spec-decode rejection-sampler Triton kernels.
The rejection sampler kernels (_compute_local_logits_stats_kernel, _rejection_kernel, _resample_kernel) are JIT-compiled by Triton on first use. Without warmup, the first spec-decode request pays a multi-second compilation cost. This pre-compiles them with dummy data matching the server's vocab size and speculative config.