Skip to content

chore (local_vllm_model): bump vllm 0.17.0 -> 0.20.0 - #1674

Merged
ananthsub merged 2 commits into
NVIDIA-NeMo:mainfrom
ananthsub:ananthsub/upgrade-vllm-0.20.0
Jun 23, 2026
Merged

ananthsub merged 2 commits into
NVIDIA-NeMo:mainfrom
ananthsub:ananthsub/upgrade-vllm-0.20.0

Conversation

@ananthsub

@ananthsub ananthsub commented Jun 23, 2026 •

Copy link
Copy Markdown
Contributor

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. 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

  • local_vllm_model unit tests pass (incl. _configure_vllm_serve / arg-parser path)
  • ng_run builds the isolated per-server venv installing exactly vllm==0.20.0 and reaches "servers ready"
  • DP1/TP1 dense (Qwen3-0.6B): spinup + end-to-end chat completion
  • TP=2 + MoE (Qwen3-30B-A3B): weights sharded across both GPUs, server up, inference works
  • 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

@ananthsub ananthsub changed the title chore(local_vllm_model): bump vllm 0.17.0 -> 0.20.0 to match NeMo-RL chore(local_vllm_model): bump vllm 0.17.0 -> 0.20.0 Jun 23, 2026
@ananthsub ananthsub changed the title chore(local_vllm_model): bump vllm 0.17.0 -> 0.20.0 chore (local_vllm_model): bump vllm 0.17.0 -> 0.20.0 Jun 23, 2026
@ananthsub ananthsub linked an issue Jun 23, 2026 that may be closed by this pull request
@ananthsub ananthsub modified the milestone: v0.4.0 Jun 23, 2026
@ananthsub
ananthsub requested a review from ffrujeri June 23, 2026 14:26
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
ananthsub force-pushed the ananthsub/upgrade-vllm-0.20.0 branch from 54bf0d7 to ef1fd3a Compare June 23, 2026 16:59
@copy-pr-bot

copy-pr-bot Bot commented Jun 23, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ananthsub
ananthsub merged commit 43fc291 into NVIDIA-NeMo:main Jun 23, 2026
8 checks passed
@ananthsub
ananthsub deleted the ananthsub/upgrade-vllm-0.20.0 branch June 23, 2026 17:02
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump vLLM version to 0.20.0

2 participants