Closed
Description
A series of recent unrelated PRs exposed the fact that DeformConv2d
's autocast unit-test is flaky and it can fail if we hit a bad seed. To resolve the problem, PR #3032 introduced a temporary workaround that fixes the random_seed:
Lines 657 to 659 in 06ebee1
The above is not a great solution. We should investigate and fix the problem properly by adjusting the unit-test.
To reproduce the issue, remove the set_rng_seed
call from the test and rerun it.