Repository navigation
build: bump vllm to 0.29.0 and related CVE-flagged deps - #3734
Merged
Merged
Conversation
- 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]>
Contributor
Author
|
/ok to test 368f490 |
chtruong814
approved these changes
Sep 28, 2026
ananthsub
approved these changes
Sep 28, 2026
Contributor
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/36481161023 |
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
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.
What does this PR do?
Bumps vllm and several dependencies flagged by the vuln/license scan to their recommended versions:
<25cap)Validation
ruff check ./ruff format --check .: passpytest 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 resultsChecklist