From 2eecbc22da6b0182ea89722d0073128be360d943 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Tue, 12 Aug 2025 11:07:14 -0700 Subject: [PATCH] python3Packages.accelerate: disable test that fails to detect FSDP version --- pkgs/development/python-modules/accelerate/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/accelerate/default.nix b/pkgs/development/python-modules/accelerate/default.nix index 98059e764114..3ff0db1c2071 100644 --- a/pkgs/development/python-modules/accelerate/default.nix +++ b/pkgs/development/python-modules/accelerate/default.nix @@ -151,6 +151,10 @@ buildPythonPackage rec { # Fails in nixpkgs-review due to a port conflict with simultaneous python builds "test_config_compatibility" + + # Fails with `sandbox=false` by mis-configuring the model it's using. + # AttributeError: 'DistributedDataParallel' object has no attribute '_ignored_modules'. Did you mean: 'named_modules'? + "test_ignored_modules_regex" ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ # RuntimeError: torch_shm_manager: execl failed: Permission denied