Skip to content

Commit

Permalink
update cuDNN to 8.9.2.26 for CUDA 12.1 (#1436)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrblck committed Jun 22, 2023
1 parent b50bdf6 commit ee72466
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CUDA_UPGRADE_GUIDE.MD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Here is the supported matrix for CUDA and CUDNN
| --- | --- | --- |
| 11.7 | 8.5.0.96 | Stable CUDA Release |
| 11.8 | 8.7.0.84 | Latest CUDA Release |
| 12.1 | 8.8.1.3 | Latest CUDA Nightly |
| 12.1 | 8.9.2.26 | Latest CUDA Nightly |


### B. Check the package availability
Expand Down
10 changes: 5 additions & 5 deletions common/install_cuda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function install_118 {
}

function install_121 {
echo "Installing CUDA 12.1 and cuDNN 8.8 and NCCL 2.17.1"
echo "Installing CUDA 12.1 and cuDNN 8.9 and NCCL 2.17.1"
rm -rf /usr/local/cuda-12.1 /usr/local/cuda
# install CUDA 12.1.0 in the same container
wget -q https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda_12.1.0_530.30.02_linux.run
Expand All @@ -45,10 +45,10 @@ function install_121 {

# cuDNN license: https://developer.nvidia.com/cudnn/license_agreement
mkdir tmp_cudnn && cd tmp_cudnn
wget -q https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-x86_64/cudnn-linux-x86_64-8.8.1.3_cuda12-archive.tar.xz -O cudnn-linux-x86_64-8.8.1.3_cuda12-archive.tar.xz
tar xf cudnn-linux-x86_64-8.8.1.3_cuda12-archive.tar.xz
cp -a cudnn-linux-x86_64-8.8.1.3_cuda12-archive/include/* /usr/local/cuda/include/
cp -a cudnn-linux-x86_64-8.8.1.3_cuda12-archive/lib/* /usr/local/cuda/lib64/
wget -q https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-x86_64/cudnn-linux-x86_64-8.9.2.26_cuda12-archive.tar.xz -O cudnn-linux-x86_64-8.9.2.26_cuda12-archive.tar.xz
tar xf cudnn-linux-x86_64-8.9.2.26_cuda12-archive.tar.xz
cp -a cudnn-linux-x86_64-8.9.2.26_cuda12-archive/include/* /usr/local/cuda/include/
cp -a cudnn-linux-x86_64-8.9.2.26_cuda12-archive/lib/* /usr/local/cuda/lib64/
cd ..
rm -rf tmp_cudnn
ldconfig
Expand Down
2 changes: 1 addition & 1 deletion windows/internal/cuda_install.bat
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if not exist "%SRC_DIR%\temp_build\%CUDA_INSTALL_EXE%" (
set "ARGS=cuda_profiler_api_12.1 thrust_12.1 nvcc_12.1 cuobjdump_12.1 nvprune_12.1 nvprof_12.1 cupti_12.1 cublas_12.1 cublas_dev_12.1 cudart_12.1 cufft_12.1 cufft_dev_12.1 curand_12.1 curand_dev_12.1 cusolver_12.1 cusolver_dev_12.1 cusparse_12.1 cusparse_dev_12.1 npp_12.1 npp_dev_12.1 nvrtc_12.1 nvrtc_dev_12.1 nvml_dev_12.1 nvjitlink_12.1"
)

set CUDNN_FOLDER=cudnn-windows-x86_64-8.8.1.3_cuda12-archive
set CUDNN_FOLDER=cudnn-windows-x86_64-8.9.2.26_cuda12-archive
set CUDNN_LIB_FOLDER="lib"
set "CUDNN_INSTALL_ZIP=%CUDNN_FOLDER%.zip"
if not exist "%SRC_DIR%\temp_build\%CUDNN_INSTALL_ZIP%" (
Expand Down

0 comments on commit ee72466

Please sign in to comment.