Skip to content
VECTOR WIREAI INTELLIGENCE
UTC
Home

vLLM-GR extends vLLM stack to serve generative recommendation models

Built on vLLM 0.30.0, supports Nvidia GPUs and Ascend NPUs.

The vLLM project released vLLM-GR, an open-source inference and serving framework purpose-built for generative recommendation models1. Built on vLLM 0.30.0, the system targets a class of models — such as OneRec — that generate semantic IDs (SIDs) representing items a user might engage with next, rather than producing natural-language text.

vLLM-GR reuses vLLM's model execution, scheduling, and paged key-value cache while adding beam search that explores multiple candidate IDs within a single request. The framework supports Nvidia GPUs and Ascend NPUs.

Shared history, wider beams

The core engineering bet is that candidate paths can share the cached user-interaction history, avoiding redundant copies of the viewer's context for each beam. The accelerator executes one decode stage while the host prepares the next, reducing idle time between steps. Per-stage beam widths and per-parent candidate limits let a service explore more partial IDs than it ultimately returns. Generation can run against the full vocabulary or be constrained to SIDs present in the item catalog.

Benchmark charts published alongside the release hold input length at 1,024 tokens and compare beam widths of 128 and 256 at batch sizes 1, 4, and 8 across four Nvidia GPUs and two Ascend NPUs. At beam width 256, vLLM-GR recorded the lowest P99 latency among the backends shown at batch sizes 4 and 8 on all six accelerators. At beam width 128, the lowest-latency backend varied by accelerator and batch size.

Head-to-head numbers

On an A100 at batch size 8 and beam width 256, vLLM-GR measured 274.5 ms P99 versus 451.5 ms for NVIDIA SID-GR. At beam width 128 on the same card, NVIDIA SID-GR measured 199.0 ms against vLLM-GR's 209.7 ms. On an H20 at batch size 8 and beam width 256, vLLM-GR reported 369.4 ms P99, NVIDIA SID-GR 428.1 ms, and SGLang Beam 1,280.1 ms. On an L20 at batch size 8 and beam width 256, vLLM-GR measured 474.3 ms versus NVIDIA SID-GR's 790.7 ms.

On RTX PRO 6000, vLLM-GR, SGLang Beam, and NVIDIA SID-GR ran OneRec-1.7B in BF16, generating three tokens from the same synthetic inputs with catalog constraints disabled. At batch sizes 4 and 8, vLLM-GR had the lowest P99 for both beam widths; at batch size 1, NVIDIA SID-GR led. Each RTX PRO 6000 data point reports whole-batch P99 over 48 timed batches after three warmups. The published figures summarize separate benchmark runs with different timing definitions, sample counts, and backend settings, and exact backend revisions were not specified outside the RTX PRO 6000 run.

ANALYSIS The release positions vLLM-GR as a direct alternative to NVIDIA SID-GR and SGLang Beam for serving generative recommendation workloads, with its strongest latency advantages appearing at wider beam widths and larger batch sizes — the regime most relevant to production recommendation feeds that must return large candidate sets under tight latency budgets.

The project credited 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 roadmap and architecture.

Was this useful?

The day’s vector, in your inbox.

Vector Wire Daily: one dispatch each publishing day.