[CD] Enable python 3.13 for xpu nightly build (#133670)

Enable python 3.13 for XPU nightly build, it depends on https://github.com/pytorch/pytorch/pull/133454 land. Also update the xpu nightly wheel test env.

Works for https://github.com/pytorch/pytorch/issues/114850
Fixes #130543
Pull Request resolved: https://github.com/pytorch/pytorch/pull/133670
Approved by: https://github.com/atalman, https://github.com/malfet
This commit is contained in:
chuanqiw
2024-08-20 15:05:20 +00:00
committed by PyTorch MergeBot
parent 36376efd06
commit 6590f4fb0e
4 changed files with 116 additions and 7 deletions

View File

@ -365,10 +365,9 @@ def generate_wheels_matrix(
else arch_version
)
# TODO: Enable python 3.13 on rocm, xpu, aarch64, windows
# TODO: Enable python 3.13 on rocm, aarch64, windows
if (
gpu_arch_type in ["rocm", "xpu"]
or (os != "linux" and os != "linux-s390x")
gpu_arch_type == "rocm" or (os != "linux" and os != "linux-s390x")
) and python_version == "3.13":
continue