You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Thanks for the analysis @NicolasHug. Perhaps it's just an issue of using too small tolerance. I think 2e-3 is reasonable if it resolves the issue. I'm happy to review it if you want to send a PR.
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:vision/test/test_ops.py
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.The text was updated successfully, but these errors were encountered: