Skip to content

Commit

Permalink
python312Packages.mmcv: disable failing tests on aarch64-linux
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Jan 13, 2025
1 parent fc74710 commit 0b60aea
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions pkgs/development/python-modules/mmcv/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,

Expand Down Expand Up @@ -120,16 +121,23 @@ buildPythonPackage rec {
# test_cnn test_ops really requires gpus to be useful.
# some of the tests take exceedingly long time.
# the rest of the tests are disabled due to sandbox env.
disabledTests = [
"test_cnn"
"test_ops"
"test_fileclient"
"test_load_model_zoo"
"test_processing"
"test_checkpoint"
"test_hub"
"test_reader"
];
disabledTests =
[
"test_cnn"
"test_ops"
"test_fileclient"
"test_load_model_zoo"
"test_processing"
"test_checkpoint"
"test_hub"
"test_reader"
]
++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
# flaky numerical tests (AssertionError)
"test_ycbcr2rgb"
"test_ycbcr2bgr"
"test_tensor2imgs"
];

meta = {
description = "Foundational Library for Computer Vision Research";
Expand Down

0 comments on commit 0b60aea

Please sign in to comment.