vLLM 0.34 Moves Suffix Decoding to GPU for 1.64x Faster AI Output
vLLM v0.34.0 moves suffix decoding onto the GPU, dropping the Arctic Inference dependency and reaching 1.19 to 1.33 times higher throughput at high concurrency.
Takeaways
- vLLM v0.34.0 ships GPU-native suffix decoding in Model Runner V2, removing the Arctic Inference CPU dependency.
- Uses hash-indexed token ring buffer with frequency voting instead of a CPU suffix tree, no host sync required.
- 1.19 to 1.33 times faster than Arctic Inference at 128 to 256 concurrent requests on the same attention backend.
- Adaptive verification learns per-slot acceptance online and trims draft length under load, essential above 32 concurrent requests.
- RL rollouts see 1.47x speedup, templated VLM reports 1.64x, multi-turn chat 1.14x over no speculation.
- Enable via speculative_config method suffix; implementation in PR #60339.
vLLM v0.34.0 moves suffix decoding entirely onto the GPU inside Model Runner V2. Speculative decoding accelerates autoregressive generation by proposing several likely tokens and asking the main model to verify them in one forward pass. The new implementation removes the auxiliary draft model, CPU-side proposal index, and mid-decode host reads.
The suffix decoding paper describes a draft-model-free method that reuses repeated token sequences. It searches for the longest earlier occurrence of the current suffix in the request’s prompt, generated output, and completed responses from previous requests. Tokens that followed those matches become candidates, with frequency voting selecting each position in the proposed continuation. Repetition makes the technique useful for agent loops, code editing, reinforcement learning rollouts, and templated JSON output.
The CPU Index Blocked V2
vLLM’s previous implementation used Snowflake’s Arctic Inference package to maintain a suffix tree on the CPU. Each decode step required the latest sampled tokens on the host, limiting suffix decoding to the V1 model runner with asynchronous scheduling disabled.
Model Runner V2 overlaps CPU scheduling with GPU execution and avoids host reads during decoding. A CPU-based proposer would stall that pipeline. Because v0.34.0 removes the V1 runner, suffix decoding needed a device-resident replacement.
GPU Hashes Replace the Tree
For each request and decode step, the system builds a fixed-width proposal of k tokens from the request’s own history and a cross-request corpus. It compares the best match from each source and uses the longer one. Triton kernels and hash tables keep the work on the GPU:
- Own-history search: A Triton kernel scans earlier tokens from the same request for the longest suffix match, up to 24 tokens deep.
- Cross-request corpus: When a request finishes, the system appends its final three prompt tokens followed by its response to a GPU ring buffer. Including prompt tokens allows the corpus to propose the beginning of a response. The
suffix_decoding_corpus_tokenssetting controls capacity, with a default of one million tokens. - Two hash indexes: Positions are indexed by the two and four tokens immediately preceding them. Each bucket keeps eight recent positions through
atomic_maxoperations. - Frequency voting: Matching continuations vote at each token position, and the highest-scoring chain becomes the proposal.
- Static shapes: Unused proposal slots are padded with the last sampled token so CUDA graph shapes remain fixed.
Tensor-parallel replicas stay synchronized without additional collectives. Every GPU rank ingests completed requests in sorted request-ID order, hash-table updates use order-independent atomic_max operations, and adaptive-verification statistics use integer counters. Given identical inputs, each rank maintains the same corpus and produces the same proposals.
Verification Shrinks Under Load
At batch size one, verifying all eight configured proposal slots can increase throughput because the target-model work is easy to amortize. As concurrency rises, rejected slots consume compute that could serve other requests. The new enable_adaptive_verification option estimates acceptance probabilities and trims the proposal tail according to the current batch cost.
The estimator learns from tokens accepted by the target model. It maintains separate statistics for the proposal source, match-length bucket, and slot position, using integer counters with Laplace smoothing. Halving the counters every 1,024 steps gives recent acceptance behavior more influence.
vLLM’s reported gains at higher concurrency depend on adaptive verification. With the option disabled, the fixed-width configuration fell behind decoding without speculation at roughly 32 concurrent requests and above.
Where the Gains Appear
vLLM compared v0.34.0 with v0.33.0, the final release that used Arctic Inference for suffix decoding. The tests ran on NVIDIA L4 GPUs with Qwen2.5-7B and Qwen2.5-1.5B models.
| Model | Concurrency | Baseline | Reported throughput gain |
|---|---|---|---|
| Qwen2.5-7B | Four tested levels from 1 to 64 requests | v0.33.0 with Arctic Inference | 1.06×, 1.13×, 1.05×, and 1.12× |
| Qwen2.5-1.5B | 1 to 64 requests | v0.33.0 with Arctic Inference | 1.15× to 1.22× |
| Qwen2.5-1.5B | 128 requests | Best Arctic result on the same Triton attention backend | 1.19× |
| Qwen2.5-1.5B | 256 requests | Best Arctic result on the same Triton attention backend | 1.33× |
The 128-request and 256-request comparisons normalize for the attention backend. Each speedup is a throughput ratio, so 1.33× represents 33% more throughput than the stated baseline.
Workload-specific tests compared the new implementation with decoding that used no speculation. Tasks with repeated prompts or rigid output structures produced the largest gains:
| Workload | Repeated pattern | Reported speedup |
|---|---|---|
| RL rollouts | Eight samples generated from each prompt | 1.47× |
| Vision-language reports | Templated JSON output | 1.64× |
| Multi-turn chat and RAG summarization | Recurring conversational or retrieved context | 1.14× to 1.16× |
Production Constraints
Production deployments need to account for backend compatibility, reproducibility, and corpus sharing:
- Attention backend: Adaptive verification replays variable-length decode batches inside CUDA graphs. FlashAttention 3 supports this behavior on Hopper GPUs. Pre-Hopper hardware requires
TRITON_ATTN. - Seeded sampling: A shared corpus makes seeded runs non-reproducible because proposals depend on earlier requests. Set
suffix_decoding_corpus_tokens: 0and disable adaptive verification when deterministic replay is required. - Tenant isolation: The corpus stores responses across requests without separating entries by
cache_saltor LoRA adapter. Target-model verification preserves the generated-token distribution, but latency can reveal when one request benefits from patterns produced by another tenant. - Completed responses only: The GPU implementation indexes a response after its request finishes. Arctic Inference also indexed in-flight output, which helped it match the new implementation on the templated vision-language workload.
Turning It On
Enabling GPU suffix decoding requires a speculative configuration entry and no additional model or package:
from vllm import LLM
llm = LLM(
model="Qwen/Qwen3-8B",
speculative_config={
"method": "suffix",
"enable_adaptive_verification": True,
},
)
The implementation is available in PR #60339, and the suffix guide documents the configuration options. Workloads with repeated token sequences are the strongest candidates, but teams should measure acceptance rates and throughput at their expected concurrency because fixed-width verification can regress under load.