Fix torch_onnx patch accuracy bug in benchmark (#130586)
Summary:
The ONNX related compilers have another route of accuracy check, and this PR brings torch_onnx compiler to the right measurement.
X-link: https://github.com/pytorch/pytorch/pull/130586
Approved by: https://github.com/justinchuby
Reviewed By: izaitsevfb
Differential Revision: D59724163
fbshipit-source-id: 5bdaa15e433d1908a20011d1ea6c370da9242850