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
This commit is contained in:
stefan
2026-04-23 00:56:33 -07:00
parent 1b1259fa2f
commit 99c6c3881a
@@ -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: