fix torch-npu dependency

This commit is contained in:
fanjunliang
2024-06-26 18:21:42 +08:00
parent 82d0b46bc9
commit 8096f94a7d
2 changed files with 6 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ def get_requires():
extra_require = {
"torch": ["torch>=1.13.1"],
"torch-npu": ["torch==2.1.0", "torch-npu==2.1.0.post3", "decorator"],
"torch-npu": ["torch==2.1.0+cpu", "torch-npu==2.1.0.post3", "decorator"],
"metrics": ["nltk", "jieba", "rouge-chinese"],
"deepspeed": ["deepspeed>=0.10.0"],
"bitsandbytes": ["bitsandbytes>=0.39.0"],