From 0632c8b268bd49a96e73e250255f61fea0ac3110 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Mon, 5 Jan 2026 15:09:48 -0800 Subject: [PATCH] python314Packages.accelerate: disable failing tests --- pkgs/development/python-modules/accelerate/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/accelerate/default.nix b/pkgs/development/python-modules/accelerate/default.nix index 3ad999e18178..811eb965dd0c 100644 --- a/pkgs/development/python-modules/accelerate/default.nix +++ b/pkgs/development/python-modules/accelerate/default.nix @@ -162,7 +162,15 @@ buildPythonPackage rec { ++ 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: