Skip to content

Commit 0e23765

Browse files
committed
Disable CUDA 12.4 build for Windows
1 parent c57c00b commit 0e23765

5 files changed

Lines changed: 307 additions & 3262 deletions

.github/scripts/generate_binary_build_matrix.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,9 @@ def generate_conda_matrix(os: str) -> List[Dict[str, str]]:
220220
python_versions = FULL_PYTHON_VERSIONS
221221
if os == "linux" or os == "windows":
222222
arches += CUDA_ARCHES
223+
# skip CUDA 12.4 builds on Windows
224+
if os == "windows" and "12.4" in arches:
225+
arches.remove("12.4")
223226
for python_version in python_versions:
224227
# We don't currently build conda packages for rocm
225228
for arch_version in arches:
@@ -256,6 +259,9 @@ def generate_libtorch_matrix(
256259
arches += ROCM_ARCHES
257260
elif os == "windows":
258261
arches += CUDA_ARCHES
262+
# skip CUDA 12.4 builds on windows
263+
if "12.4" in arches:
264+
arches.remove("12.4")
259265

260266
if libtorch_variants is None:
261267
libtorch_variants = [
@@ -320,6 +326,9 @@ def generate_wheels_matrix(
320326
arches += CPU_CXX11_ABI_ARCH + CUDA_ARCHES + ROCM_ARCHES
321327
elif os == "windows":
322328
arches += CUDA_ARCHES
329+
# skip CUDA 12.4 builds on Windows
330+
if "12.4" in arches:
331+
arches.remove("12.4")
323332
elif os == "linux-aarch64":
324333
# Only want the one arch as the CPU type is different and
325334
# uses different build/test scripts

0 commit comments

Comments
 (0)