try fixing checkout dirty issue (#59450)
Summary:
Testing and see if checkout with submodules during build phase will help.
tentatively address https://github.com/pytorch/pytorch/issues/58867. but since the repro is not reliable. we cant be sure.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/59450
Reviewed By: malfet
Differential Revision: D28908537
Pulled By: walterddr
fbshipit-source-id: 21ad1392a5066554b5c633f31616ab3e6541c54d
Author
Rong Rong (AI Infra)