Skip to content

Commit cb950d7

Browse files
Change CUDA install method to 'local' for version 13 on Windows
1 parent 34c30f0 commit cb950d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ jobs:
8585
with:
8686
# Temporary: Use CUDA 13.0.0 for Windows until 13.0.1 is supported with this action.
8787
cuda: ${{ matrix.cuda_version == '13.0.1' && '13.0.0' || matrix.cuda_version }}
88-
method: "network"
88+
# TODO: Build fails when using "network" on CUDA 13.
89+
method: ${{ startsWith(matrix.cuda_version, '13.') && 'local' || 'network' }}
8990
# The "crt" component is added for CUDA 13.
9091
sub-packages: ${{ format('["nvcc"{0},"cudart","cusparse","cublas","thrust","cublas_dev","cusparse_dev"]', startsWith(matrix.cuda_version, '13.') && ',"crt"' || '') }}
9192
use-github-cache: false

0 commit comments

Comments
 (0)