Repository navigation
chore (local_vllm_model): bump vllm 0.17.0 -> 0.20.0 - #1674
Merged
ananthsub merged 2 commits intoJun 23, 2026
Merged
Conversation
ffrujeri
approved these changes
Jun 23, 2026
Align the local vLLM model server (and its GenRM subclass) with the vllm version NeMo-RL main pins in its [vllm] extra, so the in-process engine Gym spins up matches the one NeMo-RL trains/evaluates against. Audited every vLLM internal the actor monkeypatches/imports against the 0.17.0 -> 0.20.0 diff (create_dp_placement_groups, DPEngineCoreProc._init_data_parallel, serve_http, the api_server arg-parser helpers, v1 metrics logger, enable_return_routed_experts) — all symbols and call/return contracts still hold, so no patch rewrites were needed. Validated on 2x RTX 6000 Ada in a vllm 0.20.x container with the worktree mounted: unit tests pass, and ng_run brings the server up (installing exactly vllm==0.20.0) and serves inference on the DP1/TP1, TP=2 + MoE (Qwen3-30B-A3B), and DP=2 paths. Signed-off-by: Ananth Subramaniam <[email protected]>
Match the surrounding dependency comment style (one-line "Updated <date> with vllm==<ver>" plus license link at the pinned commit); drop the extra prose. Signed-off-by: Ananth Subramaniam <[email protected]>
ananthsub
force-pushed
the
ananthsub/upgrade-vllm-0.20.0
branch
from
June 23, 2026 16:59
54bf0d7 to
ef1fd3a
Compare
ritaneves
pushed a commit
that referenced
this pull request
Jun 25, 2026
## Summary - Bumps the pinned vLLM version in `responses_api_models/local_vllm_model` (and its GenRM subclass `responses_api_models/genrm_model`) from `0.17.0` → `0.20.0`. This matches the matching the version [NeMo-RL `main` pins in its `[vllm]` extra](https://github.com/NVIDIA-NeMo/RL/blob/main/pyproject.toml). This keeps the in-process vLLM engine Gym spins up for local eval/rollout on the same engine NeMo-RL trains and evaluates against. - Mac pin left at `0.11.0` (latest cleanly pip-installable on macOS; the local vLLM model realistically only runs on Linux GPU hosts). - Updates a stale `0.17.0`-version comment in `app.py` around the `enable_return_routed_experts` → `return_routed_experts` alias (verified the arg still exists in 0.20.0). ## Test plan Validated in a `vllm/vllm-openai:v0.20.x` container with this worktree mounted - [x] `local_vllm_model` unit tests pass (incl. `_configure_vllm_serve` / arg-parser path) - [x] `ng_run` builds the isolated per-server venv installing **exactly `vllm==0.20.0`** and reaches "servers ready" - [x] **DP1/TP1** dense (`Qwen3-0.6B`): spinup + end-to-end chat completion - [x] **TP=2 + MoE** (`Qwen3-30B-A3B`): weights sharded across both GPUs, server up, inference works - [x] **DP=2** dense (`Qwen3-0.6B`): two `EngineCoreActor` ranks (one per GPU) via the `create_dp_placement_groups` loop + per-rank `_init_data_parallel`, inference works --------- Signed-off-by: Ananth Subramaniam <[email protected]> Signed-off-by: Rita Fernandes Neves <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
responses_api_models/local_vllm_model(and its GenRM subclassresponses_api_models/genrm_model) from0.17.0→0.20.0. This matches the matching the version NeMo-RLmainpins in its[vllm]extra. This keeps the in-process vLLM engine Gym spins up for local eval/rollout on the same engine NeMo-RL trains and evaluates against.0.11.0(latest cleanly pip-installable on macOS; the local vLLM model realistically only runs on Linux GPU hosts).0.17.0-version comment inapp.pyaround theenable_return_routed_experts→return_routed_expertsalias (verified the arg still exists in 0.20.0).Test plan
Validated in a
vllm/vllm-openai:v0.20.xcontainer with this worktree mountedlocal_vllm_modelunit tests pass (incl._configure_vllm_serve/ arg-parser path)ng_runbuilds the isolated per-server venv installing exactlyvllm==0.20.0and reaches "servers ready"Qwen3-0.6B): spinup + end-to-end chat completionQwen3-30B-A3B): weights sharded across both GPUs, server up, inference worksQwen3-0.6B): twoEngineCoreActorranks (one per GPU) via thecreate_dp_placement_groupsloop + per-rank_init_data_parallel, inference works