Skip to content

Commit 1da8b3a

Browse files
Modify sub-packages for CUDA version handling
Updated sub-packages to conditionally include 'crt' for CUDA 13.
1 parent b2aa522 commit 1da8b3a

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
@@ -86,7 +86,8 @@ jobs:
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 }}
8888
method: "network"
89-
sub-packages: '["nvcc","crt","cudart","cusparse","cublas","thrust","cublas_dev","cusparse_dev"]'
89+
# The "crt" component is added for CUDA 13.
90+
sub-packages: ${{ format('["nvcc"{0},"cudart","cusparse","cublas","thrust","cublas_dev","cusparse_dev"]', startsWith(matrix.cuda_version, '13.') && ',"crt"' || '') }} sub-packages: '["nvcc","crt","cudart","cusparse","cublas","thrust","cublas_dev","cusparse_dev"]'
9091
use-github-cache: false
9192
use-local-cache: false
9293
log-file-suffix: ${{matrix.os}}-${{matrix.cuda_version}}.txt

0 commit comments

Comments
 (0)