Skip to content

Commit

Permalink
Test xgrammar update and remove case
Browse files Browse the repository at this point in the history
Signed-off-by: mgoin <[email protected]>
  • Loading branch information
mgoin committed Dec 9, 2024
1 parent f32cae8 commit b28b33e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions vllm/model_executor/guided_decoding/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ def check_object(obj: dict) -> bool:
if not isinstance(obj, dict):
return False

# Check for $ref and $defs (schema references)
if "$ref" in obj or "$defs" in obj:
return True

# Check for pattern restrictions
if "pattern" in obj:
return True
Expand Down

0 comments on commit b28b33e

Please sign in to comment.