python3Packages.pytorch: remove unused USE_MKL variable

PyTorch will always try to find MKL, USE_MKL does not do anything
anymore. So, we have to rely on MKL not being in the build
environment.
This commit is contained in:
Daniël de Kok 2021-04-10 08:10:28 +02:00
parent 209f4678f2
commit 0603c25738

View File

@ -167,8 +167,6 @@ in buildPythonPackage rec {
# We only do an imports check, so do not build tests either.
BUILD_TEST = setBool false;
USE_MKL = setBool (blas.implementation == "mkl");
# Unlike MKL, oneDNN (née MKLDNN) is FOSS, so we enable support for
# it by default. PyTorch currently uses its own vendored version
# of oneDNN through Intel iDeep.