From 78fcf546548d0129de9b471ffe87716b6741d1ea Mon Sep 17 00:00:00 2001 From: Fang-Ching Date: Tue, 6 May 2025 16:51:45 +0100 Subject: [PATCH] Arm backend: increase atol, rtol to tosa_BI test in test_unary.py The output verification sometimes fails for the unary test on tosa_BI. Increase atol and rtol to the tests to prevent flaky failures. Signed-off-by: Fang-Ching Change-Id: I2856987699ec9adcafca12c43d1782a91c6956b6 --- backends/arm/test/ops/test_unary.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backends/arm/test/ops/test_unary.py b/backends/arm/test/ops/test_unary.py index f8359bb4339..dcb80b901e4 100644 --- a/backends/arm/test/ops/test_unary.py +++ b/backends/arm/test/ops/test_unary.py @@ -116,6 +116,8 @@ def test_unary_tosa_BI(test_data: input_t1): (test_data,), module.aten_op, module.exir_op, + atol=0.06, + rtol=0.01, ) pipeline.run()