vLLM introduces vLLM-GR, an open-source framework that serves generative recommendation models with one request per beam searchvLLM, 생성형 추천 모델용 오픈소스 프레임워크 vLLM-GR 공개 — 빔 탐색 전체를 요청 하나로
vLLM has introduced vLLM-GR 0.30.0, an open-source inference and serving framework for generative recommendation models. It handles a complete beam search in one request and returns candidate item IDs with scores, and the search can be restricted to IDs in the item catalog. OneRec-1.7B is the only model its README lists as supported, and it is installed from source on NVIDIA GPUs or Ascend NPUs.vLLM이 생성형 추천 모델을 돌리고 서빙하는 오픈소스 프레임워크 vLLM-GR 0.30.0을 공개했습니다. 빔 탐색 전체를 요청 하나로 처리해 후보 항목 ID와 점수를 돌려주며, 탐색을 카탈로그에 있는 ID로 제한할 수 있습니다. README에 적힌 지원 모델은 OneRec-1.7B 하나이고, NVIDIA GPU나 Ascend NPU에 소스로 설치합니다.
- Source published원문 게시일
- Checked확인일
vLLM has introduced vLLM-GR, an open-source inference and serving framework for generative recommendation models. Version 0.30.0 is built on vLLM 0.30.0 and handles models such as OneRec, which, in a video feed, take a viewer’s history and generate a semantic ID (SID) for a video the viewer might watch next. OneRec-1.7B is the only model its README lists as supported, and the framework is installed from source on NVIDIA GPUs or Ascend NPUs under the Apache License 2.0.vLLM은 생성형 추천 모델을 돌리고 서빙하는 오픈소스 프레임워크 vLLM-GR을 공개했습니다. vLLM 0.30.0 위에 만든 0.30.0 버전으로, 영상 피드라면 시청자의 이력을 보고 다음에 볼 만한 영상의 시맨틱 ID(SID)를 만드는 OneRec 같은 모델을 다룹니다. README에 지원 모델로 적힌 것은 OneRec-1.7B 하나이고, NVIDIA GPU나 Ascend NPU에 소스로 설치하며 라이선스는 Apache License 2.0입니다.
vLLM was originally built to serve large language models that generate text autoregressively, and vLLM-GR is an independent extension that takes that foundation to recommendation. It takes a history of interactions such as views and clicks and returns candidate item IDs ordered by sequence likelihood. The vLLM-GR team says a recommendation service has to turn a long history into a set of candidates within a single request’s latency budget: each item ID may take only a few tokens, yet the engine must explore many paths and return items the application can serve.vLLM은 본래 글을 차례로 만들어 내는 대형 언어 모델을 서빙하려고 만들어졌고, vLLM-GR은 그 토대를 추천으로 넓힌 독립 확장입니다. 조회와 클릭 같은 상호작용 이력을 받아 후보 항목 ID를 시퀀스 확률 순서로 내놓습니다. vLLM-GR 팀은 추천 서비스가 긴 이력을 요청 하나의 지연 예산 안에서 후보 묶음으로 바꿔야 한다고 설명합니다. 항목 ID 하나는 토큰 몇 개로 만들 수 있지만, 엔진은 여러 경로를 살펴 애플리케이션이 내보낼 수 있는 항목을 돌려줘야 합니다.
A complete beam search goes in as one request, through the offline Python interface, OpenAI-compatible HTTP or gRPC, and the engine drives prefill and every decode step and returns candidate sequences and scores in one response. Candidate paths share the cached history, and while the accelerator executes one stage, the host prepares the next. Applying catalog constraints and choosing the highest-scoring continuations also happen on the device, which avoids a host round trip for each decision.빔 탐색 전체를 요청 하나로 보냅니다. 오프라인 Python 인터페이스나 OpenAI 호환 HTTP, gRPC로 넣으면 엔진이 프리필과 모든 디코드 단계를 돌리고 후보 시퀀스와 점수를 응답 하나에 담아 돌려줍니다. 후보 경로들은 캐시해 둔 이력을 함께 쓰고, 가속기가 한 단계를 실행하는 동안 호스트는 다음 단계를 준비합니다. 카탈로그 제약을 적용하고 점수가 가장 높은 후보를 고르는 일도 장치 안에서 해, 판단마다 호스트를 오가지 않습니다.
![Diagram from the vLLM blog titled One Request, Multiple Candidates. A request with beam widths [2, 3, 2] is submitted once. Prefill keeps A1 and A4, decode 1 keeps A1 · B2, A1 · B5 and A4 · B1 while A1 · B1 is filtered by the catalog, and decode 2 ends in two candidate SIDs, A1 · B2 · C1 and A4 · B1 · C3, returned once with example scores.](../../media/sns/a26e22a40ef2af00-vllm-gr-catalog-beam-search.png)
The search can cover the full vocabulary or be restricted to IDs in the item catalog, and catalog constraints guide it toward IDs that map to real items. Per-stage beam widths and per-parent candidate limits let a service explore more partial IDs than it ultimately returns. Model weights and catalogs are replaced independently: weight updates pause and drain instances, and replacing a catalog online requires asynchronous beam execution on CUDA.탐색 범위는 어휘 전체로 두거나 항목 카탈로그에 있는 ID로 제한할 수 있고, 카탈로그 제약은 실제 항목에 이어지는 ID 쪽으로 탐색을 이끕니다. 단계마다 빔 폭을, 부모 경로마다 후보 수를 정할 수 있어 마지막에 돌려줄 수보다 많은 중간 ID를 살펴볼 수 있습니다. 모델 가중치와 카탈로그는 따로 바꿉니다. 가중치를 바꿀 때는 인스턴스를 멈춰 비우고, 돌고 있는 서버에서 카탈로그를 바꾸려면 CUDA의 비동기 빔 실행이 필요합니다.
On CUDA it needs Python 3.11 to 3.13, pip 23 or later and CUDA 13.0, with 32 GB or more of RAM recommended. The CUDA package pins vLLM to 0.30.0, and setup is installing a checkout of the repository with pip, applying the GR command-line patch to that vLLM and checking the environment with vllm check-env --gr; Ascend NPUs have their own guide. The quickstart downloads OneRec-1.7B and runs it offline or serves it over HTTP, and the offline example returns 128 candidates. gRPC serving is experimental.CUDA에서는 Python 3.11~3.13, pip 23 이상, CUDA 13.0이 필요하고 RAM은 32 GB 이상을 권장합니다. CUDA 패키지는 vLLM을 0.30.0으로 고정하며, 저장소를 받아 pip로 설치한 뒤 그 vLLM에 GR 명령줄 패치를 적용하고 vllm check-env --gr로 환경을 확인합니다. Ascend NPU는 설치 안내가 따로 있습니다. 빠른 시작은 OneRec-1.7B를 받아 오프라인으로 돌리거나 HTTP로 띄우는 길이고, 오프라인 예제는 후보 128개를 돌려줍니다. gRPC 서빙은 실험 단계입니다.
The release notes say v0.30.0 is a source-only release with no prebuilt wheels attached; GPU L3 passed, wheel verification did not pass, and NPU and L4 validation did not run. The latency figures are the vLLM-GR team’s own: on an H20 at 1,024 input tokens, beam width 256 and batch size 8, P99 was 369.4 ms for vLLM-GR, 428.1 ms for NVIDIA SID-GR and 1,280.1 ms for SGLang. At the same beam width and batch size 1 on RTX PRO 6000, NVIDIA SID-GR reported 28.25 ms against 29.21 ms for vLLM-GR, and at beam width 128 the lowest-latency backend varies by accelerator and batch size. The team notes that its figures summarize separate runs with different timing definitions, sample counts and backend settings. Ranking a supplied candidate set is planned.릴리스 노트에 따르면 v0.30.0은 소스만 올린 릴리스라 미리 만든 wheel이 없고, GPU L3는 통과했지만 wheel 검증은 통과하지 못했으며 NPU와 L4 검증은 돌리지 않았습니다. 지연 시간은 vLLM-GR 팀이 낸 값으로, 입력 1,024토큰에 빔 폭 256, 배치 8인 H20에서 P99가 vLLM-GR 369.4 ms, NVIDIA SID-GR 428.1 ms, SGLang 1,280.1 ms입니다. 같은 빔 폭에 배치 1인 RTX PRO 6000에서는 NVIDIA SID-GR이 28.25 ms로 vLLM-GR의 29.21 ms보다 짧고, 빔 폭 128에서는 가장 짧은 백엔드가 가속기와 배치에 따라 다릅니다. 팀은 도표가 시간 정의와 표본 수, 백엔드 설정이 다른 실행을 모은 것이라고 적었습니다. 주어진 후보에 순위를 매기는 기능은 계획에 있습니다.
HREN


