Scheduled removal of guided_* config fields#29326
Merged
DarkLight1337 merged 1 commit intovllm-project:mainfrom Nov 25, 2025
Merged
Scheduled removal of guided_* config fields#29326DarkLight1337 merged 1 commit intovllm-project:mainfrom
guided_* config fields#29326DarkLight1337 merged 1 commit intovllm-project:mainfrom
Conversation
These fields are scheduled for removal in v0.12.0, which will be the next release. The config being removed now lives in `StructuredOuptutsConfig`/`StructuredOutputsParams` Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
|
Documentation preview: https://vllm--29326.org.readthedocs.build/en/29326/ |
Contributor
There was a problem hiding this comment.
Code Review
This pull request effectively removes the deprecated guided_* configuration fields and associated logic across the codebase. The changes are consistent and correctly replace the old API with the new structured_outputs parameters. The removal of deprecated code from EngineArgs, SamplingParams, and the OpenAI protocol classes is clean. The related tests have also been updated appropriately to reflect these changes. The refactoring in vllm/entrypoints/openai/protocol.py to handle response_format is a nice improvement that simplifies the code. Overall, this is a solid cleanup effort with no issues found.
DarkLight1337
approved these changes
Nov 25, 2025
devpatelio
pushed a commit
to SumanthRH/vllm
that referenced
this pull request
Nov 29, 2025
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
kitaekatt
pushed a commit
to kitaekatt/vllm
that referenced
this pull request
Dec 1, 2025
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
5 tasks
nrghosh
added a commit
to kouroshHakha/ray
that referenced
this pull request
Dec 7, 2025
vLLM renamed guided_decoding to structured_outputs and changed the embedding API: - SamplingParams: GuidedDecodingParams -> StructuredOutputsParams, guided_decoding -> structured_outputs (vllm-project/vllm#22772, vllm-project/vllm#29326) - Embedding: use encode(pooling_params=...) instead of generate(sampling_params=...) for pooling tasks (vllm-project/vllm#16188, vllm-project/vllm#25524) - EngineArgs: guided_decoding_backend -> structured_outputs_config User-facing "guided_decoding" key in sampling_params dict preserved for backwards compatibility. Signed-off-by: Nikhil Ghosh <nikhil@anyscale.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These fields are scheduled for removal in v0.12.0, which will be the next release.
The config being removed now lives in
StructuredOuptutsConfig/StructuredOutputsParams