python3Packages.tinygrad: fix GPU tests (#524737)

This commit is contained in:
Connor Baker
2026-05-27 15:22:12 +00:00
committed by GitHub
@@ -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)