Introducing vLLM-GR: efficient inference for generative recommendation. 🎉
@vllm_project55K followers
28,831 views
17 Comments
Comments from the original post on X (Twitter)

@vllm_project
Wide beams, lower tail latency. At beam width 256 and 1,024 input tokens, vLLM-GR recorded the lowest P99 among the backends shown at batch sizes 4 and 8 on all six accelerators. H20, batch 8: 369.4 ms vs. 1,280.1 ms for SGLang and 428.1 ms for NVIDIA SID-GR. These are separate benchmark runs; timing, sample counts and backend settings vary. Full methodology is in the blog.
9 likes

@vllm_project
Beam width 128 shows how the tradeoffs change with hardware and batch size. On A5, vLLM-GR recorded the lowest P99 among the backends shown at all three batch sizes. At batch 8: 128.2 ms. On A100 at batch 8, NVIDIA SID-GR was lower: 199.0 ms vs. 209.7 ms for vLLM-GR. 1,024 input tokens. On Ascend, vLLM-GR and xLLM used catalog constraints; SGLang’s constraint setting was not recorded. See the blog for per-run methodology.
6 likes

@vllm_project
One request, many candidate paths. vLLM-GR adds a beam session to the vLLM engine, reusing its scheduler, model execution and paged KV cache. Python, HTTP and gRPC entry points return candidate sequences and scores. Runs on @NVIDIA GPUs and @Huawei Ascend NPUs.

@vllm_project
Reuse the history. Prepare the next step. Beams share prompt KV, while each path keeps its suffix state. The host prepares the next decode stage while the device executes the current one, reducing duplicate work and waits between stages. The 2 → 3 → 2 paths shown are illustrative.
2 likes

@vllm_project
Try OneRec-1.7B with vLLM-GR 0.30.0, built on vLLM 0.30.0. Blog + installation and serving examples: Code: Thanks to InferMatrix, @Inferact, openPangu, TikTok-Global E-commerce, ByteDance’s Data-Arch-China Commerce and Advertising-ML Infra, and LingQuAI for their contributions and production feedback!
8 likes

@RecsysFrontier
Congrats on the launch! We're adopting vLLM-GR for OneTrans generative retrieval (GR), and look forward to continuing our deep collaboration with the vLLM team.
3 likes

@OLeisgen
Accelerator side beam search + catalog constraints with shared KV caching across the user history prefix is huge for practical throughput. Constrained decoding overhead and duplicate prefix KV were basically the two main blockers keeping generative retrieval out of real-time serving stacks.
1 like

@NathenFernandes
beam search on the accelerator is the part i'd test first 👀
1 like

@adriablancafort
Very cool!

@AIFlow_ML
H20 batch 8: 369 ms vs 1,280 for SGLang.

@chen_linzh96875
fantastic!

@GarryLing1
Interesting benchmark nuance in the post: at beam width W=256 on RTX PRO 6000, vLLM-GR & SID-GR run candidate pool K=W while SGLang Beam uses 2W, and SID-GR still edges out BS=1 (28.25 vs 29.21 ms) before vLLM-GR's async PDD host-prep pulls ahead at BS=4/8.

@Xandar2610
@bot what is this for and. Who

@utsxvrai
beams sharing the prompt KV is such a clean memory win

@kmeanskaran
Cool but can you share with me about vllm for Mac? Facing difficulties to run.

@Fonsi_AI123
Does catalog masking handle live inventory updates without rebuilding the trie?

@JohnSmithub01r
@grok 基座模型是啥 为啥能做推荐