Skip to content

[release][llm] Cherry-pick the vLLM 0.34.0 bump (#68361) and its dependency pins (#68360) onto releases/2.61.0 - #68425

Merged
elliot-barn merged 2 commits into
releases/2.61.0from
elliot-barn/2.61.0-pick-vllm-0.34
Nov 22, 2026
Merged

elliot-barn merged 2 commits into
releases/2.61.0from
elliot-barn/2.61.0-pick-vllm-0.34

Conversation

@elliot-barn

Copy link
Copy Markdown
Collaborator

Why

Ship Ray 2.61.0 with vLLM 0.34.0 instead of 0.33.0.

What

Two commits on top of releases/2.61.0:

  1. [ci] Bump OpenTelemetry to 1.45.2 and filelock to 4.2.4+ on Python 3.12+ #68360 (merged on master as 935cc32): bumps OpenTelemetry to 1.45.2 and filelock to 4.2.4+ on Python 3.12+. vLLM 0.34.0 can't resolve without it.
  2. [llm][ci] Bump vLLM to 0.34.0 #68361 at 4cc6bf6 (by @jeffreywang88, still open against master): bumps vllm[audio] to 0.34.0, NIXL to 1.5.2, the ray-llm Dockerfile refs, and the rayllm locks, and replaces the compile-cache backport with VLLM_COMPILE_ON_ONE_RANK.

Differences from the sources:

grpcio stays at 1.75.0: #68361's locks were generated before #67491 (grpcio 1.85.0), which is not on this branch.

Testing

  • bazel run //ci/raydepsets:raydepsets -- build --all-configs --check passes ("Lock files are up to date").
  • No images built and no LLM tests run locally.

This is a draft because #68361 hasn't merged on master. If that PR changes before it merges, this pick needs to be refreshed to match.

🤖 Generated with Claude Code

jeffreywang88 and others added 2 commits November 21, 2026 02:13
…12+ (#68360)

vLLM 0.34.0 needs `opentelemetry>=1.45.1` and `filelock>=4.2.4`. Ray
pins OpenTelemetry 1.39.0 and filelock 3.29.0 in
`requirements_compiled.txt`, and the rayllm depsets are built on top of
that, so the vLLM bump can't resolve. This PR lifts both pins for all of
Ray. The vLLM bump itself is stacked on top in #68361.

- **OpenTelemetry:** bump the family pins in `test-requirements.txt` to
1.45.2 (api, sdk, proto, exporter-otlp-proto-grpc) and 0.66b2
(exporter-prometheus, semantic-conventions, instrumentation-fastapi).
- **filelock:** add a `>=4.2.4` floor on Python 3.12+ only. `aim` (tune
tests, Python < 3.12) caps filelock below 4, even in its latest release,
so 3.10/3.11 stay on 3.29.0. The same floor goes in
`base-test-requirements.txt`, which only the rayllm base depset reads.
- Regenerated `requirements_compiled.txt` (`ci/ci.sh
compile_pip_dependencies`, Python 3.11, pip-tools 7.4.1),
`requirements_compiled_py3.14.txt` (`compile_pip_dependencies_py314`),
and every depset (`raydepsets build --all-configs`). Apart from
OpenTelemetry and filelock, the only other change is
`snowflake-connector-python` 4.8 → 5.2 on Python 3.14, because 4.8 caps
filelock below 4.
- #66698 bumps OpenTelemetry to 1.40 to fix duplicate Prometheus
headers. This PR goes further to 1.45.2, so it would replace that one.

- `python/ray/tests/test_open_telemetry_metric_recorder.py`: 19 passed.
- `python/ray/serve/tests/test_serve_with_tracing.py`: passed.
- Drove `OpenTelemetryMetricRecorder` through `PrometheusMetricReader`
with a gauge, counter, sum and histogram, including one metric with two
different label sets. The scraped output parses with
`prometheus_client`, has one HELP block per metric, and is identical on
1.39.0 and 1.45.2.
- `test_metrics_agent.py` and `dashboard/.../test_reporter.py`: the
failures I saw locally come from my dev box (a Ray cluster already
running there, no dashboard frontend build, no DNS). The same 17 tests
fail the same way with the old pins, so I'm relying on CI for these.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: Jeffrey Wang <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 935cc32)
Signed-off-by: elliot-barn <[email protected]>
Applies #68361 at 4cc6bf6 (open against master when
picked; original author jeffreywang88) on top of the #68360 pick. The
files it touches are identical to that PR head, except the vLLM version
tables in the docs: 2.61.0 now ships vLLM 0.34.0, so its row says
0.34.0 instead of 0.33.0.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Signed-off-by: elliot-barn <[email protected]>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates various dependency lock files and configuration files, including updating vLLM to version 0.34.0, upgrading several OpenTelemetry packages to version 1.45.2/0.66b2, and updating other dependencies like filelock, flashinfer-python, and transformers. It also includes a change to the vLLM worker configuration to improve compile cache behavior by setting VLLM_COMPILE_ON_ONE_RANK=1. No review comments were provided for this pull request.

@jeffreywang88

jeffreywang88 commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

this PR should fix the current release test failure: https://buildkite.com/ray-project/release/builds/116042#01a1eefd-1049-4c58-81bd-77042560a054.

root cause: the backport introduced in #67316 turns on compile_on_one_rank for every torch.compile in the process, but only the model forward needs it, because that's the compiled code MX transfers between replicas. this mode also reaches DiffusionGemma's sampler which hits a torch 2.14 bug in inductor's random-number rewrite.

short-term fix: vllm's 0.34 VLLM_COMPILE_ON_ONE_RANK properly limits the mode to the model forward which is what this PR cherry-picks.

long-term fix: the proper fix should land in the torch inductor -- any device in a compile_on_one_rank graph can legitimately be a runtime current_device() node, so the fix should tell Inductor's random-op rewrite to resolve that node to a real device while building the replacement and then swap it back, keeping the compiled code GPU-agnostic. pytorch/pytorch#196152

@elliot-barn
elliot-barn merged commit 7c8ca5e into releases/2.61.0 Nov 22, 2026
5 checks passed
@elliot-barn
elliot-barn deleted the elliot-barn/2.61.0-pick-vllm-0.34 branch November 22, 2026 02:59
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.

2 participants