Merge pull request #298609 from mschwaig/fix-torch-with-rocm
python3Packages.torchWithRocm: fix build
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
|
||||
# ROCm dependencies
|
||||
rocmSupport ? config.rocmSupport,
|
||||
rocmPackages,
|
||||
rocmPackages_5,
|
||||
gpuTargets ? [ ]
|
||||
}:
|
||||
|
||||
@@ -60,6 +60,8 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user