|
36 | 36 | }
|
37 | 37 |
|
38 | 38 | PACKAGE_TYPES = ["wheel", "conda", "libtorch"]
|
39 |
| -PRE_CXX11_ABI = "pre-cxx11" |
40 | 39 | CXX11_ABI = "cxx11-abi"
|
41 | 40 | RELEASE = "release"
|
42 | 41 | DEBUG = "debug"
|
@@ -141,39 +140,29 @@ def initialize_globals(channel: str, build_python_only: bool) -> None:
|
141 | 140 | else:
|
142 | 141 | PYTHON_ARCHES = PYTHON_ARCHES_DICT[channel]
|
143 | 142 | WHEEL_CONTAINER_IMAGES = {
|
144 |
| - "11.8": "pytorch/manylinux2_28-builder:cuda11.8", |
145 |
| - "12.1": "pytorch/manylinux2_28-builder:cuda12.1", |
146 |
| - "12.4": "pytorch/manylinux2_28-builder:cuda12.4", |
147 |
| - "12.6": "pytorch/manylinux2_28-builder:cuda12.6", |
148 |
| - "12.8": "pytorch/manylinux2_28-builder:cuda12.8", |
| 143 | + **{ |
| 144 | + gpu_arch: f"pytorch/manylinux2_28-builder:cuda{gpu_arch}" |
| 145 | + for gpu_arch in CUDA_ARCHES |
| 146 | + }, |
149 | 147 | **{
|
150 | 148 | gpu_arch: f"pytorch/manylinux2_28-builder:rocm{gpu_arch}"
|
151 | 149 | for gpu_arch in ROCM_ARCHES
|
152 | 150 | },
|
153 | 151 | CPU: "pytorch/manylinux2_28-builder:cpu",
|
154 | 152 | XPU: "pytorch/manylinux2_28-builder:xpu",
|
155 |
| - # TODO: Migrate CUDA_AARCH64 image to manylinux2_28_aarch64-builder:cuda12.4 |
| 153 | + # TODO: Migrate CUDA_AARCH64 image to manylinux2_28_aarch64-builder:cuda12.6 |
156 | 154 | CPU_AARCH64: "pytorch/manylinux2_28_aarch64-builder:cpu-aarch64",
|
157 |
| - CUDA_AARCH64: "pytorch/manylinuxaarch64-builder:cuda12.4", |
| 155 | + CUDA_AARCH64: "pytorch/manylinuxaarch64-builder:cuda12.6", |
158 | 156 | }
|
159 | 157 | LIBTORCH_CONTAINER_IMAGES = {
|
160 |
| - **{ |
161 |
| - (gpu_arch, PRE_CXX11_ABI): f"pytorch/manylinux2_28-builder:cuda{gpu_arch}" |
162 |
| - for gpu_arch in CUDA_ARCHES |
163 |
| - }, |
164 | 158 | **{
|
165 | 159 | (gpu_arch, CXX11_ABI): f"pytorch/libtorch-cxx11-builder:cuda{gpu_arch}"
|
166 | 160 | for gpu_arch in CUDA_ARCHES
|
167 | 161 | },
|
168 |
| - **{ |
169 |
| - (gpu_arch, PRE_CXX11_ABI): f"pytorch/manylinux2_28-builder:rocm{gpu_arch}" |
170 |
| - for gpu_arch in ROCM_ARCHES |
171 |
| - }, |
172 | 162 | **{
|
173 | 163 | (gpu_arch, CXX11_ABI): f"pytorch/libtorch-cxx11-builder:rocm{gpu_arch}"
|
174 | 164 | for gpu_arch in ROCM_ARCHES
|
175 | 165 | },
|
176 |
| - (CPU, PRE_CXX11_ABI): "pytorch/manylinux2_28-builder:cpu", |
177 | 166 | (CPU, CXX11_ABI): "pytorch/libtorch-cxx11-builder:cpu",
|
178 | 167 | }
|
179 | 168 |
|
@@ -344,7 +333,7 @@ def generate_libtorch_matrix(
|
344 | 333 | if os == WINDOWS:
|
345 | 334 | abi_versions = [RELEASE, DEBUG]
|
346 | 335 | elif os == LINUX:
|
347 |
| - abi_versions = [PRE_CXX11_ABI, CXX11_ABI] |
| 336 | + abi_versions = [CXX11_ABI] |
348 | 337 | elif os in [MACOS_ARM64]:
|
349 | 338 | abi_versions = [CXX11_ABI]
|
350 | 339 | else:
|
|
0 commit comments