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
9 changes: 4 additions & 5 deletions tools/scripts/generate_binary_build_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"3.14": "3.14.3",
}
CUDA_ARCHES_DICT = {
"nightly": ["12.6", "13.0", "13.2", "13.4"],
"test": ["12.6", "13.0", "13.2", "13.4"],
"nightly": ["12.6", "13.0", "13.2"],
"test": ["12.6", "13.0", "13.2"],
"release": ["12.6", "13.0", "13.2"],
}

Expand All @@ -60,7 +60,6 @@
"12.8": {"cuda": "12.8.0", "cudnn": "9"},
"13.0": {"cuda": "13.0.0", "cudnn": "9"},
"13.2": {"cuda": "13.2.0", "cudnn": "9"},
"13.4": {"cuda": "13.4.0", "cudnn": "9"},
}

STABLE_CUDA_VERSIONS = {
Expand All @@ -69,11 +68,11 @@
"release": "13.0",
}

CUDA_AARCH64_ARCHES = ["12.6-aarch64", "13.0-aarch64", "13.2-aarch64", "13.4-aarch64"]
CUDA_AARCH64_ARCHES = ["12.6-aarch64", "13.0-aarch64", "13.2-aarch64"]

# CUDA versions with no Windows torch build to depend on; see
# CUDA_ARCHES_NO_WINDOWS in pytorch/pytorch.
CUDA_ARCHES_NO_WINDOWS = ["13.4"]
CUDA_ARCHES_NO_WINDOWS: list[str] = []

PACKAGE_TYPES = ["wheel", "libtorch"]
CXX11_ABI = "cxx11-abi"
Expand Down
112 changes: 0 additions & 112 deletions tools/tests/assets/build_matrix_linux_wheel_cuda.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,6 @@
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.10",
"gpu_arch_type": "cuda",
"gpu_arch_version": "13.4",
"desired_cuda": "cu134",
"container_image": "pytorch/manylinux2_28-builder:cuda13.4",
"package_type": "manywheel",
"build_name": "manywheel-py3_10-cuda13_4",
"validation_runner": "linux.g5.4xlarge.nvidia.gpu",
"installation": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu134",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.10",
"gpu_arch_type": "rocm",
Expand Down Expand Up @@ -154,20 +140,6 @@
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.11",
"gpu_arch_type": "cuda",
"gpu_arch_version": "13.4",
"desired_cuda": "cu134",
"container_image": "pytorch/manylinux2_28-builder:cuda13.4",
"package_type": "manywheel",
"build_name": "manywheel-py3_11-cuda13_4",
"validation_runner": "linux.g5.4xlarge.nvidia.gpu",
"installation": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu134",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.11",
"gpu_arch_type": "rocm",
Expand Down Expand Up @@ -252,20 +224,6 @@
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.12",
"gpu_arch_type": "cuda",
"gpu_arch_version": "13.4",
"desired_cuda": "cu134",
"container_image": "pytorch/manylinux2_28-builder:cuda13.4",
"package_type": "manywheel",
"build_name": "manywheel-py3_12-cuda13_4",
"validation_runner": "linux.g5.4xlarge.nvidia.gpu",
"installation": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu134",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.12",
"gpu_arch_type": "rocm",
Expand Down Expand Up @@ -350,20 +308,6 @@
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.13",
"gpu_arch_type": "cuda",
"gpu_arch_version": "13.4",
"desired_cuda": "cu134",
"container_image": "pytorch/manylinux2_28-builder:cuda13.4",
"package_type": "manywheel",
"build_name": "manywheel-py3_13-cuda13_4",
"validation_runner": "linux.g5.4xlarge.nvidia.gpu",
"installation": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu134",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.13",
"gpu_arch_type": "rocm",
Expand Down Expand Up @@ -448,20 +392,6 @@
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.14",
"gpu_arch_type": "cuda",
"gpu_arch_version": "13.4",
"desired_cuda": "cu134",
"container_image": "pytorch/manylinux2_28-builder:cuda13.4",
"package_type": "manywheel",
"build_name": "manywheel-py3_14-cuda13_4",
"validation_runner": "linux.g5.4xlarge.nvidia.gpu",
"installation": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu134",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.14",
"gpu_arch_type": "rocm",
Expand Down Expand Up @@ -546,20 +476,6 @@
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.14t",
"gpu_arch_type": "cuda",
"gpu_arch_version": "13.4",
"desired_cuda": "cu134",
"container_image": "pytorch/manylinux2_28-builder:cuda13.4",
"package_type": "manywheel",
"build_name": "manywheel-py3_14t-cuda13_4",
"validation_runner": "linux.g5.4xlarge.nvidia.gpu",
"installation": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu134",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.14t",
"gpu_arch_type": "rocm",
Expand Down Expand Up @@ -644,20 +560,6 @@
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.15",
"gpu_arch_type": "cuda",
"gpu_arch_version": "13.4",
"desired_cuda": "cu134",
"container_image": "pytorch/manylinux2_28-builder:cuda13.4",
"package_type": "manywheel",
"build_name": "manywheel-py3_15-cuda13_4",
"validation_runner": "linux.g5.4xlarge.nvidia.gpu",
"installation": "pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu134",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.15",
"gpu_arch_type": "rocm",
Expand Down Expand Up @@ -742,20 +644,6 @@
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.15t",
"gpu_arch_type": "cuda",
"gpu_arch_version": "13.4",
"desired_cuda": "cu134",
"container_image": "pytorch/manylinux2_28-builder:cuda13.4",
"package_type": "manywheel",
"build_name": "manywheel-py3_15t-cuda13_4",
"validation_runner": "linux.g5.4xlarge.nvidia.gpu",
"installation": "pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu134",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.15t",
"gpu_arch_type": "rocm",
Expand Down
112 changes: 0 additions & 112 deletions tools/tests/assets/build_matrix_linux_wheel_cuda_norocm.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,6 @@
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.10",
"gpu_arch_type": "cuda",
"gpu_arch_version": "13.4",
"desired_cuda": "cu134",
"container_image": "pytorch/manylinux2_28-builder:cuda13.4",
"package_type": "manywheel",
"build_name": "manywheel-py3_10-cuda13_4",
"validation_runner": "linux.g5.4xlarge.nvidia.gpu",
"installation": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu134",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.11",
"gpu_arch_type": "cpu",
Expand Down Expand Up @@ -126,20 +112,6 @@
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.11",
"gpu_arch_type": "cuda",
"gpu_arch_version": "13.4",
"desired_cuda": "cu134",
"container_image": "pytorch/manylinux2_28-builder:cuda13.4",
"package_type": "manywheel",
"build_name": "manywheel-py3_11-cuda13_4",
"validation_runner": "linux.g5.4xlarge.nvidia.gpu",
"installation": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu134",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.12",
"gpu_arch_type": "cpu",
Expand Down Expand Up @@ -196,20 +168,6 @@
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.12",
"gpu_arch_type": "cuda",
"gpu_arch_version": "13.4",
"desired_cuda": "cu134",
"container_image": "pytorch/manylinux2_28-builder:cuda13.4",
"package_type": "manywheel",
"build_name": "manywheel-py3_12-cuda13_4",
"validation_runner": "linux.g5.4xlarge.nvidia.gpu",
"installation": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu134",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.13",
"gpu_arch_type": "cpu",
Expand Down Expand Up @@ -266,20 +224,6 @@
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.13",
"gpu_arch_type": "cuda",
"gpu_arch_version": "13.4",
"desired_cuda": "cu134",
"container_image": "pytorch/manylinux2_28-builder:cuda13.4",
"package_type": "manywheel",
"build_name": "manywheel-py3_13-cuda13_4",
"validation_runner": "linux.g5.4xlarge.nvidia.gpu",
"installation": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu134",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.14",
"gpu_arch_type": "cpu",
Expand Down Expand Up @@ -336,20 +280,6 @@
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.14",
"gpu_arch_type": "cuda",
"gpu_arch_version": "13.4",
"desired_cuda": "cu134",
"container_image": "pytorch/manylinux2_28-builder:cuda13.4",
"package_type": "manywheel",
"build_name": "manywheel-py3_14-cuda13_4",
"validation_runner": "linux.g5.4xlarge.nvidia.gpu",
"installation": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu134",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.14t",
"gpu_arch_type": "cpu",
Expand Down Expand Up @@ -406,20 +336,6 @@
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.14t",
"gpu_arch_type": "cuda",
"gpu_arch_version": "13.4",
"desired_cuda": "cu134",
"container_image": "pytorch/manylinux2_28-builder:cuda13.4",
"package_type": "manywheel",
"build_name": "manywheel-py3_14t-cuda13_4",
"validation_runner": "linux.g5.4xlarge.nvidia.gpu",
"installation": "pip3 install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu134",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.15",
"gpu_arch_type": "cpu",
Expand Down Expand Up @@ -476,20 +392,6 @@
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.15",
"gpu_arch_type": "cuda",
"gpu_arch_version": "13.4",
"desired_cuda": "cu134",
"container_image": "pytorch/manylinux2_28-builder:cuda13.4",
"package_type": "manywheel",
"build_name": "manywheel-py3_15-cuda13_4",
"validation_runner": "linux.g5.4xlarge.nvidia.gpu",
"installation": "pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu134",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.15t",
"gpu_arch_type": "cpu",
Expand Down Expand Up @@ -545,20 +447,6 @@
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
},
{
"python_version": "3.15t",
"gpu_arch_type": "cuda",
"gpu_arch_version": "13.4",
"desired_cuda": "cu134",
"container_image": "pytorch/manylinux2_28-builder:cuda13.4",
"package_type": "manywheel",
"build_name": "manywheel-py3_15t-cuda13_4",
"validation_runner": "linux.g5.4xlarge.nvidia.gpu",
"installation": "pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu134",
"channel": "nightly",
"upload_to_base_bucket": "no",
"stable_version": "2.13.0"
}
]
}
Loading
Loading