8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dda2c7c commit 5e6e52eCopy full SHA for 5e6e52e
torch/csrc/jit/jit_log.h
@@ -1,4 +1,5 @@
1
#pragma once
2
+#include <c10/util/StringUtil.h>
3
#include <torch/csrc/Export.h>
4
#include <memory>
5
#include <ostream>
torch/csrc/jit/python/update_graph_executor_opt.cpp
@@ -1,10 +1,12 @@
+#include <torch/csrc/jit/jit_log.h>
#include <torch/csrc/jit/python/update_graph_executor_opt.h>
namespace torch::jit {
6
static thread_local bool kOptimize = true;
7
void setGraphExecutorOptimize(bool o) {
8
kOptimize = o;
9
+ GRAPH_DEBUG("GraphExecutorOptimize set to ", o);
10
}
11
bool getGraphExecutorOptimize() {
12
return kOptimize;
0 commit comments