← AUTOMATER NEWSROOM

vLLM benchmarks GPU suffix decoding and finds the default can hurt throughput

vLLM 0.34.0 drafts tokens from earlier text on the GPU without a separate model. Its released-wheel benchmarks show how adaptive verification changes throughput under load.

Bar chart of online serving throughput at 64 concurrent requests. Default GPU suffix decoding reaches 0.65 times its no-speculation baseline, and adaptive verification reaches 1.22 times its baseline.Bar chart of online serving throughput at 64 concurrent requests. Default GPU suffix decoding reaches 0.65 times its no-speculation baseline, and adaptive verification reaches 1.22 times its baseline.
vLLM’s released-wheel online benchmark at 64 concurrent requests with Qwen2.5-7B-Instruct on one NVIDIA L4. Each bar uses the no-speculation baseline for its attention backend. The adaptive run used TRITON_ATTN. Data from vLLM’s November 30 engineering report.

vLLM’s November 30 engineering report shows why serving teams should benchmark two configurations when they try GPU suffix decoding. The implementation shipped in vLLM 0.34.0 and lets Model Runner V2 propose tokens from earlier text while keeping asynchronous scheduling enabled. In the project’s online test with 64 concurrent requests, the default suffix configuration delivered 65% of baseline output throughput. With adaptive verification enabled, throughput reached 122% of its baseline. Both ratios use no-speculation baselines matched to the corresponding release and attention backend. vLLM’s released-wheel benchmark

vLLM Blog article heading on GPU suffix decoding in Model Runner V2.
The vLLM Blog introduces GPU suffix decoding for Model Runner V2. · Original source

Where the speedup comes from

Suffix decoding looks at the tokens a model has just generated, searches for an earlier occurrence of that sequence and proposes the continuation that followed it. The target model checks those proposals in a forward pass. The earlier vLLM implementation called Arctic Inference’s CPU suffix tree at each decode step, which required the latest sampled tokens on the host and disabled asynchronous scheduling. The GPU implementation keeps the proposal step on the device and drops the Arctic Inference dependency. The implementation pull request merged on November 3, weeks before the report on the released wheels. vLLM implementation pull request

The GPU drafter searches the current request’s prompt and output and a shared corpus of finished responses. By default it fills eight draft slots, repeating the last sampled token in slots without a match. Fixed-width drafts simplify scheduling, but checking weak proposals and filler takes compute. Adaptive verification learns which slots tend to be accepted and uses that estimate and the cost of verification at the current batch size to decide how far to check. It requires full CUDA graphs and an attention backend that supports replay for variable-length decode batches. vLLM suffix decoding guide

Throughput and responsiveness can move in different directions

These are vLLM’s online output throughput ratios for Qwen2.5-7B-Instruct on a single NVIDIA L4 after warm-up. The adaptive runs used TRITON_ATTN. Each point is one run. Benchmark setup and results

Concurrent requests Default suffix Suffix with adaptive verification
1 1.49× 1.45×
8 1.37× 1.44×
32 0.84× 1.35×
64 0.65× 1.22×

At one concurrent request, vLLM reports a drop in time per output token from 56 ms to 44 ms alongside an increase in median time to first token from 73 ms without speculation to 126 ms with speculation. A coding agent that generates a long patch can benefit from faster streaming after the first token. An agent making many short model calls between tool steps may feel the extra wait on each turn. Measure both timings along with end-to-end task duration to see which effect dominates. vLLM’s online serving results

What to test on a coding-agent endpoint

Start with three runs on the same vLLM 0.34.0 build, hardware, model and compatible attention backend. Compare no speculation, default suffix and suffix with adaptive verification. For an L4 trial, the project used TRITON_ATTN for adaptive verification. Test a single interactive session and the concurrency your endpoint sees during its busiest periods. Track aggregate output tokens per second alongside median and tail time to first token, and compare the wall-clock time for representative jobs. The published results use specific Qwen models and workloads, so the table gives you a reason to test the crossover on your own traffic. vLLM’s configuration and benchmark notes

For repetitive traffic, run one pass with the shared corpus enabled and another with suffix_decoding_corpus_tokens set to 0. This measures whether previous requests add value beyond the current prompt and output. In the pull request’s replay, adding the corpus raised mean tokens per step from 1.65 to 4.25 for templated JSON, while the code-edit subset moved from 5.50 to 5.45. That replay measured tokens per step, so use your serving benchmark to find out whether any acceptance gain translates into higher throughput. Replay breakdown · vLLM 0.34.0 configuration reference

The corpus is shared across requests regardless of cache_salt or LoRA adapter. Where requests must never draft from one another’s previous responses, set the corpus capacity to zero. For a seeded regression run, the suffix guide also advises turning adaptive verification off because the batch can change how many slots the model checks. If the endpoint serves tool calls, include schema-valid tool arguments in the trial’s acceptance criteria. vLLM suffix decoding guide · Verify vLLM tool calling before connecting a coding agent

Sources

  1. Suffix Decoding on the GPU: Draft-Model-Free Speculation in vLLM's Model Runner V2 | vLLM Blog
  2. [Spec Decode][MRV2] Suffix decoding speculator for Model Runner V2 by nishantrevur · Pull Request #60339 · vllm-project/vllm · GitHub
  3. Speculative Decoding - vLLM
  4. Suffix Decoding - vLLM