From 979ba8ef63acf3b32fda5f31074cacb1b2b19561 Mon Sep 17 00:00:00 2001 From: Michael Goin Date: Sat, 15 Feb 2025 13:50:57 -0700 Subject: [PATCH] Pin xgrammar to 0.1.11 There seems to be an breaking change to the apply_token_bitmask_inplace_cuda op in the latest release, so let's pin for now to fix --- requirements-common.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-common.txt b/requirements-common.txt index 8991cc1ce02df..b7c94cbdba8b4 100644 --- a/requirements-common.txt +++ b/requirements-common.txt @@ -20,7 +20,7 @@ tiktoken >= 0.6.0 # Required for DBRX tokenizer lm-format-enforcer >= 0.10.9, < 0.11 outlines == 0.1.11 lark == 1.2.2 -xgrammar >= 0.1.11; platform_machine == "x86_64" +xgrammar == 0.1.11; platform_machine == "x86_64" typing_extensions >= 4.10 filelock >= 3.16.1 # need to contain https://github.com/tox-dev/filelock/pull/317 partial-json-parser # used for parsing partial JSON outputs