Enable CI on AWS T4 Metal instance (#1236)
Summary:
Enable T4 metal CI runs and fix functorch userbenchmark.
We need to fix a few places to run functorch userbenchmark:
1. in the CI workflow, we need to install the TorchBench models (later, we could optimize this to only install the models needed by userbenchmarks)
2. fix a bug in the functorch userbenchmark code ("git_version" -> "pytorch_git_version")
3. allow upload script to annotate with different CI platforms
Test workflow:
https://github.com/pytorch/benchmark/actions/runs/3211948969
Pull Request resolved: https://github.com/pytorch/benchmark/pull/1236
Reviewed By: zou3519
Differential Revision: D40197309
Pulled By: zou3519
fbshipit-source-id: 1ed1ed287c96359f1708b0abc054e1106a481879