Skip to content

Commit be4fc12

Browse files
committed
[dist] Update to latest CUDA and CuDNN versions
1 parent 53658c8 commit be4fc12

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/build_wheels_windows.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
uses: actions/cache@v3
7373
with:
7474
path: .deps/Nvidia
75-
key: nvidia-deps-cuda-12.4.0-cudnn-8.9.7.29
75+
key: nvidia-deps-cuda-13.1.1-cudnn-9.18.1.3
7676
- name: Clone NVIDIA dependencies
7777
if: steps.cache-nvidia-deps.outputs.cache-hit != 'true'
7878
env:
@@ -85,27 +85,27 @@ jobs:
8585
shell: bash
8686
- name: 🔧 Install NVIDIA CUDA Toolkit
8787
run: |
88-
$installer_path = ".deps/Nvidia/cuda_12.4.0_windows_network.exe"
88+
$installer_path = ".deps/Nvidia/cuda_13.1.1_windows_network.exe"
8989
if (-not (Test-Path $installer_path)) {
9090
throw "CUDA Toolkit installer not found at $installer_path"
9191
}
9292
echo "Installing CUDA Toolkit silently..."
93-
$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"
93+
$arguments = "-s nvcc_13.1 cudart_13.1 cublas_13.1 cublas_dev_13.1 cufft_13.1 cufft_dev_13.1 npp_13.1 npp_dev_13.1 visual_studio_integration_13.1"
9494
Start-Process -FilePath $installer_path -ArgumentList $arguments -Wait -NoNewWindow
9595
echo "Adding CUDA to PATH..."
96-
$CUDA_PATH = "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4"
96+
$CUDA_PATH = "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.1"
9797
echo "CUDA_PATH=$CUDA_PATH" | Out-File -FilePath $env:GITHUB_ENV -Append
9898
Copy-Item -Path "$CUDA_PATH/bin/*" -Destination . -Include "*.dll"
9999
shell: pwsh
100100
- name: 🔧 Install NVIDIA CuDNN
101101
run: |
102-
$cudnn_path = ".deps/Nvidia/cudnn-windows-x86_64-8.9.7.29_cuda12-archive.zip"
102+
$cudnn_path = ".deps/Nvidia/cudnn-windows-x86_64-9.18.1.3_cuda13-archive.zip"
103103
if (-not (Test-Path $cudnn_path)) {
104104
throw "CuDNN archive not found at $cudnn_path"
105105
}
106106
echo "Installing CuDNN..."
107107
7z x $cudnn_path
108-
$CUDNN_PATH = "D:/a/opencv-python-cuda/opencv-python-cuda/cudnn-windows-x86_64-8.9.7.29_cuda12-archive"
108+
$CUDNN_PATH = "D:/a/opencv-python-cuda/opencv-python-cuda/cudnn-windows-x86_64-9.18.1.3_cuda13-archive"
109109
echo "CUDNN_LIBRARY=$CUDNN_PATH/lib/x64/cudnn.lib" | Out-File -FilePath $env:GITHUB_ENV -Append
110110
echo "CUDNN_INCLUDE_DIR=$CUDNN_PATH/include" | Out-File -FilePath $env:GITHUB_ENV -Append
111111
Copy-Item -Path "$CUDNN_PATH/bin/*" -Destination . -Include "*.dll"

0 commit comments

Comments
 (0)