Add linux manywheel python 3.13 binary workflows (#130030)

Test with passing linux manywheel workflows is here: https://github.com/pytorch/pytorch/pull/121979
Builder PR already merged: https://github.com/pytorch/builder/pull/1910

Pull Request resolved: https://github.com/pytorch/pytorch/pull/130030
Approved by: https://github.com/albanD
This commit is contained in:
Andrey Talman
2024-07-08 22:50:15 +00:00
committed by PyTorch MergeBot
parent 00335a27b4
commit 17ca0d0edf
4 changed files with 515 additions and 3 deletions

View File

@ -325,7 +325,7 @@ def generate_wheels_matrix(
package_type = "manywheel"
if python_versions is None:
python_versions = FULL_PYTHON_VERSIONS
python_versions = FULL_PYTHON_VERSIONS + ["3.13"]
if arches is None:
# Define default compute archivectures
@ -357,6 +357,10 @@ def generate_wheels_matrix(
else arch_version
)
# TODO: Enable python 3.13 on rocm, aarch64, windows
if (gpu_arch_type == "rocm" or os != "linux") and python_version == "3.13":
continue
# 12.1 linux wheels require PYTORCH_EXTRA_INSTALL_REQUIREMENTS to install
if (
arch_version in ["12.4", "12.1", "11.8"]