From e8ee36c3864c29573be99ee2cb9d443a51e4ce24 Mon Sep 17 00:00:00 2001 From: Mengtao Yuan Date: Fri, 31 Jan 2025 11:41:54 -0800 Subject: [PATCH] Increase the tolerance of test_conv1d (#8100) In crease the tolerance of test_conv1d It's flaky in the CI test. Double the tolerance to avoid it. --- backends/xnnpack/test/ops/test_conv1d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/xnnpack/test/ops/test_conv1d.py b/backends/xnnpack/test/ops/test_conv1d.py index 741645928a..b4c8c41492 100644 --- a/backends/xnnpack/test/ops/test_conv1d.py +++ b/backends/xnnpack/test/ops/test_conv1d.py @@ -123,7 +123,7 @@ def _test_conv1d( # quantized operators to be loaded and we don't want to do that in the test. if not skip_to_executorch: tester.to_executorch().serialize().run_method_and_compare_outputs( - num_runs=10, atol=0.01, rtol=0.01 + num_runs=10, atol=0.02, rtol=0.02 ) def test_fp16_conv1d(self):