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: https://github.com/pytorch/pytorch/pull/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>
Author
generatedunixname499836121