python3Packages.pytorch: require big-parallel

This compiles in usually about 2h15m with a 2-core build, but about 10m
on a big-parallel machine.
This commit is contained in:
Luke Granger-Brown 2021-04-26 00:44:48 +00:00
parent 300d303d25
commit 0d4abe5d4b

View File

@ -297,6 +297,9 @@ in buildPythonPackage rec {
install_name_tool -change @rpath/libc10.dylib $lib/lib/libc10.dylib $lib/lib/libshm.dylib
'';
# Builds in 2+h with 2 cores, and ~15m with a big-parallel builder.
requiredSystemFeatures = [ "big-parallel" ];
meta = with lib; {
description = "Open source, prototype-to-production deep learning platform";
homepage = "https://pytorch.org/";