From cca4dd305ba85b64cf38bdf5b185794b2d81cfb6 Mon Sep 17 00:00:00 2001 From: Gregory James Comer Date: Thu, 6 Nov 2025 15:54:05 -0800 Subject: [PATCH] Relax conv1d test tolerances --- backends/xnnpack/test/ops/test_conv1d.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backends/xnnpack/test/ops/test_conv1d.py b/backends/xnnpack/test/ops/test_conv1d.py index 036500b29d5..35d9bced512 100644 --- a/backends/xnnpack/test/ops/test_conv1d.py +++ b/backends/xnnpack/test/ops/test_conv1d.py @@ -126,7 +126,9 @@ 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.02, rtol=0.02 + num_runs=10, + atol=0.04 if quantized else 1e-03, + rtol=0.02 if quantized else 1e-03, ) def test_fp16_conv1d(self):