update readme

Former-commit-id: 440e9de66986ef7736361ce8ec3e23ce68655a56
This commit is contained in:
hiyouga
2024-05-29 18:39:11 +08:00
parent f4e16ae373
commit 9a65820592
7 changed files with 76 additions and 62 deletions

View File

@@ -21,6 +21,7 @@ def get_requires():
extra_require = {
"torch": ["torch>=1.13.1"],
"torch_npu": ["torch==2.1.0", "torch-npu==2.1.0.post3", "decorator"],
"metrics": ["nltk", "jieba", "rouge-chinese"],
"deepspeed": ["deepspeed>=0.10.0,<=0.14.0"],
"bitsandbytes": ["bitsandbytes>=0.39.0"],
@@ -33,7 +34,6 @@ extra_require = {
"qwen": ["tiktoken", "transformers_stream_generator"],
"modelscope": ["modelscope"],
"quality": ["ruff"],
"torch_npu": ["torch==2.1.0", "torch_npu==2.1.0.post3", "decorator"]
}