From d295eb6cb49dcb13c0e9b8188b927b330092e320 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 27 May 2026 10:35:07 +0200 Subject: [PATCH] python3Packages.tinygrad: fix GPU tests --- pkgs/development/python-modules/tinygrad/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/tinygrad/default.nix b/pkgs/development/python-modules/tinygrad/default.nix index e5d5a5a870f0..910f54ac14c1 100644 --- a/pkgs/development/python-modules/tinygrad/default.nix +++ b/pkgs/development/python-modules/tinygrad/default.nix @@ -308,6 +308,15 @@ buildPythonPackage (finalAttrs: { gpuCheck = tinygrad.overridePythonAttrs (old: { requiredSystemFeatures = [ "cuda" ]; + disabledTests = (old.disabledTests or [ ]) ++ [ + # Require internet access + "TestWhisper" + "test_hevc_decode" + + # AssertionError: Not equal to tolerance + "test_svd_general" + ]; + pytestFlags = (old.pytestFlags or [ ]) ++ [ # When running in parallel, with GPU support, some tests become flaky: # RuntimeError: Wait timeout: 30000 ms! (the signal is not set to 153, but 151)