Skip to content

Commit

Permalink
python312Packages.tinygrad: 0.9.2 -> 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Nov 21, 2024
1 parent 5c65b89 commit f5a71b1
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions pkgs/development/python-modules/tinygrad/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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;
};
}

0 comments on commit f5a71b1

Please sign in to comment.