Skip to content

Commit

Permalink
set upper limits for dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
anhuong committed May 14, 2024
1 parent 0ff6da3 commit 07c388c
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@ classifiers=[
"Programming Language :: Python :: 3.11",
]
dependencies = [
"numpy",
"accelerate>=0.20.3",
"transformers",
"torch",
"sentencepiece",
"tokenizers>=0.13.3",
"tqdm",
"trl",
"peft>=0.8.0",
"datasets>=2.15.0",
"fire",
"simpleeval",
"numpy>=1.26.4,<2.0",
"accelerate>=0.20.3,<1.0",
"transformers>=4.34.1,<5.0,!=4.38.2",
"torch>=2.2.0,<3.0",
"sentencepiece>=0.1.99,<1.0",
"tokenizers>=0.13.3,<1.0",
"tqdm>=4.66.2,<5.0",
"trl>=0.7.10,<1.0",
"peft>=0.8.0,<1.0",
"datasets>=2.15.0,<3.0",
"fire>=0.5.0,<1.0",
"simpleeval>=0.9.13,<1.0",
]

[project.optional-dependencies]
dev = ["wheel", "packaging", "ninja", "scikit-learn>=1.0, <2.0"]
flash-attn = ["flash-attn"]
dev = ["wheel>=0.42.0,<1.0", "packaging>=23.2,<24", "ninja>=1.11.1.1,<2.0", "scikit-learn>=1.0, <2.0"]
flash-attn = ["flash-attn>=2.5.3,<3.0"]
aim = ["aim==3.19.0"]

[tool.setuptools.packages.find]
Expand Down

0 comments on commit 07c388c

Please sign in to comment.