-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change: - change launch argument from `--simple_constraint_mode` to `--output_constraint_mode`, now user can choose the constriant decode backend from ['outlines', 'xgrammar'] - add `XgrammarBackend` used for xgrammar constraint decode, maybe we should merge it with `SimpleConstraintBackend` later? - now we adopt the same request body, the same as vLLM with xgrammar(https://docs.vllm.ai/en/stable/serving/openai_compatible_server.html) - user can add `guided_grammar` to pass a EBNF grammar and execute the constraint decode - user can add `guided_json` to pass a standard json schema and do the constraint decode --------- Co-authored-by: hiworldwzj <[email protected]>
- Loading branch information
1 parent
c483b1e
commit c8c892a
Showing
13 changed files
with
517 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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.