Commit 0f12951
[Intel gpu] always set deterministic for xpu accuracy test (pytorch#149028)
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.
Pull Request resolved: pytorch#149028
Approved by: https://github.com/guangyey, https://github.com/desertfire
Co-authored-by: Yu, Guangye <[email protected]>1 parent 7ab8532 commit 0f12951
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