Skip to content

Commit 30cf0ac

Browse files
committed
re-enable CUDA 12.1 builds for Windows
1 parent 61dffa6 commit 30cf0ac

5 files changed

Lines changed: 4178 additions & 299 deletions

.github/scripts/generate_binary_build_matrix.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@ def generate_conda_matrix(os: str) -> List[Dict[str, str]]:
9999
python_versions = FULL_PYTHON_VERSIONS
100100
if os == "linux" or os == "windows":
101101
arches += CUDA_ARCHES
102-
# skip CUDA 12.1 builds on Windows
103-
if os == "windows" and "12.1" in arches:
104-
arches.remove("12.1")
105102
for python_version in python_versions:
106103
# We don't currently build conda packages for rocm
107104
for arch_version in arches:
@@ -138,9 +135,6 @@ def generate_libtorch_matrix(
138135
arches += ROCM_ARCHES
139136
elif os == "windows":
140137
arches += CUDA_ARCHES
141-
# skip CUDA 12.1 builds on Windows
142-
if "12.1" in arches:
143-
arches.remove("12.1")
144138

145139
if libtorch_variants is None:
146140
libtorch_variants = [
@@ -206,9 +200,6 @@ def generate_wheels_matrix(
206200
arches += CPU_CXX11_ABI_ARCH + CUDA_ARCHES + ROCM_ARCHES
207201
elif os == "windows":
208202
arches += CUDA_ARCHES
209-
# skip CUDA 12.1 builds on Windows
210-
if "12.1" in arches:
211-
arches.remove("12.1")
212203

213204
ret: List[Dict[str, str]] = []
214205
for python_version in python_versions:

0 commit comments

Comments
 (0)