Skip to content

[llm] Upgrade vLLM to 0.32.0 - #67197

Merged
elliot-barn merged 2 commits into
ray-project:masterfrom
jeffreywang88:vllm-0.32.0
Oct 23, 2026
Merged

elliot-barn merged 2 commits into
ray-project:masterfrom
jeffreywang88:vllm-0.32.0

Conversation

@jeffreywang88

Copy link
Copy Markdown
Contributor

Description

Briefly describe what this PR accomplishes and why it's needed.

Related issues

Link related issues: "Fixes #1234", "Closes #1234", or "Related to #1234".

Additional information

Optional: Add implementation details, API changes, usage examples, screenshots, etc.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeffrey Wang <[email protected]>
@jeffreywang88
jeffreywang88 requested review from a team and richardliaw as code owners October 20, 2026 17:13
@jeffreywang88 jeffreywang88 added the go add ONLY when ready to merge, run all tests label Oct 20, 2026
@jeffreywang88
jeffreywang88 requested review from a team and edoakes as code owners October 20, 2026 17:13

@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 upgrades the vLLM dependency from version 0.31.0 to 0.32.0. The upgrade includes updating various lock files, Dockerfiles, setup files, and requirements files, alongside other dependency updates such as nixl, nixl-cu13, humming-kernels, instanttensor, tokenspeed-mla, tokenspeed-triton, xgrammar, and pillow. To accommodate vLLM 0.32.0, several imports of parse_chat_messages_async and load_chat_template have been moved from vllm.entrypoints.chat_utils to vllm.renderers.chat_utils. Additionally, a safeguard has been introduced to avoid forwarding empty token lists to vLLM, which would otherwise be rejected, and corresponding unit tests and mock updates have been added. There are no review comments, so I have no feedback to provide.

@ray-gardener ray-gardener Bot added the serve Ray Serve Related Issue label Oct 20, 2026
assert request.kv_transfer_params is None


def test_empty_payload_falls_back():

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is a new test to validate the guard for a vLLM new behavior: vLLM now rejects forwarded [] with HTTP 400. Ray's guard, introduced in this PR, omits empty forwarded tokens so normal tokenization runs.

@jeffreywang88
jeffreywang88 requested a review from a team as a code owner October 22, 2026 20:40

+def _coerce_eos_token_ids(eos_token_id: Any) -> list[int]:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is a rebase, with no intended behavior change

Comment thread ci/docker/llm.build.Dockerfile Resolved
@jeffreywang88

Copy link
Copy Markdown
Contributor Author

The only two release tests failures are resulted from insufficient capacity: llm_serve_sleep_wakeup and llm_serve_rlhf. Premerge tests all passed but somehow still staying at waiting state.

@elliot-barn
elliot-barn merged commit d3b34c9 into ray-project:master Oct 23, 2026
4 of 6 checks passed
jeffreywang88 added a commit that referenced this pull request Oct 27, 2026
…7436)

## Description

#67197 bumped vLLM to 0.32.0 but did not refresh
vllm-defer-triton-validation.patch (added in #67174 against 0.31), so
`git apply` fails in the llmbuild / llmgpubuild / llmbuild (aarch64)
images:

```
    error: patch failed: vllm/config/vllm.py:743
    error: patch failed: vllm/v1/worker/gpu_worker.py:68
```

Regenerate the patch against vLLM 0.32.0. Besides line offsets, 0.32.0
dropped the ROCm block in `VllmConfig.use_v2_model_runner` that had
imported `current_platform` into scope, so the patch now imports it
locally before the `is_unspecified()` check (a context-only rebase would
`NameError` at runtime).

## Related issues
> Link related issues: "Fixes #1234", "Closes #1234", or "Related to
#1234".

## Additional information
> Optional: Add implementation details, API changes, usage examples,
screenshots, etc.

Co-authored-by: Claude Opus 5.5 <[email protected]>
justinyeh1995 pushed a commit to justinyeh1995/ray that referenced this pull request Oct 28, 2026
…y-project#67436)

## Description

ray-project#67197 bumped vLLM to 0.32.0 but did not refresh
vllm-defer-triton-validation.patch (added in ray-project#67174 against 0.31), so
`git apply` fails in the llmbuild / llmgpubuild / llmbuild (aarch64)
images:

```
    error: patch failed: vllm/config/vllm.py:743
    error: patch failed: vllm/v1/worker/gpu_worker.py:68
```

Regenerate the patch against vLLM 0.32.0. Besides line offsets, 0.32.0
dropped the ROCm block in `VllmConfig.use_v2_model_runner` that had
imported `current_platform` into scope, so the patch now imports it
locally before the `is_unspecified()` check (a context-only rebase would
`NameError` at runtime).

## Related issues
> Link related issues: "Fixes ray-project#1234", "Closes ray-project#1234", or "Related to
ray-project#1234".

## Additional information
> Optional: Add implementation details, API changes, usage examples,
screenshots, etc.

Co-authored-by: Claude Opus 5.5 <[email protected]>
@jeffreywang88
jeffreywang88 deleted the vllm-0.32.0 branch November 2, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests serve Ray Serve Related Issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ray fails to serialize self-reference objects

3 participants