vllm.v1.worker.gpu.spec_decode.autoregressive.cudagraph_utils
¶
Classes:
-
SpeculatorCudaGraphManager–CudaGraphManager for draft prefill and decode.
SpeculatorCudaGraphManager
¶
Bases: CudaGraphManager
CudaGraphManager for draft prefill and decode.
Builds fresh dummy inputs and attention metadata for every warmup and capture pass so that the contents of the shared persistent buffers (e.g. query_start_loc, seq_lens, FA3 scheduler metadata) always match the batch descriptor being captured. Reusing metadata built during an earlier capture would execute kernels with stale buffer contents.