From 99c6c3881a3cfb8ff48eb4c7dc6e9fcec7d1e515 Mon Sep 17 00:00:00 2001 From: stefan Date: Tue, 7 Apr 2026 20:45:40 -0700 Subject: [PATCH] python3Packages.accelerate: 1.12.0 -> 1.13.0 Changelog: https://github.com/huggingface/accelerate/releases/tag/v1.13.0 Diff: https://github.com/huggingface/accelerate/compare/v1.12.0...v1.13.0 --- .../python-modules/accelerate/default.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/accelerate/default.nix b/pkgs/development/python-modules/accelerate/default.nix index e90ed4ddfe38..0672d6fb97cd 100644 --- a/pkgs/development/python-modules/accelerate/default.nix +++ b/pkgs/development/python-modules/accelerate/default.nix @@ -34,14 +34,14 @@ buildPythonPackage (finalAttrs: { pname = "accelerate"; - version = "1.12.0"; + version = "1.13.0"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "accelerate"; tag = "v${finalAttrs.version}"; - hash = "sha256-PwwaQSLOm+8Hd3trM1P+jRhYyoWM3QxOe5XT99haEmg="; + hash = "sha256-IfKePiU38fUd5HefaS7J1s8Mb6hVmldINemxAJY+83o="; }; buildInputs = [ llvmPackages.openmp ]; @@ -180,15 +180,7 @@ buildPythonPackage (finalAttrs: { ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ # RuntimeError: torch_shm_manager: execl failed: Permission denied "CheckpointTest" - ] - ++ - lib.optionals - (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64 && (pythonAtLeast "3.14")) - [ - # https://github.com/huggingface/accelerate/issues/3899 - "test_accelerate_test" - "test_cpu" - ]; + ]; disabledTestPaths = lib.optionals (!(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64)) [ # numerous instances of torch.multiprocessing.spawn.ProcessRaisedException: