Skip to content

Commit

Permalink
python3Packages.torchWithRocm: switch back to ROCm 5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mschwaig committed Mar 24, 2024
1 parent edeff1b commit 1c92ae9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/python-modules/torch/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,16 @@

# ROCm dependencies
rocmSupport ? config.rocmSupport,
rocmPackages,
rocmPackages_5,
gpuTargets ? [ ]
}:

let
inherit (lib) attrsets lists strings trivial;
inherit (cudaPackages) cudaFlags cudnn nccl;

rocmPackages = rocmPackages_5;

setBool = v: if v then "1" else "0";

# https://github.com/pytorch/pytorch/blob/v2.0.1/torch/utils/cpp_extension.py#L1744
Expand Down

0 comments on commit 1c92ae9

Please sign in to comment.