Skip to content

Commit 497e4a0

Browse files
committed
fix(ci): include CUDA 12.5 Windows libraries
1 parent 31e9b52 commit 497e4a0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-wheels-cuda.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ jobs:
151151
if ($cudaVersion -like '12.5.*') {
152152
# The Windows 12.5 toolkit meta-package pulls conda compiler
153153
# activation scripts that can overflow cmd.exe's line limit after
154-
# MSVC is already initialized. The build only needs nvcc, cudart,
155-
# and headers from the NVIDIA label.
156-
$cudaPackages = @($nvccPackage)
154+
# MSVC is already initialized. Install the smaller pieces the
155+
# CUDA backend actually needs without pulling the compiler meta.
156+
$cudaPackages = @($nvccPackage, "${cudaChannel}::cuda-libraries-dev=$cudaVersion")
157157
} else {
158158
$cudaPackages = @("${cudaChannel}::cuda-toolkit=$cudaVersion", $nvccPackage)
159159
}

0 commit comments

Comments
 (0)