From 6877e19448851556f207bcfc7e95c020c213d063 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Fri, 28 Nov 2025 12:25:56 -0800 Subject: [PATCH] python3Packages.accelerate: disable test_can_pickle_dataloader on Darwin --- pkgs/development/python-modules/accelerate/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/accelerate/default.nix b/pkgs/development/python-modules/accelerate/default.nix index b8c2be527e7f..9c609195cf9d 100644 --- a/pkgs/development/python-modules/accelerate/default.nix +++ b/pkgs/development/python-modules/accelerate/default.nix @@ -155,6 +155,9 @@ buildPythonPackage rec { # 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" + + # Illegal instruction (x86_64) / Trace/BPT Error 5 (aarch64) + "test_can_pickle_dataloader" ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ # RuntimeError: torch_shm_manager: execl failed: Permission denied