Modify run.py to use torch.profiler (#473)
Summary:
Deprecate the use of torch.autograd.profiler, and use
torch.profiler. Clean up a few linting errors. Print
Tensorboard traces to a default folder, and add an
option for the user to configure the trace folder.
Pull Request resolved: https://github.com/pytorch/benchmark/pull/473
Reviewed By: wconstab
Differential Revision: D31219666
Pulled By: aaronenyeshi
fbshipit-source-id: 82b90af61d902f0b472b70de0beac168047e4489