From 386fb0c3cf119a3bb4b83d2379aa9c3f9cbdd009 Mon Sep 17 00:00:00 2001 From: Someone Serge Date: Wed, 6 Apr 2022 01:11:46 +0300 Subject: [PATCH] cudatoolkit: 11.6 -> 11.5 --- pkgs/development/compilers/cudatoolkit/default.nix | 2 +- pkgs/development/libraries/science/math/cudnn/default.nix | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/compilers/cudatoolkit/default.nix b/pkgs/development/compilers/cudatoolkit/default.nix index b02926f7e119..d7fa6ee59f0a 100644 --- a/pkgs/development/compilers/cudatoolkit/default.nix +++ b/pkgs/development/compilers/cudatoolkit/default.nix @@ -90,5 +90,5 @@ rec { # latest cudnn, nccl, cutensor, etc! It sometimes happens that CUDA versions # are released prior to compatibility with the rest of the ecosystem. And # don't forget to request a review from @NixOS/cuda-maintainers! - cudatoolkit_11 = cudatoolkit_11_6; + cudatoolkit_11 = cudatoolkit_11_5; # update me to 11_6 when cudnn>=8.3.3 } diff --git a/pkgs/development/libraries/science/math/cudnn/default.nix b/pkgs/development/libraries/science/math/cudnn/default.nix index d07f7e6c0b2e..a3f785c5b38f 100644 --- a/pkgs/development/libraries/science/math/cudnn/default.nix +++ b/pkgs/development/libraries/science/math/cudnn/default.nix @@ -15,7 +15,6 @@ , cudatoolkit_11_3 , cudatoolkit_11_4 , cudatoolkit_11_5 -, cudatoolkit_11_6 , fetchurl , lib }: @@ -90,7 +89,7 @@ rec { cudatoolkit = cudatoolkit_10_2; # See https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-832/support-matrix/index.html#cudnn-cuda-hardware-versions. minCudaVersion = "10.2.00000"; - maxCudaVersion = "11.6.00001"; + maxCudaVersion = "11.5.99999"; mkSrc = cudatoolkit: let v = if lib.versions.majorMinor cudatoolkit.version == "10.2" then "10.2" else "11.5"; in fetchurl { @@ -109,7 +108,6 @@ rec { cudnn_8_3_cudatoolkit_11_3 = cudnn_8_3_cudatoolkit_10_2.override { cudatoolkit = cudatoolkit_11_3; }; cudnn_8_3_cudatoolkit_11_4 = cudnn_8_3_cudatoolkit_10_2.override { cudatoolkit = cudatoolkit_11_4; }; cudnn_8_3_cudatoolkit_11_5 = cudnn_8_3_cudatoolkit_10_2.override { cudatoolkit = cudatoolkit_11_5; }; - cudnn_8_3_cudatoolkit_11_6 = cudnn_8_3_cudatoolkit_10_2.override { cudatoolkit = cudatoolkit_11_6; }; cudnn_8_3_cudatoolkit_10 = cudnn_8_3_cudatoolkit_10_2.override { cudatoolkit = cudatoolkit_10; }; cudnn_8_3_cudatoolkit_11 = cudnn_8_3_cudatoolkit_10_2.override { cudatoolkit = cudatoolkit_11; };