Skip to content

Commit abb1055

Browse files
author
chengduo
authored
Merge pull request #8859 from chengduoZH/feature/refine_exe_log
Add log before op Run
2 parents 47ca181 + f7c7135 commit abb1055

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

paddle/fluid/framework/executor.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,9 @@ void Executor::Run(const ProgramDesc& pdesc, Scope* scope, int block_id,
125125
for (auto& op_desc : block.AllOps()) {
126126
auto op = paddle::framework::OpRegistry::CreateOp(*op_desc);
127127

128-
VLOG(3) << place_ << " " << op->DebugStringEx(local_scope);
128+
VLOG(4) << place_ << " " << op->DebugStringEx(local_scope);
129129
op->Run(*local_scope, place_);
130+
VLOG(3) << place_ << " " << op->DebugStringEx(local_scope);
130131

131132
if (FLAGS_benchmark) {
132133
VLOG(2) << "Memory used after operator " + op->Type() + " running: "

0 commit comments

Comments
 (0)