vLLM-GR 0.30.0: vLLM's Serving Framework for Generative Recommendation
vLLM-GR is a new open-source inference and serving framework built on top of vLLM for generative recommendation models, announced on November 24, 2026 and released as vLLM-GR 0.30.0 on vLLM 0.30.0. It matters because it moves recommendation workloads — beam searches that must return a set of candidate item semantic IDs inside one request's latency budget — onto the same engine stack used for LLM serving, with catalog-constrained search, shared prompt KV across beams, and support for both NVIDIA GPUs and Ascend NPUs.
What vLLM-GR Is
vLLM-GR is an inference and serving framework for generative recommendation models, built on vLLM and hosted at github.com/vllm-project/vllm-gr. The framework targets the candidate-generation stage of a recommendation feed: given a viewer's interaction history, a model such as OneRec produces a semantic ID (SID) for an item the viewer might consume next, and the application needs a set of such candidates rather than a single prediction.
vLLM-GR extends vLLM's model execution and paged key-value (KV) cache with beam search that explores multiple candidate IDs in a single request. The framework's documentation lists OneRec-1.7B, HSTU, and OneTrans as example recommendation models, and describes outputs as candidate IDs plus ranking scores. The OneRec-1.7B walkthrough in the announcement follows the generation path from a viewer's history to 128 candidate SIDs.
vLLM-GR 0.30.0 is built on vLLM 0.30.0 and supports NVIDIA GPUs and Ascend NPUs.
Why Recommendation Serving Needs a Different Engine
Generating each item ID may take only a few tokens, but the engine must explore many paths and return items the application can actually serve. The announcement frames the problem as turning a long interaction history into a set of candidates within a single request's latency budget, and gives three reasons for a dedicated framework:
- Reuse of the vLLM stack. Teams can reuse vLLM's model execution, scheduling, and paged KV cache when moving from offline evaluation to online serving on NVIDIA GPUs and Ascend NPUs.
- Lower cost for wide candidate searches. Candidate paths share the cached user history. The engine runs successive beam-search steps in one request and selects candidates on the accelerator, reducing duplicate work and per-step coordination with the host.
- Alignment with the item catalog. Catalog constraints guide the search toward IDs that map to real items, and support for model and catalog updates lets teams refresh recommendations as models and inventory change.
Architecture: A Beam Session Inside EngineCore
vLLM-GR builds its recommendation search directly into the vLLM engine. vLLM supplies the scheduler, model execution, and paged KV cache; vLLM-GR adds a beam session that spans the whole search and tracks how candidate paths branch.
EngineCore owns each beam session from admission to completion. The scheduler dispatches prefill and decode stages to a worker. At each stage, the model runner scores the next token and beam selection records the score and parent of each surviving path. The next decode uses those parent indices to read the right KV state.
The architecture reuses vLLM components such as the HTTP entry point and model forward pass, extends EngineCore scheduling and worker execution, and adds offline and gRPC entry points, the beam session, BeamAttn, suffix KV, and both catalog-constrained and full-vocabulary beam selection.
Beam search with catalog constraints
A catalog-constrained beam search filters prefixes that cannot correspond to a real item. In the announcement's illustrative example, one request explores two, then three, then two catalog-valid paths, and a branch such as A1 . B1 is rejected because no item starts with that prefix; the response contains two completed SIDs and their scores. A full-vocabulary search skips this filter.
Prefill-decode-decode pipelining
The prefill-decode-decode (PDD) pipeline overlaps host preparation with device execution. In the described flow, the scheduler admits a BeamSearch() request and dispatches its prefill stage to the worker. Prefill scores the first SID component while the host prepares decode 1; during decode 1 the host prepares decode 2. The second decode inherits the selected parents' suffix KV and completes two SIDs.
Key Features
- Simplicity. A complete beam search can be submitted through the offline Python interface, an OpenAI-compatible HTTP endpoint, or gRPC. The engine runs the decode loop and returns candidate sequences and scores in one response.
- Flexibility. Search can run over the full vocabulary or be restricted to semantic IDs in the item catalog. Per-stage beam widths and per-parent candidate limits let a service explore more partial IDs than it ultimately returns.
- Performance. Sharing prompt KV across beams avoids copying the viewer's history for each candidate. While the accelerator executes one stage, the host prepares the next, reducing the wait between decode steps.
Performance Evaluation
The published benchmarks report P99 latency to show how beam width and batch size affect tail latency for generative recommendation. The two overview charts fix input length at 1,024 tokens and compare beam widths of 256 and 128 at batch sizes 1, 4, and 8 across four NVIDIA GPUs and two Ascend NPUs. The figures summarize separate benchmark runs with different timing definitions, sample counts, and backend settings.
Benchmark setup
On RTX PRO 6000, vLLM-GR, SGLang Beam, and NVIDIA SID-GR ran OneRec-1.7B in BF16 and generated three tokens from the same synthetic inputs with catalog constraints disabled. Each point reports whole-batch P99 over 48 timed batches after three warmups. Timing includes returning candidate IDs and scores to the host and excludes HTTP. With beam width denoted by W and candidate pool size by K, vLLM-GR and NVIDIA SID-GR used K equal to W, while SGLang Beam used its native pool of 2W candidates.
On the Ascend A2 and A5, vLLM-GR and xLLM used a catalog constraint table. The SGLang constraint setting was not recorded in the benchmark summary. Recorded L20 sample counts range from 100 to 1,000 timed batches per configuration. The available summaries do not specify exact backend revisions for these comparisons, nor warmup counts outside the RTX PRO 6000 run.
Headline latency results
At beam width 256, vLLM-GR recorded the lowest P99 among the backends shown at batch sizes 4 and 8 on all six accelerators. Selected comparisons from the announcement:
- H20, beam width 256, batch size 8: P99 was 369.4 ms for vLLM-GR, 1,280.1 ms for SGLang, and 428.1 ms for NVIDIA SID-GR.
- H20, beam width 256, batch size 4: vLLM-GR and NVIDIA SID-GR both measured about 191 ms P99.
- RTX PRO 6000, beam width 256, batch size 1: NVIDIA SID-GR reported 28.25 ms versus 29.21 ms for vLLM-GR, so NVIDIA SID-GR had the lowest P99 at batch size 1 for both overview beam widths.
- A100, batch size 8: at beam width 128, NVIDIA SID-GR measured 199.0 ms and vLLM-GR measured 209.7 ms; at beam width 256, vLLM-GR measured 274.5 ms and NVIDIA SID-GR measured 451.5 ms.
- L20, batch size 8, beam width 256: vLLM-GR measured 474.3 ms P99, followed by NVIDIA SID-GR at 790.7 ms.
- A2, beam width 256, batch size 8, catalog constraints enabled for both backends: vLLM-GR and xLLM reported 312.69 ms and 324.60 ms respectively.
- A5, batch size 8: vLLM-GR measured 128.2 ms P99 at beam width 128 and 151.7 ms at beam width 256, recording the lowest P99 among the backends shown at all three batch sizes for both overview beam widths.
At beam width 128, the lowest-latency backend varies by accelerator and batch size. On A2, some curves end before the final configuration because those runs exceeded device memory; at 8,192 input tokens and batch size 8, vLLM-GR completed the beam-width sweep through 1,024.
Future Roadmap
The stated goal is a framework that can serve both candidate generation and ranking, from long user histories to wide beam searches. The roadmap items are:
- Broader model support. Extend candidate scoring to HSTU, MTGR, and RankMixer, add native serving for OneTrans, and explore serving optimizations for recommendation models with larger total parameter counts, including mixture-of-experts (MoE) models.
- More flexible beam search. Explore value-aware candidate selection and additional output heads for semantic IDs, support deeper SID hierarchies across device types, and enable variable-length generation that can stop individual beams at EOS, release their slots and KV, and admit new requests.
- Online batching and scheduling. Explore an online scheduler that decides when to form a batch and which queued requests to include, so requests with different user history lengths can run together while queues stay bounded under overload; group batches with similar shapes so they can replay the same captured computation graph with less padding.
- Long histories and KV reuse. Optimize prefill for histories of 10,000 tokens or more, explore beam search with linear or sparse attention, and reuse KV blocks for the unchanged prefix across requests as a user's history grows.
- Distributed inference and KV caching. Explore a distributed KV cache that lets a serving instance reuse KV blocks from another device on the same node or on a different node, and evaluate model sharding and KV transfer costs in both settings.
- Closer integration with upstream vLLM. Build on vLLM's engine and platform interfaces to bring upstream improvements in scheduling and KV cache management to recommendation workloads, update vLLM-GR regularly to newer stable vLLM releases, and validate engine correctness, recommendation quality, and serving performance across supported devices.
Getting Started with vLLM-GR 0.30.0
Installation follows the guide for the target accelerator, either NVIDIA CUDA or Ascend NPU. OneRec-1.7B can be run offline or served through the HTTP serving example and the gRPC serving example for CUDA, all linked from the GitHub repository.
For teams bringing another recommendation model to vLLM-GR, the announcement asks contributors to describe how the model represents interaction history and what it predicts. For serving bottleneck reports, it asks for the model, history length, beam width, and hardware so others can reproduce the result.
Acknowledgements
The announcement credits Hongsheng Liu and Han Zhang from the InferMatrix team for first proposing that vLLM support high-performance inference for generative recommendation, and Roger Wang and Zhipeng Wang from Inferact for discussions that shaped the vLLM-GR roadmap and architecture. It also thanks contributors from Inferact, the InferMatrix Team, openPangu, TikTok-Global E-commerce, Data-Arch-China Commerce and Advertising-ML Infra, and LingQuAI for contributing to vLLM-GR and sharing feedback from large-scale production deployments.