From b6777dccdf98dbd704ff7cb5bf68f0186ac37148 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 18 Dec 2025 20:41:31 +0000 Subject: [PATCH] python3Packages.gpytorch: disable tests that hang forever on x86_64-darwin --- pkgs/development/python-modules/gpytorch/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/gpytorch/default.nix b/pkgs/development/python-modules/gpytorch/default.nix index e6ac8ecadd65..0a880c23842a 100644 --- a/pkgs/development/python-modules/gpytorch/default.nix +++ b/pkgs/development/python-modules/gpytorch/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, @@ -60,6 +61,14 @@ buildPythonPackage rec { "test_t_matmul_matrix" ]; + disabledTestPaths = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ + # Hang forever + "test/examples/test_spectral_mixture_gp_regression.py" + "test/kernels/test_spectral_mixture_kernel.py" + "test/utils/test_nearest_neighbors.py" + "test/variational/test_nearest_neighbor_variational_strategy.py" + ]; + meta = { description = "Highly efficient and modular implementation of Gaussian Processes, with GPU acceleration"; homepage = "https://gpytorch.ai";