Enable tests for dist profiling with torch.profiler (#56216)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/56216
Verifies that the newly added distributed profiling works as expected for torch.profiler.
Example trace from `test_ddp_profiling`:
Note that tests are disabled internally due to an unrelated hang issue but run in OSS.
ghstack-source-id: 127357993
Reviewed By: mrshenli
Differential Revision: D27645105
fbshipit-source-id: 7ddba271acd8f7fbce1f9c5370830d5310314736