From e7eb9f1a007ad0559ec7813dc01fc0975c44795f Mon Sep 17 00:00:00 2001 From: Erik Lundell Date: Wed, 26 Mar 2025 14:25:03 +0100 Subject: [PATCH] Arm backend: set scalar div xfails to non strict. Seems to succeed in rare instances due to randomness. Signed-off-by: Erik Lundell Change-Id: I2b339a807f51b9cc21f47d60d9f31f70c6a2782c --- backends/arm/test/ops/test_scalars.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backends/arm/test/ops/test_scalars.py b/backends/arm/test/ops/test_scalars.py index 17dcd6f1d27..97af070120b 100644 --- a/backends/arm/test/ops/test_scalars.py +++ b/backends/arm/test/ops/test_scalars.py @@ -220,7 +220,9 @@ def _test_passes_tosa_BI_pipeline(module: torch.nn.Module, test_data: tuple): } -@common.parametrize("tensor_scalar_tests", tensor_scalar_tests, passes_xfails) +@common.parametrize( + "tensor_scalar_tests", tensor_scalar_tests, passes_xfails, strict=False +) def test_passes_BI(tensor_scalar_tests: list): op, x, y = tensor_scalar_tests _test_passes_tosa_BI_pipeline(op, (x, y))