Torchbench - explicitly enable JIT profiling executor (#1095)
Summary:
Pull Request resolved: https://github.com/pytorch/benchmark/pull/1095
Internally, torchbench is built with a dependency which statically sets `getExecutorMode() = false;`. That means that when we run torchbench, at initialization time, profiling executor gets disabled. NVFuser can't be enabled without profiling executor, so we need to explicitly enable the profiling executor to override any static settings.
Reviewed By: xuzhao9
Differential Revision: D38554746
fbshipit-source-id: 1e959fc25035b8db0cefed3c7a91968a34364b88