已合并
fix: 补充requirements依赖声明,拆分构建期与运行期依赖-2.9.0 #46283
fix: 补充requirements依赖声明,拆分构建期与运行期依赖-2.9.0 #46283
已合并
mhy创建于 12 天前
共 3 个文件变更+23-8
@@ -0,0 +1,12 @@
1+--extra-index-url https://download.pytorch.org/whl/cpu
2+ 
3+pyyaml>=6.0.3
4+typing-extensions>=4.10.0
5+setuptools>=75.3.2
6+wheel>=0.45.1
7+cmake>=3.18.4.post1
8+numpy>=1.26.4
9+ninja
10+auditwheel>=5.4.0
11+ 
12+torch==2.9.0
@@ -1,10 +1,15 @@
1---extra-index-url https://download.pytorch.org/whl/cpu1+# Build System requirements
2---extra-index-url https://triton-ascend.osinfra.cn/pypi/simple2+-r requirements-build.txt
3- 
4-pyyaml
5-setuptools
6-auditwheel
7 3 
8torch==2.9.04torch==2.9.0
9 5 
6+--extra-index-url https://download.pytorch.org/whl/cpu
7+--extra-index-url https://triton-ascend.osinfra.cn/pypi/simple
8+ 
9+expecttest>=0.1.3
10+transformers>=4.40.0
11+torchvision==0.24.0
12+requests>=2.32.0
13+Pillow>=10.3.0
14+ 
10triton-ascend==3.2.115triton-ascend==3.2.1
@@ -2,10 +2,8 @@
2-f https://data.pyg.org/whl/torch-2.8.0+cpu.html2-f https://data.pyg.org/whl/torch-2.8.0+cpu.html
3 3 
4coverage4coverage
5-beartype==0.17.0
6expecttest==0.1.35expecttest==0.1.3
7hypothesis6hypothesis
8-mypy==1.16.0
9numpy==1.25.27numpy==1.25.2
10onnx==1.18.08onnx==1.18.0
11onnxruntime==1.22.19onnxruntime==1.22.1