Commit 0b60aea1 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python312Packages.mmcv: disable failing tests on aarch64-linux

parent fc747102
Loading
Loading
Loading
Loading
+18 −10
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,

@@ -120,7 +121,8 @@ 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 = [
  disabledTests =
    [
      "test_cnn"
      "test_ops"
      "test_fileclient"
@@ -129,6 +131,12 @@ buildPythonPackage rec {
      "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 = {