Merge pull request #1167 from Feng0w0/install_env

Docs:Supplement NPU environment installation document
This commit is contained in:
Zhongjie Duan
2026-01-12 10:07:30 +08:00
committed by GitHub
3 changed files with 30 additions and 8 deletions

View File

@@ -36,5 +36,17 @@ classifiers = [
where = ["./"]
include = ["diffsynth"]
[project.optional-dependencies]
npu_aarch64 = [
"torch==2.7.1",
"torch-npu==2.7.1",
"torchvision==0.22.1"
]
npu = [
"torch==2.7.1+cpu",
"torch-npu==2.7.1",
"torchvision==0.22.1+cpu"
]
[tool.setuptools]
include-package-data = true