Repository navigation
[llm] Bump vLLM to 0.33.0 - #67800
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
b2f9d14 to
31325f8
Compare
31325f8 to
888ff0b
Compare
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]>
888ff0b to
3f69f26
Compare
There was a problem hiding this comment.
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.
| # 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" |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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): |
There was a problem hiding this comment.
There was a problem hiding this comment.
How did you catch this?
|
|
||
| assert response.status_code == 500 | ||
| assert "EngineCore encountered an issue" in response.json()["error"]["message"] | ||
| assert response.json()["error"]["message"] == EngineDeadError.CLIENT_MESSAGE |
There was a problem hiding this comment.
vLLM 0.33 changed two things that broke this test:
- New
should_keep_api_server_alivecheck. When the engine dies, vLLM's error handler now readsengine_client.should_keep_api_server_alive, a new EngineClient property. The test's fake engine client (aSimpleNamespace) didn't have it, so the handler would crash withAttributeError. - New client-facing error message. For
EngineDeadError, the API used to returnstr(exc), which is "EngineCore encountered an issue…". It now returnsEngineDeadError.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 | |||
There was a problem hiding this comment.
Same behavior just adapted to the latest code.
|
Git ownership is broken as this shouldn't require core / kuberay reviewers. |
| assert ids == expected | ||
| assert ids != _hf_chat_ids(hf_tokenizer, messages) | ||
|
|
||
| async def test_reasoning_effort_map_is_applied(self, hf_tokenizer): |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Is there a specific GitHub file link you're using to keep this in sync?
Description
Bump vLLM from 0.32.0 to 0.33.0.
vllm.entrypoints.launchers.cli_argstovllm.entrypoints.common.cli_args, where vLLM 0.33 moved them.reasoning_effort_mapfrontend 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.DisabledThinkingEffortResolverAPI.Related issues
Additional information