[Bugfix] Backend option to disable xgrammar any_whitespace (#12744)

Signed-off-by: Wallas Santos <wallashss@ibm.com>
Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
Co-authored-by: Joe Runde <Joseph.Runde@ibm.com>
This commit is contained in:
Wallas Henrique
2025-02-26 15:52:34 -03:00
committed by GitHub
parent d08b285adf
commit 4cb6fa0a9c
3 changed files with 88 additions and 3 deletions

View File

@@ -385,6 +385,7 @@ class EngineArgs:
'Backend-specific options can be supplied in a comma-separated '
'list following a colon after the backend name. Valid backends and '
'all available options are: [xgrammar:no-fallback, '
'xgrammar:disable-any-whitespace, '
'outlines:no-fallback, lm-format-enforcer:no-fallback]')
parser.add_argument(
'--logits-processor-pattern',