Skip to content

[llm] Bump vLLM to 0.33.0 - #67800

Merged
elliot-barn merged 2 commits into
masterfrom
vllm-0.33.0
Nov 5, 2026
Merged

elliot-barn merged 2 commits into
masterfrom
vllm-0.33.0

Conversation

@jeffreywang88

@jeffreywang88 jeffreywang88 commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Description

Bump vLLM from 0.32.0 to 0.33.0.

  • Change imports from vllm.entrypoints.launchers.cli_args to vllm.entrypoints.common.cli_args, where vLLM 0.33 moved them.
  • KV-aware router tokenizer: forward the new reasoning_effort_map frontend arg so the router's prompt tokens match the engine's rendering.
  • test_llm_server.py: add should_keep_api_server_alive to the fake engine client, and assert on EngineDeadError.CLIENT_MESSAGE, which vLLM now returns to clients.
  • Tokenizer tests: switch to vLLM's new DisabledThinkingEffortResolver API.
  • Rebase vllm-preserve-model-eos-tokens.patch onto 0.33 (same behavior).

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.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@jeffreywang88 jeffreywang88 added the go add ONLY when ready to merge, run all tests label Nov 4, 2026
Base automatically changed from multidict-6.9.1 to master November 4, 2026 18:34
@jeffreywang88
jeffreywang88 marked this pull request as ready for review November 4, 2026 19:47
@jeffreywang88
jeffreywang88 requested review from a team, edoakes and richardliaw as code owners November 4, 2026 19:47
jeffreywang88 and others added 2 commits November 4, 2026 11:47
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeffrey Wang <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Jeffrey Wang <[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 upgrades the pinned vLLM version from 0.32.0 to 0.33.0. This upgrade includes updating Dockerfiles, setup specifications, requirements files, and dependency lockfiles (bumping torch, torchvision, triton, and nvidia-nccl, among others). It removes the now-obsolete Triton deferral patch, adjusts CLI argument imports to match vLLM's new internal structure, and integrates support for reasoning effort mapping and disabled thinking effort resolution in the tokenizer routing policy. Since there are no review comments provided, I have no additional feedback to offer on these changes.

@ray-gardener ray-gardener Bot added the serve Ray Serve Related Issue label Nov 5, 2026
# reloads a torch.compile artifact built for a different physical GPU.
# vllm-project/vllm#38962 was reverted by #53304; still needed in vLLM 0.32.0.
# vllm-project/vllm#38962 was reverted by #53304; still needed in vLLM 0.33.0.
VLLM_DEVICE_AWARE_COMPILE_CACHE_PATCH="$(pwd)/python/requirements/llm/patches/vllm-device-aware-compile-cache.patch"

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.

I'll revisit this -- might not be needed after vllm-project/vllm#63247.

default_chat_template_kwargs=frontend_args.default_chat_template_kwargs,
# Forwarded prompt tokens replace the engine's chat rendering, so
# apply the same effort rewrites the engine would.
reasoning_effort_map=frontend_args.reasoning_effort_map,

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.

Note: vLLM 0.33 adds a --reasoning-effort-map which rewrites a request's reasoning_effort (for example {"medium": "low"}) before the chat template renders, for templates that silently ignore effort values they don't recognize. OnlineRenderer now takes it as a constructor kwarg and applies it during render_chat.

KVAwareRotuer builds its own OnlineRenderer to pre-tokenize prompts, and those token IDs are forwarded in place of the engine's own rendering. If the router didn't pass the map, a deployment that sets it would produce router tokens that differ from what the engine would render.

assert ids == expected
assert ids != _hf_chat_ids(hf_tokenizer, messages)

async def test_reasoning_effort_map_is_applied(self, hf_tokenizer):

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.

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.

How did you catch this?

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.

Claude did 😃


assert response.status_code == 500
assert "EngineCore encountered an issue" in response.json()["error"]["message"]
assert response.json()["error"]["message"] == EngineDeadError.CLIENT_MESSAGE

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.

vLLM 0.33 changed two things that broke this test:

  1. New should_keep_api_server_alive check. When the engine dies, vLLM's error handler now reads engine_client.should_keep_api_server_alive, a new EngineClient property. The test's fake engine client (a SimpleNamespace) didn't have it, so the handler would crash with AttributeError.
  2. New client-facing error message. For EngineDeadError, the API used to return str(exc), which is "EngineCore encountered an issue…". It now returns EngineDeadError.CLIENT_MESSAGE, which is "The server had an error while processing your request."

@@ -1,8 +1,8 @@
diff --git a/vllm/v1/structured_output/backend_xgrammar.py b/vllm/v1/structured_output/backend_xgrammar.py
index 0199c5f75d..405c94fe85 100644
index aae72873b2..e99e465ef7 100644

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.

Same behavior just adapted to the latest code.

@jeffreywang88

Copy link
Copy Markdown
Contributor Author

Git ownership is broken as this shouldn't require core / kuberay reviewers.

@eicherseiji eicherseiji 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.

🤠

assert ids == expected
assert ids != _hf_chat_ids(hf_tokenizer, messages)

async def test_reasoning_effort_map_is_applied(self, hf_tokenizer):

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.

How did you catch this?

#
# DeepEP V2's "NCCL Gin" backend needs NCCL >= 2.30.4 at both build and run
# time, but torch pins nvidia-nccl-cu13==2.29.7 as a transitive dep. vLLM's own
# DeepEP V2 needs a newer NCCL than torch pins as a transitive dep (torch 2.14

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.

Is there a specific GitHub file link you're using to keep this in sync?

@elliot-barn
elliot-barn merged commit 6f31ac6 into master Nov 5, 2026
6 checks passed
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