Skip to content

Commit 302cb06

Browse files
martinlsmMartin Lindström
and
Martin Lindström
authored
Arm backend: Add pytest.mark.flaky on U85 tests in test_mm.py (#9926)
The output verification sometimes fails for the mm tests on U85. Add pytest.mark.flaky decorators to the tests to prevent sporadic failures. Co-authored-by: Martin Lindström <[email protected]>
1 parent 6adff9c commit 302cb06

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

backends/arm/test/ops/test_mm.py

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
from typing import Callable
88

9+
import pytest
910
import torch
1011
from executorch.backends.arm.test import common
1112
from executorch.backends.arm.test.tester.test_pipeline import (
@@ -53,6 +54,7 @@ def test_mm_tosa_u55(test_data_generator: Callable[[], tuple]):
5354

5455

5556
@parameterized.expand(MM.test_data_generators)
57+
@pytest.mark.flaky # Investigate flakiness (MLETORCH-870)
5658
def test_mm_tosa_u85(test_data_generator: Callable[[], tuple]):
5759
test_data = test_data_generator()
5860
EthosU85PipelineBI[test_t](MM(), test_data, MM.aten_op, MM.exir_op).run()
@@ -67,6 +69,7 @@ def test_mm_tosa_u55_on_fvp(test_data_generator: Callable[[], tuple]):
6769

6870
@parameterized.expand(MM.test_data_generators)
6971
@common.SkipIfNoCorstone320
72+
@pytest.mark.flaky # Investigate flakiness (MLETORCH-870)
7073
def test_mm_tosa_u85_on_fvp(test_data_generator: Callable[[], tuple]):
7174
test_data = test_data_generator()
7275
EthosU85PipelineBI[test_t](

0 commit comments

Comments
 (0)