Skip to content

Commit

Permalink
Update deps 202401 (#1204) [skip ci]
Browse files Browse the repository at this point in the history
* update deps

* xformers fix too
  • Loading branch information
winglian authored Jan 25, 2024
1 parent ab126c2 commit 7089b8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--extra-index-url https://huggingface.github.io/autogptq-index/whl/cu118/
packaging==23.2
peft==0.7.0
peft==0.7.1
transformers==4.37.0
tokenizers==0.15.0
bitsandbytes>=0.41.1
Expand All @@ -15,16 +15,14 @@ sentencepiece
wandb
einops
xformers==0.0.22
optimum==1.13.2
optimum==1.16.2
hf_transfer
colorama
numba
numpy>=1.24.4
mlflow
# qlora things
bert-score==0.3.13
evaluate==0.4.0
rouge-score==0.1.2
scipy
scikit-learn==1.2.2
pynvml
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ def parse_requirements():

try:
torch_version = version("torch")
if torch_version.startswith("2.1.1"):
if torch_version.startswith("2.1."):
_install_requires.pop(_install_requires.index("xformers==0.0.22"))
_install_requires.append("xformers==0.0.23")
_install_requires.append("xformers>=0.0.23")
except PackageNotFoundError:
pass

Expand Down

0 comments on commit 7089b8e

Please sign in to comment.