From fb3dcdb31b8a244863f49c0cc0f3b0e3b719e467 Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Thu, 2 Feb 2023 16:48:54 -0500 Subject: [PATCH] python310Packages.pytorch-metric-learning: disable erroring tests on aarch64-linux due to pytorch DataLoader issue (similar to b5fd12d0). --- .../python-modules/pytorch-metric-learning/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pytorch-metric-learning/default.nix b/pkgs/development/python-modules/pytorch-metric-learning/default.nix index 1e689e131679..d019e2b62917 100644 --- a/pkgs/development/python-modules/pytorch-metric-learning/default.nix +++ b/pkgs/development/python-modules/pytorch-metric-learning/default.nix @@ -1,4 +1,5 @@ -{ lib +{ stdenv +, lib , buildPythonPackage , fetchFromGitHub , isPy27 @@ -56,6 +57,10 @@ buildPythonPackage rec { "test_pca" # flaky "test_distributed_classifier_loss_and_miner" + ] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [ + # RuntimeError: DataLoader worker (pid(s) <...>) exited unexpectedly + "test_global_embedding_space_tester" + "test_with_same_parent_label_tester" ]; meta = {