Enable parallel clang-tidy on ec2 runner (#60870)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/60870
This PR makes `clang-tidy` run on our self-hosted runner in a parallel fashion.
Fixes #60867
Test Plan: #60871
Reviewed By: jbschlosser
Differential Revision: D29434240
Pulled By: 1ntEgr8
fbshipit-source-id: cead30ed718ddf5e14b13afe70cb209aa16b44a0