diff --git a/pkgs/development/python-modules/tinygrad/default.nix b/pkgs/development/python-modules/tinygrad/default.nix index ae55395b2ca21c..0d3daf1d0baaef 100644 --- a/pkgs/development/python-modules/tinygrad/default.nix +++ b/pkgs/development/python-modules/tinygrad/default.nix @@ -45,14 +45,14 @@ buildPythonPackage rec { pname = "tinygrad"; - version = "0.9.2"; + version = "0.10.0"; pyproject = true; src = fetchFromGitHub { owner = "tinygrad"; repo = "tinygrad"; rev = "refs/tags/v${version}"; - hash = "sha256-fCKtJhZtqq6yjc6m41uvikzM9GArUlB8Q7jN/Np8+SM="; + hash = "sha256-IIyTb3jDUSEP2IXK6DLsI15E5N34Utt7xv86aTHpXf8="; }; patches = [ @@ -144,9 +144,9 @@ buildPythonPackage rec { disabledTests = [ - # flaky: https://github.com/tinygrad/tinygrad/issues/6542 - # TODO: re-enable when https://github.com/tinygrad/tinygrad/pull/6560 gets merged - "test_broadcastdot" + # Fixed in https://github.com/tinygrad/tinygrad/pull/7792 + # TODO: re-enable at next release + "test_kernel_cache_in_action" # Require internet access "test_benchmark_openpilot_model" @@ -181,8 +181,12 @@ buildPythonPackage rec { "test_transcribe_long_no_batch" "test_vgg7" ] - # Fail on aarch64-linux with AssertionError ++ lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [ + # Fixed in https://github.com/tinygrad/tinygrad/pull/7796 + # TODO: re-enable at next release + "test_interpolate_bilinear" + + # Fail with AssertionError "test_casts_from" "test_casts_to" "test_int8" @@ -210,6 +214,6 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; # Requires unpackaged pyobjc-framework-libdispatch and pyobjc-framework-metal - broken = stdenv.hostPlatform.isDarwin; + badPlatforms = lib.systems.inspect.predicates.isDarwin; }; }