fix:Build torch wheel inline rather than picking from nightly (#18351)

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>
This commit is contained in:
Dilip Gowda Bhagavan
2025-05-20 22:22:24 +00:00
committed by GitHub
parent 980a172474
commit 23baa2180b
2 changed files with 29 additions and 4 deletions
-1
View File
@@ -8,7 +8,6 @@ setuptools>=77.0.3,<80.0.0
torch==2.7.0+cpu; platform_machine == "x86_64"
torch==2.7.0; platform_system == "Darwin"
torch==2.7.0; platform_machine == "ppc64le" or platform_machine == "aarch64"
torch==2.7.0.dev20250304; platform_machine == "s390x"
# required for the image processor of minicpm-o-2_6, this must be updated alongside torch
torchaudio; platform_machine != "ppc64le" and platform_machine != "s390x"