add Ascend npu doc and dependency

Former-commit-id: cd67d6eeb5
This commit is contained in:
MengqingCao
2024-05-28 01:33:54 +00:00
parent e5d2ef4434
commit 099a932cbc
3 changed files with 39 additions and 2 deletions

View File

@@ -33,6 +33,7 @@ extra_require = {
"qwen": ["tiktoken", "transformers_stream_generator"],
"modelscope": ["modelscope"],
"quality": ["ruff"],
"torch_npu": ["torch==2.2.0", "torch_npu==2.2.0", "decorator"]
}