Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/actions/setup-binary-builds/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ runs:
export CONDA_EXTRA_PARAM=""

if [[ "${PYTHON_VERSION:-}" == *t || "${PYTHON_VERSION:-}" == 3.14* ]]; then

# downgrade conda version for python 3.13t, 3.14t, 3.14 install.
# TODO: remove this once python 3.13t, 3.14t, 3.14 is fully supported on conda
# Please see : https://github.com/conda/conda/issues/14554
Expand All @@ -147,11 +146,11 @@ runs:
# shellcheck disable=SC2153
case $PYTHON_VERSION in
3.14t)
export PYTHON_VERSION=3.14.0rc1
export PYTHON_VERSION=3.14.0rc2
export CONDA_EXTRA_PARAM=" python-freethreading -c conda-forge/label/python_rc -c conda-forge"
;;
3.14)
export PYTHON_VERSION=3.14.0rc1
export PYTHON_VERSION=3.14.0rc2
export CONDA_EXTRA_PARAM=" -c conda-forge/label/python_rc -c conda-forge"
;;
3.13t)
Expand Down
4 changes: 0 additions & 4 deletions tools/scripts/generate_binary_build_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,10 +474,6 @@ def generate_wheels_matrix(
if (gpu_arch_type == "cpu-s390x") and python_version == "3.13t":
continue

# Python 3.14 and 3.14t not yet supported on Windows
if os == WINDOWS and python_version.startswith("3.14"):
continue

desired_cuda = translate_desired_cuda(gpu_arch_type, gpu_arch_version)
entry = {
"python_version": python_version,
Expand Down
120 changes: 120 additions & 0 deletions tools/tests/assets/build_matrix_windows_wheel_cuda.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,126 @@
"upload_to_base_bucket": "no",
"stable_version": "2.8.0",
"use_split_build": false
},
{
"python_version": "3.14",
"gpu_arch_type": "cpu",
"gpu_arch_version": "",
"desired_cuda": "cpu",
"container_image": "pytorch/manylinux2_28-builder:cpu",
"package_type": "wheel",
"build_name": "wheel-py3_14-cpu",
"validation_runner": "windows.4xlarge",
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.8.0",
"use_split_build": false
},
{
"python_version": "3.14",
"gpu_arch_type": "cuda",
"gpu_arch_version": "12.6",
"desired_cuda": "cu126",
"container_image": "pytorch/manylinux2_28-builder:cuda12.6",
"package_type": "wheel",
"build_name": "wheel-py3_14-cuda12_6",
"validation_runner": "windows.g4dn.xlarge",
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu126",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.8.0",
"use_split_build": false
},
{
"python_version": "3.14",
"gpu_arch_type": "cuda",
"gpu_arch_version": "12.8",
"desired_cuda": "cu128",
"container_image": "pytorch/manylinux2_28-builder:cuda12.8",
"package_type": "wheel",
"build_name": "wheel-py3_14-cuda12_8",
"validation_runner": "windows.g4dn.xlarge",
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.8.0",
"use_split_build": false
},
{
"python_version": "3.14",
"gpu_arch_type": "xpu",
"gpu_arch_version": "",
"desired_cuda": "xpu",
"container_image": "pytorch/manylinux2_28-builder:xpu",
"package_type": "wheel",
"build_name": "wheel-py3_14-xpu",
"validation_runner": "windows.4xlarge",
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/xpu",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.8.0",
"use_split_build": false
},
{
"python_version": "3.14t",
"gpu_arch_type": "cpu",
"gpu_arch_version": "",
"desired_cuda": "cpu",
"container_image": "pytorch/manylinux2_28-builder:cpu",
"package_type": "wheel",
"build_name": "wheel-py3_14t-cpu",
"validation_runner": "windows.4xlarge",
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.8.0",
"use_split_build": false
},
{
"python_version": "3.14t",
"gpu_arch_type": "cuda",
"gpu_arch_version": "12.6",
"desired_cuda": "cu126",
"container_image": "pytorch/manylinux2_28-builder:cuda12.6",
"package_type": "wheel",
"build_name": "wheel-py3_14t-cuda12_6",
"validation_runner": "windows.g4dn.xlarge",
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu126",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.8.0",
"use_split_build": false
},
{
"python_version": "3.14t",
"gpu_arch_type": "cuda",
"gpu_arch_version": "12.8",
"desired_cuda": "cu128",
"container_image": "pytorch/manylinux2_28-builder:cuda12.8",
"package_type": "wheel",
"build_name": "wheel-py3_14t-cuda12_8",
"validation_runner": "windows.g4dn.xlarge",
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.8.0",
"use_split_build": false
},
{
"python_version": "3.14t",
"gpu_arch_type": "xpu",
"gpu_arch_version": "",
"desired_cuda": "xpu",
"container_image": "pytorch/manylinux2_28-builder:xpu",
"package_type": "wheel",
"build_name": "wheel-py3_14t-xpu",
"validation_runner": "windows.4xlarge",
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/xpu",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.8.0",
"use_split_build": false
}
]
}
60 changes: 60 additions & 0 deletions tools/tests/assets/build_matrix_windows_wheel_xpu.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,66 @@
"upload_to_base_bucket": "yes",
"stable_version": "2.8.0",
"use_split_build": false
},
{
"python_version": "3.14",
"gpu_arch_type": "cpu",
"gpu_arch_version": "",
"desired_cuda": "cpu",
"container_image": "pytorch/manylinux2_28-builder:cpu",
"package_type": "wheel",
"build_name": "wheel-py3_14-cpu",
"validation_runner": "windows.4xlarge",
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
"channel": "nightly",
"upload_to_base_bucket": "yes",
"stable_version": "2.8.0",
"use_split_build": false
},
{
"python_version": "3.14",
"gpu_arch_type": "xpu",
"gpu_arch_version": "",
"desired_cuda": "xpu",
"container_image": "pytorch/manylinux2_28-builder:xpu",
"package_type": "wheel",
"build_name": "wheel-py3_14-xpu",
"validation_runner": "windows.4xlarge",
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/xpu",
"channel": "nightly",
"upload_to_base_bucket": "yes",
"stable_version": "2.8.0",
"use_split_build": false
},
{
"python_version": "3.14t",
"gpu_arch_type": "cpu",
"gpu_arch_version": "",
"desired_cuda": "cpu",
"container_image": "pytorch/manylinux2_28-builder:cpu",
"package_type": "wheel",
"build_name": "wheel-py3_14t-cpu",
"validation_runner": "windows.4xlarge",
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu",
"channel": "nightly",
"upload_to_base_bucket": "yes",
"stable_version": "2.8.0",
"use_split_build": false
},
{
"python_version": "3.14t",
"gpu_arch_type": "xpu",
"gpu_arch_version": "",
"desired_cuda": "xpu",
"container_image": "pytorch/manylinux2_28-builder:xpu",
"package_type": "wheel",
"build_name": "wheel-py3_14t-xpu",
"validation_runner": "windows.4xlarge",
"installation": "pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/xpu",
"channel": "nightly",
"upload_to_base_bucket": "yes",
"stable_version": "2.8.0",
"use_split_build": false
}
]
}
Loading