vllm.v1.worker.gpu.spec_decode
¶
Modules:
-
acceptance_estimator– -
adaptive_verification–Adaptive verification for DSpark speculative decoding.
-
dflash– -
dflash2– -
draft_logits– -
dspark– -
eagle– -
extract_hidden_states– -
gemma4– -
ngram– -
rejection_sampler– -
speculator– -
speculator_config–Per-speculator configuration.
-
standalone_ar– -
suffix– -
target_dependent_ar– -
utils– -
v1_speculator_configs–Speculator configs that only the V1 model runner needs.
-
xpress–
Functions:
-
init_speculator–Build the speculator named by
speculative_config.speculator_config.
init_speculator(vllm_config, device, req_states)
¶
Build the speculator named by speculative_config.speculator_config.
The speculator is constructed with (vllm_config, device), plus
req_states if its constructor accepts it.