已合并
fix: 补充requirements依赖声明,拆分构建期与运行期依赖-2.9.0 #46283
mhy创建于 12 天前
fix: 补充requirements依赖声明,拆分构建期与运行期依赖-2.9.0 #46283
已合并
共 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/cpu | 1 | +# Build System requirements |
| 2 | ---extra-index-url https://triton-ascend.osinfra.cn/pypi/simple | 2 | +-r requirements-build.txt |
| 3 | - | ||
| 4 | -pyyaml | ||
| 5 | -setuptools | ||
| 6 | -auditwheel | ||
| 7 | 3 | ||
| 8 | torch==2.9.0 | 4 | torch==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 | + | ||
| 10 | triton-ascend==3.2.1 | 15 | triton-ascend==3.2.1 |
| @@ -2,10 +2,8 @@ | |||
| 2 | -f https://data.pyg.org/whl/torch-2.8.0+cpu.html | 2 | -f https://data.pyg.org/whl/torch-2.8.0+cpu.html |
| 3 | 3 | ||
| 4 | coverage | 4 | coverage |
| 5 | -beartype==0.17.0 | ||
| 6 | expecttest==0.1.3 | 5 | expecttest==0.1.3 |
| 7 | hypothesis | 6 | hypothesis |
| 8 | -mypy==1.16.0 | ||
| 9 | numpy==1.25.2 | 7 | numpy==1.25.2 |
| 10 | onnx==1.18.0 | 8 | onnx==1.18.0 |
| 11 | onnxruntime==1.22.1 | 9 | onnxruntime==1.22.1 |