Commit 7727610
always set deterministic for xpu accuracy test (#149028)
Summary:
On Intel Max 1550, models like Super_SloMo can actually pass accuracy test after set deterministic, because we do not use atomic in upsampling bilinear backward in some cases when running on XPU. Furthermore, I guess the only reason not to set deterministic on these models is just avoiding errors. We should use warn_only = True.
X-link: pytorch/pytorch#149028
Approved by: https://github.com/guangyey, https://github.com/desertfire
Reviewed By: clee2000
Differential Revision: D72218565
fbshipit-source-id: ecf3fc337c48dc9e16d124ffc50ab444c1af763a
Co-authored-by: Yu, Guangye <106960996+guangyey@users.noreply.github.com>1 parent cf97e29 commit 7727610
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3542 | 3542 | | |
3543 | 3543 | | |
3544 | 3544 | | |
| 3545 | + | |
| 3546 | + | |
3545 | 3547 | | |
3546 | 3548 | | |
3547 | 3549 | | |
| |||
0 commit comments