Skip to content

Commit 61cd18b

Browse files
committed
Allow conv1d test to vary by 1 quant step from reference
1 parent 3405317 commit 61cd18b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/xnnpack/test/ops/test_conv1d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def _test_conv1d(
126126
# quantized operators to be loaded and we don't want to do that in the test.
127127
if not skip_to_executorch:
128128
tester.to_executorch().serialize().run_method_and_compare_outputs(
129-
num_runs=10, atol=0.02, rtol=0.02
129+
num_runs=10, atol=0.02, rtol=0.02, qtol=1
130130
)
131131

132132
def test_fp16_conv1d(self):

0 commit comments

Comments
 (0)