reland D29801875: .github: Clone pytorch to separate directory (#61972)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/61972
This reverts commit 716567504c8b4da8d764d9674595c2095b62080c.
Also includes change to add the TEST_CONFIG env variable so that test
reports get uploaded correctly.
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
Test Plan: Imported from OSS
Reviewed By: malfet
Differential Revision: D29821858
Pulled By: seemethere
fbshipit-source-id: 23602706446e0a95db6bd7cedfa665e8c4145168