[trt] Algorithm recorder/replayer (#4)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch-canary/pull/4
Pull Request resolved: https://github.com/pytorch/pytorch/pull/67211
Record the algorithm selection, dump it in json format and replay it. This has potential to
1. consistently repro the issue (algo selection could be sensitive to local benchmark timing)
2. manual edit the dumped json file to control algorithm selection.
Reviewed By: wushirong, 842974287
Differential Revision: D31888836
fbshipit-source-id: 4611fda548f7391776f1ad61572b1f59fa4665b6