python310Packages.accelerate: unbreak

Disable known failing test on torch>=2.0
This commit is contained in:
Ben Darwin 2023-04-28 11:40:53 -04:00
parent 5f40a2b935
commit c7383a8e78

View file

@ -53,6 +53,9 @@ buildPythonPackage rec {
# try to download data:
"FeatureExamplesTests"
"test_infer_auto_device_map_on_t0pp"
# known failure with Torch>2.0; see https://github.com/huggingface/accelerate/pull/1339:
# (remove for next release)
"test_gradient_sync_cpu_multi"
] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
# usual aarch64-linux RuntimeError: DataLoader worker (pid(s) <...>) exited unexpectedly
"CheckpointTest"