Revert D30417127: Remove flag to toggle CPU fusion in the presence of parallelism
authorBert Maher <bertrand@fb.com>
Sat, 21 Aug 2021 10:36:09 +0000 (03:36 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Sat, 21 Aug 2021 10:38:07 +0000 (03:38 -0700)
commit76da46ccdccd2fa06fd17b58edbaca98100be5ed
treef764a9057df4c42a9c27f1ce38e2b4c1ef4a0993
parent8871ff29b743948d1225389d5b7068f37b22750b
Revert D30417127: Remove flag to toggle CPU fusion in the presence of parallelism

Test Plan: revert-hammer

Differential Revision:
D30417127 (https://github.com/pytorch/pytorch/commit/6600bc96517269c608ea47b76b6bda9476c7bcef)

Original commit changeset: b77d7c68364f

fbshipit-source-id: 6b52fb83a84fe241945e3cb3eeb71050d1d9c8f1
test/cpp/tensorexpr/test_te_fuser_pass.cpp
test/jit/test_profiler.py
test/test_jit_fuser_te.py
test/test_tensorexpr.py
torch/csrc/jit/passes/tensorexpr_fuser.cpp
torch/csrc/jit/passes/tensorexpr_fuser.h
torch/csrc/jit/python/init.cpp