Skip to content

Commit 8eb6f7b

Browse files
Arm backend: Unmark test_bmm:tosa_bi as flaky
Replace pytest.mark_flaky with qtol=1 for TOSA BI tests in test_bmm.py Signed-off-by: Oscar Andersson <[email protected]> Change-Id: Idb71178cb458557a74d1518b8c8c3283ff7ff9ad
1 parent 0393595 commit 8eb6f7b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

backends/arm/test/ops/test_bmm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ def test_bmm_tosa_MI_single_input(test_data: input_t1):
7171
pipeline.run()
7272

7373

74-
@pytest.mark.flaky(reruns=5) # TODO: Investigate flakyness (MLETORCH-534)
7574
@common.parametrize("test_data", BMM.test_data_generators)
7675
def test_bmm_tosa_BI(test_data: input_t1):
77-
pipeline = TosaPipelineBI[input_t1](BMM(), test_data(), aten_op_bmm, exir_op_bmm)
76+
pipeline = TosaPipelineBI[input_t1](
77+
BMM(), test_data(), aten_op_bmm, exir_op_bmm, qtol=1
78+
)
7879
pipeline.run()
7980

8081

81-
@pytest.mark.flaky(reruns=5) # TODO: Investigate flakyness (MLETORCH-534)
8282
@common.parametrize("test_data", BMMSingleInput.test_data_generators)
8383
def test_bmm_tosa_BI_single_input(test_data: input_t1):
8484
pipeline = TosaPipelineBI[input_t1](

backends/arm/test/ops/test_mm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def test_mm_tosa_MI(test_data: Tuple):
4141

4242
@common.parametrize("test_data", MM.test_data_generators)
4343
def test_mm_tosa_BI(test_data: Tuple):
44-
TosaPipelineBI[test_t](MM(), test_data(), MM.aten_op, MM.exir_op).run()
44+
TosaPipelineBI[test_t](MM(), test_data(), MM.aten_op, MM.exir_op, qtol=1).run()
4545

4646

4747
@common.parametrize("test_data", MM.test_data_generators)

0 commit comments

Comments
 (0)