Skip to content

build: bump vllm to 0.29.0 and related CVE-flagged deps - #3734

Merged
kajalj22 merged 1 commit into
NVIDIA-NeMo:mainfrom
kajalj22:bump-vllm-0.29.0
Sep 28, 2026
Merged

kajalj22 merged 1 commit into
NVIDIA-NeMo:mainfrom
kajalj22:bump-vllm-0.29.0

Conversation

@kajalj22

Copy link
Copy Markdown
Contributor

What does this PR do?

Bumps vllm and several dependencies flagged by the vuln/license scan to their recommended versions:

  • vllm 0.25.1 -> 0.29.0, flashinfer-python 0.6.13 -> 0.6.18 (vllm's own pin)
  • transformers >=5.15.1 -> >=5.17.0 (stirrup_agent, CVE mitigation)
  • pyarrow >=15.0.0 -> >=15.0.2 (job_bench; stays under mlflow's <25 cap)
  • mammoth >=1.8.0 -> >=1.13.0 (job_bench)
  • mlflow/mlflow-skinny >=3.16.0 -> >=3.16.1
  • anyio >=4.15.1 pinned explicitly (miniswe_sandboxed_agent; transitive via mcp)
  • uv.lock regenerated

Validation

  • ruff check . / ruff format --check .: pass
  • pytest tests/unit_tests/: pass locally aside from one pre-existing macOS-only failure (test_collects_current_process_memory, a process-introspection sandbox artifact unrelated to this change); relying on GitHub Actions CI (Linux) for authoritative build/unit-test results
  • Draft until CI is green

Checklist

  • I have read the contributing guidelines.
  • The change is focused on dependency bumps flagged by the vuln/license scan.

- vllm 0.25.1 -> 0.29.0, flashinfer-python 0.6.13 -> 0.6.18 (vllm's pin)
- transformers >=5.15.1 -> >=5.17.0 (stirrup_agent)
- pyarrow >=15.0.0 -> >=15.0.2 (job_bench; stays under mlflow's <25 cap)
- mammoth >=1.8.0 -> >=1.13.0 (job_bench)
- mlflow/mlflow-skinny >=3.16.0 -> >=3.16.1
- anyio >=4.15.1 pinned explicitly (miniswe_sandboxed_agent; transitive via mcp)
- uv.lock regenerated

Signed-off-by: Kajal Jain <[email protected]>
@copy-pr-bot

copy-pr-bot Bot commented Sep 28, 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.

@kajalj22

Copy link
Copy Markdown
Contributor Author

/ok to test 368f490

@kajalj22
kajalj22 added this pull request to the merge queue Sep 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/36481161023

Merged via the queue into NVIDIA-NeMo:main with commit 2deb246 Sep 28, 2026
44 checks passed
@kajalj22
kajalj22 deleted the bump-vllm-0.29.0 branch September 28, 2026 21:03
@anwithk anwithk linked an issue Oct 8, 2026 that may be closed by this pull request
OliviaViessmann pushed a commit to OliviaViessmann/Gym that referenced this pull request Oct 16, 2026
NVIDIA-NeMo#4659)

## What changed and why

NVIDIA-NeMo#3734 moved the root `vllm` extra to vLLM 0.29.0 and flashinfer-python
0.6.18. `local_vllm_model` and `genrm_model` still pin vLLM 0.25.1 and
flashinfer-python 0.6.13 in their `setup.py`.

This breaks consumers that build server venvs against a single vLLM
version. For example, the NeMo RL container prefetches Gym environments
with a vLLM 0.29.0 override. That override conflicts with the servers'
flashinfer pin, so dependency resolution fails and the server venv is
left empty. A later prefetch with `skip_venv_if_present` reuses the
empty venv, and startup then fails with `No module named 'ray'`. The
missing Ray module is a symptom; the cause is the version mismatch.

This PR makes the following changes:

- Bumps the Linux pins in both servers to `vllm==0.29.0` and
`flashinfer-python==0.6.18`, matching the root extra. The macOS pin
stays at vLLM 0.11.0.
- Updates the imports. vLLM 0.29 moved the OpenAI server entry points
from `vllm.entrypoints.openai.api_server` to
`vllm.entrypoints.launchers`; the old module is now a deprecated shim
that no longer exports `make_arg_parser`, `cli_env_setup` or
`run_server`. `app.py` and `local_vllm_model_actor.py` now import from
the new location and fall back to the old module for the macOS pin.
- Patches `serve_http` in the namespace of the module that defines
`run_server`. That is where vLLM looks it up.
- Keeps Gym's copied data-parallel patches
(`DPEngineCoreProc._init_data_parallel` and
`CoreEngineActorManager.create_dp_placement_groups`). Their upstream
sources are identical in vLLM 0.25.1 and 0.29.0, so the patches stay
valid.

No issue is linked: this is a direct follow-up to NVIDIA-NeMo#3734, which missed
these two servers.

## Validation

- Built both server venvs on Linux; they resolve to vLLM 0.29.0 and
flashinfer-python 0.6.18.
- Checked that every patched vLLM name resolves on 0.29.0 under `-W
error::DeprecationWarning`.
- `pytest` in `responses_api_models/local_vllm_model/tests` and
`responses_api_models/genrm_model/tests` on vLLM 0.29.0: pass.
- `pre-commit run` on the changed files: pass.

## Rollout evidence

- Ran `local_vllm_model` with `data_parallel_size=2` on two GPUs,
serving `Qwen/Qwen2.5-0.5B-Instruct` with the `hermes` tool parser
behind `example_single_tool_call`.
- Both engine actors started on Gym's placement groups, one per GPU, and
the data-parallel coordinator registered both engines.
- Collected 20 rollouts (5 tasks × 4 repeats) with `gym eval run
--no-serve`. All completed, some with tool calls followed by a final
message, at a mean reward of 0.1 (expected for a 0.5B model on this
task).
- Ran `local_vllm_model` with `tensor_parallel_size=2` on the same two
GPUs and model. Both tensor-parallel workers loaded, and 20 rollouts
completed through `gym eval run --no-serve`. This 0.5B model mostly asks
a clarifying question instead of calling the tool in both runs, and no
output contains unparsed tool-call text.
- Stopping the servers after each run shut down Ray cleanly and freed
both GPUs.

## Compatibility

- Server venvs for `local_vllm_model` and `genrm_model` now install vLLM
0.29.0 on Linux.
- Consumers that override the vLLM version to 0.29.0 no longer hit the
resolution conflict.
- Existing server venvs built on vLLM 0.25.1 keep that version until
they are rebuilt. With `skip_venv_if_present`, delete the venv to pick
up the new pin.

Signed-off-by: Ananth Subramaniam <[email protected]>

This branch was previously deployed

1 inactive deployment
public — 368f4909 Deployed Sep 28, 2026 by copy-pr-bot[bot] via release / finalize / notify #3767
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.

Support vLLM version 0.29.0

3 participants