Skip to content

Commit 1f6c465

Browse files
Arm backend: Update flaky tests (#12104)
Fixes a few flaky tests in Arm backend. Signed-off-by: Oscar Andersson <[email protected]>
1 parent bf9cd34 commit 1f6c465

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

backends/arm/test/models/test_deit_tiny_arm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def test_deit_tiny_tosa_BI():
5252
aten_op=[],
5353
exir_op=[],
5454
use_to_edge_transform_and_lower=True,
55-
atol=1,
55+
atol=1.5,
5656
qtol=1,
5757
)
5858
pipeline.run()

backends/arm/test/ops/test_amax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def test_amax_u55_BI_not_delegated():
9797
fvp_xfails = {"rank_4_mult_batches": "MLETORCH-517 : Multiple batches not supported"}
9898

9999

100-
@common.parametrize("test_data", Amax.test_data, fvp_xfails)
100+
@common.parametrize("test_data", Amax.test_data, fvp_xfails, strict=False)
101101
@common.XfailIfNoCorstone320
102102
def test_amax_u85_BI(test_data: Amax.input_t):
103103
data, dim, keep_dims = test_data()

backends/arm/test/ops/test_amin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def test_amin_u55_BI_not_delegated():
106106
fvp_xfails = {"rank_4_mult_batches": "MLETORCH-517 : Multiple batches not supported"}
107107

108108

109-
@common.parametrize("test_data", Amin.test_data, fvp_xfails)
109+
@common.parametrize("test_data", Amin.test_data, fvp_xfails, strict=False)
110110
@common.XfailIfNoCorstone320
111111
def test_amin_u85_BI(test_data: Amin.input_t):
112112
data, dim, keep_dims = test_data()

0 commit comments

Comments
 (0)