Improve the release test by fixing bugs and add result analyzer (#1069)
Summary:
- Install pyyaml as a dependency.
- Add result analyzer and generate csv and userbenchmark json file
Test workflow:
https://github.com/pytorch/benchmark/actions/runs/2762791377
Pull Request resolved: https://github.com/pytorch/benchmark/pull/1069
Reviewed By: atalman
Differential Revision: D38291076
Pulled By: xuzhao9
fbshipit-source-id: 9cbab0ae8f034f2533cabf83fa4981d3ac0fa566