Skip to content

Commit e51616d

Browse files
Set ranges for deps
Signed-off-by: Thara Palanivel <[email protected]>
1 parent 10be49f commit e51616d

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

pyproject.toml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,26 @@ classifiers=[
2121
]
2222
dynamic = ["version"]
2323
dependencies = [
24-
"numpy",
25-
"tqdm",
24+
"numpy>=1.26.4,<2.0",
25+
"accelerate>=0.20.3,!=0.34,<1.1",
26+
"transformers>=4.45,<4.46",
27+
"torch>=2.2.0,<2.4",
28+
"tqdm>=4.66.2,<5.0",
29+
"datasets>=2.15.0,<3.0",
30+
"ninja>=1.11.1.1,<2.0",
2631
"tensorboard",
2732
"notebook",
28-
"transformers",
29-
"accelerate",
33+
"torchvision>=0.8",
3034
"evaluate",
31-
"datasets",
3235
"huggingface_hub",
3336
"pandas",
3437
"safetensors",
35-
"ninja",
36-
"accelerate>=0.20.3,!=0.34,<1.1",
3738
]
3839

3940
[project.optional-dependencies]
4041
dev = ["pre-commit>=3.0.4,<5.0"]
4142
fp8 = ["llmcompressor"]
42-
gptq = ["auto_gptq"]
43+
gptq = ["auto_gptq>0.4.2", "optimum>=1.15.0"]
4344
visualize = ["matplotlib", "graphviz", "pygraphviz"]
4445
flash-attn = ["flash-attn>=2.5.3,<3.0"]
4546
opt = ["fms-model-optimizer[fp8, gptq]"]

0 commit comments

Comments
 (0)