Add option to skip GH validation for torch.hub (#62139)
Summary:
Split from https://github.com/pytorch/pytorch/pull/62072
Pull Request resolved: https://github.com/pytorch/pytorch/pull/62139
Reviewed By: mthrok
Differential Revision: D29891497
Pulled By: malfet
fbshipit-source-id: 5c0baf53a2acf8f95062bd001457e1f936011529