Don't run cpp tests a second time in the sharded ort_test2 job (#53067)
Summary:
Currently, the same C++ tests are run in CI twice in the onnx_ort_test1 job as well as the onnx_ort_test2 job. This PR runs it once on our test1 job only.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/53067
Reviewed By: walterddr
Differential Revision: D26739857
Pulled By: janeyx99
fbshipit-source-id: 8960ad5c70181b8154a230914167286f1d9b64f6