Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ let
redistArch = flags.getRedistArch hostPlatform.system;

preferable =
p1: p2: (isSupported p2 -> isSupported p1) && (strings.versionAtLeast p1.version p2.version);
p1: p2: (isSupported p2 -> isSupported p1) && (strings.versionOlder p2.version p1.version);

# All the supported packages we can build for our platform.
# perSystemReleases :: List Package
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/torch/source/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ buildPythonPackage rec {
''
+ lib.optionalString (cudaSupport && cudaPackages ? cudnn) ''
export CUDNN_INCLUDE_DIR=${lib.getLib cudnn}/include
export CUDNN_LIB_DIR=${cudnn.lib}/lib
export CUDNN_LIB_DIR=${lib.getLib cudnn}/lib
''
+ lib.optionalString rocmSupport ''
export ROCM_PATH=${rocmtoolkit_joined}
Expand Down