Skip to content

Commit

Permalink
Increase the tolerance of test_conv1d (pytorch#8100)
Browse files Browse the repository at this point in the history
In crease the tolerance of  test_conv1d

It's flaky in the CI test. Double the tolerance to avoid it.
  • Loading branch information
iseeyuan authored Jan 31, 2025
1 parent 42f744a commit e8ee36c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/xnnpack/test/ops/test_conv1d.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit e8ee36c

Please sign in to comment.