From 1ef351f4afa35309c6c1b70ab234bbbd74a83cbb Mon Sep 17 00:00:00 2001 From: Samuel Ainsworth Date: Sun, 3 Apr 2022 03:07:59 +0000 Subject: [PATCH] caffe: use CUDA 10.1, cuDNN 7.6 The current version of caffe, v1.0, does not build with any later versions of cuDNN and CUDA 10.1 is the latest CUDA that is supported by cuDNN 7.6. --- pkgs/top-level/all-packages.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f9d6b6cc76f6..7779533060d4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33021,6 +33021,9 @@ with pkgs; ### SCIENCE / MATH caffe = callPackage ../applications/science/math/caffe ({ + cudaSupport = config.cudaSupport or false; + cudatoolkit = cudatoolkit_10_1; + cudnn = cudnn_7_6_cudatoolkit_10_1; opencv3 = opencv3WithoutCuda; # Used only for image loading. blas = openblas; inherit (darwin.apple_sdk.frameworks) Accelerate CoreGraphics CoreVideo;