From 8782ed0ea93b43f6deed67d80e95be2ecb8f8630 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Thu, 26 Feb 2026 21:06:27 -0800 Subject: [PATCH] python3Packages.accelerate: disable test that fails on Darwin under nixpkgs-review --- 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 4fecc975b934..0b47f04e3e60 100644 --- a/pkgs/development/python-modules/accelerate/default.nix +++ b/pkgs/development/python-modules/accelerate/default.nix @@ -165,6 +165,9 @@ buildPythonPackage (finalAttrs: { # Illegal instruction (x86_64) / Trace/BPT Error 5 (aarch64) "test_can_pickle_dataloader" + + # ImportError: cannot import name 'PretrainedConfig' from 'transformers.modeling_utils' + "test_nested_hook" ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ # RuntimeError: torch_shm_manager: execl failed: Permission denied