Skip to content

[V0 deprecation] Guided decoding #21347

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jul 29, 2025

Conversation

rzabarazesh
Copy link
Collaborator

@rzabarazesh rzabarazesh commented Jul 22, 2025

Essential Elements of an Effective PR Description Checklist

  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.

Purpose

Remove v0 guided decoding code.

Test Plan

Test Result

(Optional) Documentation Update

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

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 effectively removes the v0 guided decoding functionality, which simplifies the codebase significantly. The changes mostly consist of deleting old files and removing references to the deprecated v0 guided decoding API, which has been done correctly across the board.

However, I've identified a critical inconsistency regarding the outlines guided decoding backend. While its implementation has been removed, it's still listed as a valid backend in the configuration, leading to contradictory behavior in the tests. My review includes a detailed comment and a suggestion to resolve this ambiguity.

@rzabarazesh rzabarazesh force-pushed the guided_decoding_deprecation_v0 branch from 8be0e76 to 6019893 Compare July 22, 2025 04:08
Copy link

👋 Hi! Thank you for contributing to the vLLM project.

💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels.

Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run fastcheck CI which starts running only a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of those by going to your fastcheck build on Buildkite UI (linked in the PR checks section) and unblock them. If you do not have permission to unblock, ping simon-mo or khluu to add you in our Buildkite org.

Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging.

To run CI, PR reviewers can either: Add ready label to the PR or enable auto-merge.

🚀

@rzabarazesh rzabarazesh force-pushed the guided_decoding_deprecation_v0 branch from 6019893 to 6eaa86b Compare July 22, 2025 06:20
@mergify mergify bot added the ci/build label Jul 22, 2025
@rzabarazesh rzabarazesh force-pushed the guided_decoding_deprecation_v0 branch from 6eaa86b to b594e93 Compare July 22, 2025 06:22
@rzabarazesh rzabarazesh changed the title Guided decoding v0 deprecation [Core] Guided decoding v0 deprecation Jul 22, 2025
@rzabarazesh rzabarazesh force-pushed the guided_decoding_deprecation_v0 branch from b594e93 to 0d62990 Compare July 22, 2025 06:39
@rzabarazesh rzabarazesh marked this pull request as ready for review July 22, 2025 14:09
@rzabarazesh rzabarazesh force-pushed the guided_decoding_deprecation_v0 branch from ebb4ca5 to c5e1d9b Compare July 29, 2025 03:49
@hmellor
Copy link
Member

hmellor commented Jul 29, 2025

@russellb thanks for confirming that tests/entrypoints/llm/test_guided_generate.py does not need to be ported to V1

@hmellor hmellor dismissed their stale review July 29, 2025 07:46

Originally wasn't sure about some test deletion, it's been confirmed that we can delete them

@hmellor hmellor moved this to In Progress in V0 Deprecation Jul 29, 2025
@vllm-bot vllm-bot merged commit 37efc63 into vllm-project:main Jul 29, 2025
98 of 100 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in V0 Deprecation Jul 29, 2025
liuyumoye pushed a commit to liuyumoye/vllm that referenced this pull request Jul 31, 2025
Signed-off-by: Reza Barazesh <[email protected]>
Signed-off-by: Harry Mellor <[email protected]>
Co-authored-by: Harry Mellor <[email protected]>
wenscarl pushed a commit to wenscarl/vllm that referenced this pull request Aug 4, 2025
Signed-off-by: Reza Barazesh <[email protected]>
Signed-off-by: Harry Mellor <[email protected]>
Co-authored-by: Harry Mellor <[email protected]>
Signed-off-by: shuw <[email protected]>
x22x22 pushed a commit to x22x22/vllm that referenced this pull request Aug 5, 2025
Signed-off-by: Reza Barazesh <[email protected]>
Signed-off-by: Harry Mellor <[email protected]>
Co-authored-by: Harry Mellor <[email protected]>
Signed-off-by: x22x22 <[email protected]>
x22x22 pushed a commit to x22x22/vllm that referenced this pull request Aug 5, 2025
Signed-off-by: Reza Barazesh <[email protected]>
Signed-off-by: Harry Mellor <[email protected]>
Co-authored-by: Harry Mellor <[email protected]>
Signed-off-by: x22x22 <[email protected]>
Pradyun92 pushed a commit to Pradyun92/vllm that referenced this pull request Aug 6, 2025
Signed-off-by: Reza Barazesh <[email protected]>
Signed-off-by: Harry Mellor <[email protected]>
Co-authored-by: Harry Mellor <[email protected]>
npanpaliya pushed a commit to odh-on-pz/vllm-upstream that referenced this pull request Aug 6, 2025
Signed-off-by: Reza Barazesh <[email protected]>
Signed-off-by: Harry Mellor <[email protected]>
Co-authored-by: Harry Mellor <[email protected]>
jinzhen-lin pushed a commit to jinzhen-lin/vllm that referenced this pull request Aug 9, 2025
Signed-off-by: Reza Barazesh <[email protected]>
Signed-off-by: Harry Mellor <[email protected]>
Co-authored-by: Harry Mellor <[email protected]>
Signed-off-by: Jinzhen Lin <[email protected]>
noamgat pushed a commit to noamgat/vllm that referenced this pull request Aug 9, 2025
Signed-off-by: Reza Barazesh <[email protected]>
Signed-off-by: Harry Mellor <[email protected]>
Co-authored-by: Harry Mellor <[email protected]>
paulpak58 pushed a commit to paulpak58/vllm that referenced this pull request Aug 13, 2025
Signed-off-by: Reza Barazesh <[email protected]>
Signed-off-by: Harry Mellor <[email protected]>
Co-authored-by: Harry Mellor <[email protected]>
Signed-off-by: Paul Pak <[email protected]>
taneem-ibrahim pushed a commit to taneem-ibrahim/vllm that referenced this pull request Aug 14, 2025
Signed-off-by: Reza Barazesh <[email protected]>
Signed-off-by: Harry Mellor <[email protected]>
Co-authored-by: Harry Mellor <[email protected]>
BoyuanFeng pushed a commit to BoyuanFeng/vllm that referenced this pull request Aug 14, 2025
Signed-off-by: Reza Barazesh <[email protected]>
Signed-off-by: Harry Mellor <[email protected]>
Co-authored-by: Harry Mellor <[email protected]>
Signed-off-by: Boyuan Feng <[email protected]>
diegocastanibm pushed a commit to diegocastanibm/vllm that referenced this pull request Aug 15, 2025
Signed-off-by: Reza Barazesh <[email protected]>
Signed-off-by: Harry Mellor <[email protected]>
Co-authored-by: Harry Mellor <[email protected]>
Signed-off-by: Diego-Castan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/build frontend ready ONLY add when PR is ready to merge/full CI is needed structured-output v1
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants