python3Packages.accelerate: disable test that fails due to env configuration (#433157)

This commit is contained in:
Sandro 2025-08-18 20:02:02 +02:00 committed by GitHub
commit d22d525d5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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