Consistent accuracy results with dynamobench (#1941)
Summary:
X-link: https://github.com/pytorch/pytorch/pull/110189
Pull Request resolved: https://github.com/pytorch/benchmark/pull/1941
Use the upstream `torch._dynamo.same` function in accuracy checking and remove the self-hosted version in torchbench.
Now cmf_10x and ads_dhen_5x can run in deterministic mode, enable deepcopy and deterministic mode.
Reviewed By: desertfire, jackiexu1992, mengluy0125
Differential Revision: D49639733
fbshipit-source-id: c2cdc6c57ce6e5190d66a8201fb83493002a2c68