Repository navigation
[llm] Upgrade vLLM to 0.32.0 - #67197
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Jeffrey Wang <[email protected]>
There was a problem hiding this comment.
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.
| assert request.kv_transfer_params is None | ||
|
|
||
|
|
||
| def test_empty_payload_falls_back(): |
There was a problem hiding this comment.
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.
Signed-off-by: Jeffrey Wang <[email protected]>
|
|
||
| +def _coerce_eos_token_ids(eos_token_id: Any) -> list[int]: |
There was a problem hiding this comment.
This is a rebase, with no intended behavior change
|
The only two release tests failures are resulted from insufficient capacity: |
…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]>
…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]>
Description
Related issues
Additional information