Skip to content

Commit 53ae45d

Browse files
committed
Fix Windows CUDA 13 build
1 parent 370433c commit 53ae45d

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/cuda/Windows_install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ CUDA_LINK=${CUDA_LINKS[$CUDA_VERSION]}
1616
CUDA_SHORT=${CUDA_VERSION:2:2}.${CUDA_VERSION:4:1}
1717
curl -k -L $CUDA_LINK --output _cuda_installer.exe
1818

19-
# crt component is separate in CUDA 13.0+
20-
CRT_COMPONENT=""
19+
# crt and nvvm components are separate in CUDA 13.0+
20+
EXTRA_COMPONENTS=""
2121
if [[ ${CUDA_VERSION:2:2} -ge 13 ]]; then
22-
CRT_COMPONENT="crt_${CUDA_SHORT}"
22+
EXTRA_COMPONENTS="crt_${CUDA_SHORT} nvvm_${CUDA_SHORT}"
2323
fi
2424

25-
PowerShell -Command "Start-Process -FilePath \"_cuda_installer.exe\" -ArgumentList \"-s nvcc_${CUDA_SHORT} cublas_dev_${CUDA_SHORT} cudart_${CUDA_SHORT} cufft_dev_${CUDA_SHORT} curand_dev_${CUDA_SHORT} cusolver_dev_${CUDA_SHORT} cusparse_dev_${CUDA_SHORT} thrust_${CUDA_SHORT} npp_dev_${CUDA_SHORT} nvrtc_dev_${CUDA_SHORT} nvml_dev_${CUDA_SHORT} ${CRT_COMPONENT}\" -Wait -NoNewWindow"
25+
PowerShell -Command "Start-Process -FilePath \"_cuda_installer.exe\" -ArgumentList \"-s nvcc_${CUDA_SHORT} cublas_dev_${CUDA_SHORT} cudart_${CUDA_SHORT} cufft_dev_${CUDA_SHORT} curand_dev_${CUDA_SHORT} cusolver_dev_${CUDA_SHORT} cusparse_dev_${CUDA_SHORT} thrust_${CUDA_SHORT} npp_dev_${CUDA_SHORT} nvrtc_dev_${CUDA_SHORT} nvml_dev_${CUDA_SHORT} ${EXTRA_COMPONENTS}\" -Wait -NoNewWindow"
2626
rm _cuda_installer.exe

get_jobs.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,6 @@ def main():
8080
if os_name == MACOS_ARM64 and pv[1] <= 9:
8181
continue
8282

83-
# skip CUDA 13.0 on Windows for now
84-
if os_name == WINDOWS_X64 and compute_platform == "cu130":
85-
continue
86-
8783
jobs.append({
8884
"os": os_name,
8985
"torch-version": torch_version,

0 commit comments

Comments
 (0)