Skip to content

Commit 2221e50

Browse files
committed
test(ci): validate fixed CUDA 11.8 wheel builds
1 parent 0cb47e8 commit 2221e50

1 file changed

Lines changed: 20 additions & 3 deletions

File tree

‎.github/workflows/test-cuda-118-wheels.yaml‎

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
matrix:
1919
os:
2020
- ubuntu-22.04
21-
- windows-2022
21+
- windows-2019
2222
defaults:
2323
run:
2424
shell: pwsh
@@ -58,10 +58,27 @@ jobs:
5858
$cudaVersion = $env:CUDAVER
5959
$cudaChannel = "nvidia/label/cuda-$cudaVersion"
6060
if ($IsLinux) {
61-
mamba install -y --channel-priority flexible --override-channels -c $cudaChannel "${cudaChannel}::cuda-toolkit=$cudaVersion" "${cudaChannel}::cuda-nvcc_linux-64" "${cudaChannel}::cuda-cccl" "${cudaChannel}::cuda-cudart" "${cudaChannel}::cuda-cudart-dev"
61+
$cudaPackages = @(
62+
"${cudaChannel}::cuda-nvcc_linux-64=11.8.0",
63+
"${cudaChannel}::cuda-cccl=11.8.89",
64+
"${cudaChannel}::cuda-cudart=11.8.89",
65+
"${cudaChannel}::cuda-cudart-dev=11.8.89",
66+
"${cudaChannel}::cuda-driver-dev=11.8.89",
67+
"${cudaChannel}::libcublas=11.11.3.6",
68+
"${cudaChannel}::libcublas-dev=11.11.3.6"
69+
)
70+
mamba install -y --channel-priority strict --override-channels -c $cudaChannel $cudaPackages
6271
python -m pip install build wheel
6372
} elseif ($IsWindows) {
64-
mamba install -y --channel-priority flexible --override-channels -c $cudaChannel "${cudaChannel}::cuda-toolkit=$cudaVersion" "${cudaChannel}::cuda-nvcc_win-64" "${cudaChannel}::cuda-cccl" "${cudaChannel}::cuda-cudart" "${cudaChannel}::cuda-cudart-dev"
73+
$cudaPackages = @(
74+
"${cudaChannel}::cuda-nvcc_win-64=11.8.0",
75+
"${cudaChannel}::cuda-cccl=11.8.89",
76+
"${cudaChannel}::cuda-cudart=11.8.89",
77+
"${cudaChannel}::cuda-cudart-dev=11.8.89",
78+
"${cudaChannel}::libcublas=11.11.3.6",
79+
"${cudaChannel}::libcublas-dev=11.11.3.6"
80+
)
81+
mamba install -y --channel-priority strict --override-channels -c $cudaChannel $cudaPackages
6582
python -m pip install build wheel ninja
6683
} else {
6784
throw 'Unsupported CUDA wheel build platform'

0 commit comments

Comments
 (0)