Skip to content

[llm] Fix vllm-defer-triton-validation.patch based on vLLM 0.32.0 - #67436

Merged
jeffreywang88 merged 1 commit into
masterfrom
fix-vllm-defer-triton-patch-0.32
Oct 27, 2026
Merged

jeffreywang88 merged 1 commit into
masterfrom
fix-vllm-defer-triton-patch-0.32

Conversation

@jeffreywang88

Copy link
Copy Markdown
Contributor

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.

#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).

Verified that the patch applies cleanly on the vllm==0.32.0 x86_64 and
aarch64 wheels (hashes matching the lock) after the other patches, in
the order used by ci/docker/llm.build.Dockerfile and
docker/ray-llm/Dockerfile.

Signed-off-by: Jeffrey Wang <[email protected]>

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jeffreywang88 jeffreywang88 added the go add ONLY when ready to merge, run all tests label Oct 26, 2026

@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 the patch file vllm-defer-triton-validation.patch to adjust how Triton validation is handled in vllm/config/vllm.py and vllm/v1/worker/gpu_worker.py. Specifically, it imports current_platform to check if the platform is unspecified before warning about Triton requirements, and removes the unused use_v2_model_runner attribute initialization in the GPU worker. There are no review comments to assess, and I have no feedback to provide.

@ray-gardener ray-gardener Bot added serve Ray Serve Related Issue llm labels Oct 26, 2026
@jeffreywang88

Copy link
Copy Markdown
Contributor Author

@jeffreywang88
jeffreywang88 merged commit 7ec3295 into master Oct 27, 2026
6 checks passed
@jeffreywang88
jeffreywang88 deleted the fix-vllm-defer-triton-patch-0.32 branch October 27, 2026 00:35
johntaylor-cell added a commit to johntaylor-cell/ray that referenced this pull request Oct 27, 2026
Picks up ray-project#67436, which fixes the vLLM patch the LLM image builds apply.

Co-Authored-By: Claude <[email protected]>
Signed-off-by: john.taylor <[email protected]>
MakerFlyFly added a commit to MakerFlyFly/ray that referenced this pull request Oct 27, 2026
qishengxhe added a commit to qishengxhe/ray that referenced this pull request Oct 27, 2026
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]>
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 llm 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

2 participants