Skip to content

vllm.v1.worker.gpu.spec_decode

Modules:

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.