-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[Frontend][Core] Move guided decoding params into sampling params #8252
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
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
2673021
:recycle: refactor guided decoding construction
joerunde 382a240
:recycle: refactor to_sampling_params
joerunde ff6c147
:recycle: update sampling params in openai servers
joerunde ab0fea0
:zap: build LPs in engine / client
joerunde 41a18d5
:recycle: move test file
joerunde 40260eb
:white_check_mark: fixup tests
joerunde 9d3b185
:wastebasket: deprecate GuidedDecodingRequest usage
joerunde 610423e
Merge remote-tracking branch 'upstream/main' into lp-scratch
joerunde 9b6ab55
:goal_net: disallow both guided options
joerunde 429704d
:bug: fixup LLM tests
joerunde 2df4783
:art: fmt
joerunde 97a1116
:art: more fmt
joerunde 24d95fe
:zap: ensure use of async outlines LP construction
joerunde 0fa5080
:recycle: move guided params construction
joerunde 2920459
Merge remote-tracking branch 'upstream/main' into lp-scratch
joerunde 450c76e
:art: fmt
joerunde 6bfa8a8
Merge remote-tracking branch 'upstream/main' into lp-scratch
joerunde 07a17ef
Merge remote-tracking branch 'upstream/main' into lp-scratch
joerunde d4540ca
:recycle: refactor mistral unsupported errors
joerunde 1d580d2
:white_check_mark: test guided decoding validation
joerunde b984187
:art: fmt
joerunde 1c2bbf1
:bug: fixup engine client test
joerunde aa84827
:bug: start to fixup for msgspec
joerunde c52075b
Merge remote-tracking branch 'upstream/main' into lp-scratch
joerunde 891c526
:zap: add LP construction to mqllmengine client
joerunde 2b59d03
Merge remote-tracking branch 'upstream/main' into lp-scratch
joerunde 8f079e5
:art: fmt
joerunde ed29ec2
:recycle: extract BaseModel schema up-front
joerunde bea1716
Merge remote-tracking branch 'upstream/main' into lp-scratch
joerunde 74e9187
Merge remote-tracking branch 'upstream/main' into lp-scratch
joerunde 7b17aba
Merge remote-tracking branch 'upstream/main' into lp-scratch
joerunde 76182e4
Merge remote-tracking branch 'upstream/main' into lp-scratch
joerunde 6281044
:recycle: v -> s
joerunde a4e2523
Update vllm/engine/async_llm_engine.py
joerunde 8acc98e
Update vllm/engine/llm_engine.py
joerunde 485ce1d
Revert "Update vllm/engine/async_llm_engine.py"
joerunde f0a3f9d
:recycle: refactor guided decoding lp construction
joerunde ec92fd5
Merge remote-tracking branch 'upstream/main' into lp-scratch
joerunde 5385175
retrigger CI
joerunde File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
import pytest | ||
|
||
|
||
@pytest.fixture | ||
def sample_regex(): | ||
return (r"((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.){3}" | ||
r"(25[0-5]|(2[0-4]|1\d|[1-9]|)\d)") | ||
|
||
|
||
@pytest.fixture | ||
def sample_json_schema(): | ||
return { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"type": "string" | ||
}, | ||
"age": { | ||
"type": "integer" | ||
}, | ||
"skills": { | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"maxLength": 10 | ||
}, | ||
"minItems": 3 | ||
}, | ||
"work_history": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"company": { | ||
"type": "string" | ||
}, | ||
"duration": { | ||
"type": "number" | ||
}, | ||
"position": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": ["company", "position"] | ||
} | ||
} | ||
}, | ||
"required": ["name", "age", "skills", "work_history"] | ||
} |
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.