From 910aa85de55063284a95034316fee43954bb1a46 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 3 Aug 2024 01:55:03 +0200 Subject: [PATCH] python312Packages.botorch: require big-parallel system feature The test phase for this package is very CPU intensive and prone to getting stuck when it has to compete for resources. --- pkgs/development/python-modules/botorch/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/botorch/default.nix b/pkgs/development/python-modules/botorch/default.nix index 5a26f8f18151..7a860437c1b8 100644 --- a/pkgs/development/python-modules/botorch/default.nix +++ b/pkgs/development/python-modules/botorch/default.nix @@ -62,6 +62,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "botorch" ]; + # needs lots of undisturbed CPU time or prone to getting stuck + requiredSystemFeatures = [ "big-parallel" ]; + meta = with lib; { changelog = "https://github.com/pytorch/botorch/blob/${src.rev}/CHANGELOG.md"; description = "Bayesian Optimization in PyTorch";