From 15f46df973a1f250af9f93754fdc28209c77aab6 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 7 Dec 2024 00:30:52 +0100 Subject: [PATCH] python312Packages.accelerate: 1.1.0 -> 1.2.0 Diff: https://github.com/huggingface/accelerate/compare/refs/tags/v1.1.0...v1.2.0 Changelog: https://github.com/huggingface/accelerate/releases/tag/v1.2.0 --- pkgs/development/python-modules/accelerate/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/accelerate/default.nix b/pkgs/development/python-modules/accelerate/default.nix index ea8efbcad1b1..8ef90ce5de09 100644 --- a/pkgs/development/python-modules/accelerate/default.nix +++ b/pkgs/development/python-modules/accelerate/default.nix @@ -31,14 +31,14 @@ buildPythonPackage rec { pname = "accelerate"; - version = "1.1.0"; + version = "1.2.0"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "accelerate"; - rev = "refs/tags/v${version}"; - hash = "sha256-GBNe4zomy8dmfvYrk/9Q77Z6r+JJA+2dgAhJx2opqAc="; + tag = "v${version}"; + hash = "sha256-EH/WiEm2ILJBG7kuUOVmLs4eFiQ3xT8pFC+EhAJs6Q0="; }; buildInputs = [ llvmPackages.openmp ]; @@ -108,7 +108,7 @@ buildPythonPackage rec { # requires ptxas from cudatoolkit, which is unfree "test_dynamo_extract_model" ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin) [ + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # RuntimeError: 'accelerate-launch /nix/store/a7vhm7b74a7bmxc35j26s9iy1zfaqjs... "test_accelerate_test" "test_init_trackers"