Skip to content

Commit 0e49280

Browse files
committed
[actions] Bump CUDA version to 12.4
1 parent 1bde477 commit 0e49280

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build_wheels_windows.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,26 +59,26 @@ jobs:
5959
uses: actions/cache@v3
6060
with:
6161
path: ./.cache/cuda_installer.exe
62-
key: cuda-installer-12.0.0
62+
key: cuda-installer-12.4.0
6363
- name: 🔧 Install NVIDIA CUDA Toolkit
6464
run: |
6565
$installer_path = "./.cache/cuda_installer.exe"
6666
if (-not (Test-Path $installer_path)) {
6767
echo "Downloading CUDA Toolkit..."
68-
$cuda_installer_url = "https://developer.download.nvidia.com/compute/cuda/12.0.0/network_installers/cuda_12.0.0_windows_network.exe"
68+
$cuda_installer_url = "https://developer.download.nvidia.com/compute/cuda/12.4.0/network_installers/cuda_12.4.0_windows_network.exe"
6969
New-Item -Path (Split-Path $installer_path) -ItemType Directory -Force
7070
curl -L -o $installer_path $cuda_installer_url
7171
} else {
7272
echo "CUDA Toolkit installer found in cache."
7373
}
7474
echo "Installing CUDA Toolkit silently..."
75-
$arguments = "-s nvcc_12.0 cudart_12.0 cublas_12.0 cublas_dev_12.0 cufft_12.0 cufft_dev_12.0 npp_12.0 npp_dev_12.0"
75+
$arguments = "-s nvcc_12.4 cudart_12.4 cublas_12.4 cublas_dev_12.4 cufft_12.4 cufft_dev_12.4 npp_12.4 npp_dev_12.4"
7676
Start-Process -FilePath $installer_path -ArgumentList $arguments -Wait -NoNewWindow
7777
echo "Adding CUDA to PATH..."
78-
$CUDA_PATH = "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.0"
78+
$CUDA_PATH = "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4"
7979
echo "CUDA_PATH=$CUDA_PATH" | Out-File -FilePath $env:GITHUB_ENV -Append
8080
shell: pwsh
81-
#$arguments = "-s cublas_12.0 cublas_dev_12.0 cudart_12.0 cufft_12.0 cufft_dev_12.0 npp_12.0 npp_dev_12.0 nvcc_12.0"
81+
#$arguments = "-s cublas_12.4 cublas_dev_12.4 cudart_12.4 cufft_12.4 cufft_dev_12.4 npp_12.4 npp_dev_12.4 nvcc_12.4"
8282
#echo "$CUDA_PATH\bin" | Out-File -FilePath $env:GITHUB_PATH -Append
8383
#echo "$CUDA_PATH\lib\x64" | Out-File -FilePath $env:GITHUB_PATH -Append
8484
#echo "$CUDA_PATH"

0 commit comments

Comments
 (0)