From daa11e6f1d483e59eecbd7e4e5e955f6b928a865 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 24 Jun 2026 11:58:04 -0700 Subject: [PATCH 1/2] python3Packages.tinygrad: disable flaky performance test --- pkgs/development/python-modules/tinygrad/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/tinygrad/default.nix b/pkgs/development/python-modules/tinygrad/default.nix index f1b3c33ba2ed..6f07836aeec2 100644 --- a/pkgs/development/python-modules/tinygrad/default.nix +++ b/pkgs/development/python-modules/tinygrad/default.nix @@ -195,6 +195,8 @@ buildPythonPackage (finalAttrs: { # Flaky: # AssertionError: 2.1376906810000946 not less than 2.0 "test_recursive_pad" + # AssertionError: 23476983700 not greater than 60457564575 (performance test) + "test_flops" # Require internet access "testCopySHMtoDefault" From 081bf1547cbb233843ea58b4e5cc25bae12cc00e Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 24 Jun 2026 14:08:45 -0700 Subject: [PATCH 2/2] python3Packages.tinygrad: disable huggingface test that loads huge model --- pkgs/development/python-modules/tinygrad/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/tinygrad/default.nix b/pkgs/development/python-modules/tinygrad/default.nix index 6f07836aeec2..43aac9173f64 100644 --- a/pkgs/development/python-modules/tinygrad/default.nix +++ b/pkgs/development/python-modules/tinygrad/default.nix @@ -246,6 +246,10 @@ buildPythonPackage (finalAttrs: { "test_transcribe_long" "test_transcribe_long_no_batch" "test_vgg7" + # Downloads external model each time. + # Skipped when building on Hydra (no network access), + # but interferes with local builds + "test_xlm_roberta_large" ] ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ # Fail with AssertionError