diff --git a/requirements.txt b/requirements.txt index 1dab2b5cb9..b23c2509b7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 @@ -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 diff --git a/setup.py b/setup.py index 72abbc2fae..b0c9ecbc32 100644 --- a/setup.py +++ b/setup.py @@ -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