Skip to content

Commit

Permalink
Revert D23966878: [pytorch][PR] This PR flips a switch to enable PE + TE
Browse files Browse the repository at this point in the history
Test Plan: revert-hammer

Differential Revision:
D23966878 (pytorch@dddb685)

Original commit changeset: 2010a0b07c59

fbshipit-source-id: 132556039730fd3e4babd0d7ca8daf9c8d14f728
  • Loading branch information
Mike Ruberry authored and facebook-github-bot committed Sep 29, 2020
1 parent 1ed1a2f commit 56af122
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion torch/csrc/jit/passes/tensorexpr_fuser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ bool isSupported(Node* node) {

} // namespace tensorexpr

static bool texpr_fuser_enabled_ = true;
static bool texpr_fuser_enabled_ = false;

void setTensorExprFuserEnabled(bool val) {
texpr_fuser_enabled_ = val;
Expand Down
2 changes: 1 addition & 1 deletion torch/csrc/jit/runtime/profiling_graph_executor_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static std::atomic<bool> executor_mode{true};
static std::atomic<bool> profiling_mode{false};
#else
static std::atomic<bool> executor_mode{true};
static std::atomic<bool> profiling_mode{true};
static std::atomic<bool> profiling_mode{false};
#endif

static std::atomic<size_t> num_profiled_runs{1};
Expand Down

0 comments on commit 56af122

Please sign in to comment.