Commit 5d07ce0
authored
Cadence tests should retry (#19313)
With these giant 500+ op tests we often will get a flakey 1/500 failure.
Just adding retries to make this a little less noisy.
Failure is something like FAILED
backends/cadence/aot/tests/test_replace_ops_passes.py::TestReplaceOpsPasses::test_replace_conv2d_with_linear
- AssertionError: Pass validation failed for pass
ReplaceTrivialConvWithLinear. Output tensor 0 differs by max
1.525879e-05. Expected rtol=2e-05, atol=1e-06. Original output:
tensor([[[[ 6.5604]],1 parent 165ac2e commit 5d07ce0
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
0 commit comments