vLLM moves suffix decoding to the GPU, but verification still sets the pace
The 0.34.0 implementation works with asynchronous scheduling; the project’s tests show why operators should benchmark adaptive verification before enabling it at scale.
vLLM 0.34.0 moves suffix decoding from the CPU into its GPU-based Model Runner V2. In a Nov. 30 engineering post, the project explains why the change matters: the old implementation needed sampled tokens back on the host at every step and could not use asynchronous scheduling. The new implementation removes that synchronization from the drafting path and no longer depends on Arctic Inference.
What changed
Suffix decoding proposes several tokens and lets the target model verify them together. Instead of running a separate draft model, it looks for a continuation that followed similar text before. vLLM now checks both the active request’s own history and a GPU-resident pool of completed responses. The design is aimed at work with repeated output patterns, such as code editing and templated JSON. It still costs compute to verify proposed tokens, especially when many requests are running at once.
Where the benchmark turns
In the project’s online Qwen2.5-7B test on an NVIDIA L4, at 64 concurrent requests, vLLM 0.34.0 suffix decoding delivered 0.65× the throughput of running without speculation. With adaptive verification, which cuts back on checking lower-confidence draft positions under load, it reached 1.22× the no-speculation baseline. At a single request, the project also measured a higher median time to first token with speculation: 126 ms versus 73 ms without it. These are results from the project’s test setup, not a general speedup or a guarantee about production latency.
What serving teams should test
Compare no speculation and suffix decoding with adaptive verification on the same attention backend, using the concurrency and output mix your service sees. Track time to first token alongside throughput: the two can move in opposite directions. The project notes that adaptive verification needs a compatible backend and recommends comparing on Triton attention for earlier GPUs where its FlashAttention 2 backend lacks the necessary support.
There is also a deployment choice independent of speed. By default, the corpus spans requests regardless of cache salt or LoRA adapter. The project says the drafts do not change the output distribution, but prior requests can affect how many tokens are accepted and therefore decode speed. For deployments that require requests not to influence one another through that corpus, the project recommends setting suffix_decoding_corpus_tokens to zero. For reproducible seeded sampling, it recommends disabling both the corpus and adaptive verification.
sources
comments · 0