python3Packages.accelerate: 1.12.0 -> 1.13.0 (#507788)

This commit is contained in:
Peder Bergebakken Sundt
2026-05-01 18:35:50 +00:00
committed by GitHub
@@ -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: