update requirements

This commit is contained in:
hiyouga 2023-09-07 19:26:25 +08:00
parent 5a9970dbef
commit f5351c18e1
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ torch>=1.13.1
transformers>=4.29.1 transformers>=4.29.1
datasets>=2.12.0 datasets>=2.12.0
accelerate>=0.21.0 accelerate>=0.21.0
peft>=0.4.0 peft==0.4.0
trl>=0.7.1 trl>=0.7.1
scipy scipy
sentencepiece sentencepiece

View File

@ -39,7 +39,7 @@ logger = get_logger(__name__)
check_min_version("4.29.1") check_min_version("4.29.1")
require_version("datasets>=2.12.0", "To fix: pip install datasets>=2.12.0") require_version("datasets>=2.12.0", "To fix: pip install datasets>=2.12.0")
require_version("accelerate>=0.21.0", "To fix: pip install accelerate>=0.21.0") require_version("accelerate>=0.21.0", "To fix: pip install accelerate>=0.21.0")
require_version("peft>=0.4.0", "To fix: pip install peft>=0.4.0") require_version("peft==0.4.0", "To fix: pip install peft==0.4.0")
require_version("trl>=0.7.1", "To fix: pip install trl>=0.7.1") require_version("trl>=0.7.1", "To fix: pip install trl>=0.7.1")