python3Packages.pytorch: reference dnnl by new name oneDNN

This commit is contained in:
Benjamin Hipple 2020-05-09 14:45:49 -04:00
parent 47105a1689
commit ecef2975e3

View file

@ -4,7 +4,7 @@
openMPISupport ? false, openmpi ? null, openMPISupport ? false, openmpi ? null,
buildDocs ? false, buildDocs ? false,
cudaArchList ? null, cudaArchList ? null,
numpy, pyyaml, cffi, click, typing, cmake, dnnl, hypothesis, numactl, psutil, numpy, pyyaml, cffi, click, typing, cmake, oneDNN, hypothesis, numactl, psutil,
linkFarm, symlinkJoin, linkFarm, symlinkJoin,
# virtual pkg that consistently instantiates blas across nixpkgs # virtual pkg that consistently instantiates blas across nixpkgs
@ -205,7 +205,7 @@ in buildPythonPackage rec {
ninja ninja
] ++ lib.optionals cudaSupport [ cudatoolkit_joined ]; ] ++ lib.optionals cudaSupport [ cudatoolkit_joined ];
buildInputs = [ blas blas.provider dnnl ] buildInputs = [ blas blas.provider oneDNN ]
++ lib.optionals cudaSupport [ cudnn magma nccl ] ++ lib.optionals cudaSupport [ cudnn magma nccl ]
++ lib.optionals stdenv.isLinux [ numactl ]; ++ lib.optionals stdenv.isLinux [ numactl ];