We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ba0dca commit 8fa343cCopy full SHA for 8fa343c
pkgs/development/python-modules/torch/source/default.nix
@@ -364,7 +364,7 @@ buildPythonPackage rec {
364
''
365
+ lib.optionalString (cudaSupport && cudaPackages ? cudnn) ''
366
export CUDNN_INCLUDE_DIR=${lib.getLib cudnn}/include
367
- export CUDNN_LIB_DIR=${cudnn.lib}/lib
+ export CUDNN_LIB_DIR=${lib.getLib cudnn}/lib
368
369
+ lib.optionalString rocmSupport ''
370
export ROCM_PATH=${rocmtoolkit_joined}
0 commit comments