- [2026/11] vLLM community officially released vllm-project/vllm-gr in order to support generative recommendation model serving.
vLLM was originally built to serve large language models that generate text autoregressively. vLLM-GR extends that foundation to recommendation, where a model uses a person's interaction history to predict which items will interest them. vLLM-GR is an independent extension of vLLM.
- Recommendation inputs. Views, clicks and other interactions describe a user's history. A prompt can ask the model to recommend the next item.
- Model architectures. The current implementation focuses on inference for autoregressive generative recommendation models.
- Recommendation outputs. Generation returns candidate item IDs, such as semantic IDs (SIDs), ordered by sequence likelihood. Ranking a supplied candidate set is planned.
- One submission for the entire beam search. The frontend submits the request to EngineCore once. The engine drives prefill and every decode step, then returns the ranked candidates and their scores in one response.
- BeamAttn and KV cache reuse. All beams attend to the same cached prompt. The beam KV cache carries each selected parent's suffix into the next step. Across requests, vLLM's prefix cache skips prefill for matching prompt blocks.
- Asynchronous scheduling. While the device executes one step, the host can prepare and submit the next. This overlaps host preparation with device execution across prefill and decode.
- On-device beam postprocessing. Device kernels apply catalog constraints and select the highest-scoring valid continuations. The next decode step uses the selected tokens directly on the device, avoiding a host round trip for each beam decision.
- Generate candidate SIDs with full-vocabulary or catalog-constrained Beam search. Set per-step candidate and beam widths and the result count.
- Reuse the same
grconfiguration for offline Python inference, OpenAI-compatible HTTP completions, and experimental gRPC serving. - Roll out model weights and replace item catalogs independently. Weight updates pause and drain instances. Online catalog replacement requires asynchronous Beam execution on CUDA.
- Reuse vLLM's platform abstraction to support CUDA GPUs and Ascend NPUs with device-specific worker and ModelRunner optimizations, and extend support to other hardware backends.
- Generative recommendation. OneRec-1.7B generates a ranked list of candidate SIDs for a user's history.
- Installation — Install vLLM-GR from source on NVIDIA GPUs or Ascend NPUs.
- OneRec quickstart — Generate ranked recommendations with OneRec-1.7B offline or serve the model over HTTP.
- Feature compatibility — Check which beam search and serving features are supported on each platform.
We welcome and value any contributions and collaborations. Please check out Contributing to vLLM-GR for how to get involved.
Ask questions and share feedback in #sig-gr on vLLM Developer Slack,
or scan the vLLM-GR WeChat group QR code in WeChat.
If the QR code has expired, ask for a fresh one in #sig-gr.
See the security policy for reporting and deployment guidance.
Apache License 2.0, as found in the LICENSE file.
