Skip to content

Commit c386798

Browse files
adobrzynmgoin
andauthored
Fix CI (transformer) (#852)
Add upper range for transformer version in commons for failing Test / test_lazy_outlines and Test / test_guided_generate --------- Co-authored-by: Michael Goin <[email protected]>
1 parent 3f83507 commit c386798

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

requirements-common.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ requests >= 2.26.0
55
tqdm
66
blake3
77
py-cpuinfo
8-
transformers >= 4.48.2 # Required for Bamba model and Transformers backend.
8+
transformers >= 4.48.2, < 4.49 # Required for Bamba model and Transformers backend.
99
tokenizers >= 0.19.1 # Required for Llama 3.
1010
protobuf # Required by LlamaTokenizer.
1111
fastapi[standard] >= 0.107.0, < 0.113.0; python_version < '3.9'
@@ -20,7 +20,7 @@ tiktoken >= 0.6.0 # Required for DBRX tokenizer
2020
lm-format-enforcer >= 0.10.9, < 0.11
2121
outlines == 0.1.11
2222
lark == 1.2.2
23-
xgrammar >= 0.1.6; platform_machine == "x86_64"
23+
xgrammar == 0.1.11; platform_machine == "x86_64"
2424
typing_extensions >= 4.10
2525
filelock >= 3.16.1 # need to contain https://github.com/tox-dev/filelock/pull/317
2626
partial-json-parser # used for parsing partial JSON outputs

0 commit comments

Comments
 (0)