diff --git a/paddle/fluid/framework/details/fast_threaded_ssa_graph_executor.cc b/paddle/fluid/framework/details/fast_threaded_ssa_graph_executor.cc index 97557d2b14a7eacbfe3338a8c09bb6065b68f81f..28046b4a0351cc702970bd4266b3a6ef80f59252 100644 --- a/paddle/fluid/framework/details/fast_threaded_ssa_graph_executor.cc +++ b/paddle/fluid/framework/details/fast_threaded_ssa_graph_executor.cc @@ -271,9 +271,7 @@ void FastThreadedSSAGraphExecutor::RunTracedOps( void FastThreadedSSAGraphExecutor::RunOpSync(OpHandleBase *op) { try { - if (VLOG_IS_ON(10)) { - VLOG(10) << op << " " << op->Name() << " : " << op->DebugString(); - } + VLOG(10) << op << " " << op->Name() << " : " << op->DebugString(); if (LIKELY(!strategy_.dry_run_)) { op->Run(strategy_.use_cuda_); } diff --git a/paddle/fluid/framework/details/threaded_ssa_graph_executor.cc b/paddle/fluid/framework/details/threaded_ssa_graph_executor.cc index db28e1fe202116f49e0266a7bc24ddfb351c8bb4..86d33c242d5f00c88cc60443b1072d1352161145 100644 --- a/paddle/fluid/framework/details/threaded_ssa_graph_executor.cc +++ b/paddle/fluid/framework/details/threaded_ssa_graph_executor.cc @@ -320,9 +320,7 @@ void ThreadedSSAGraphExecutor::RunTracedOps( void ThreadedSSAGraphExecutor::RunOpSync(OpHandleBase *op) { try { - if (VLOG_IS_ON(10)) { - VLOG(10) << op << " " << op->Name() << " : " << op->DebugString(); - } + VLOG(10) << op << " " << op->Name() << " : " << op->DebugString(); if (LIKELY(!strategy_.dry_run_)) { op->Run(strategy_.use_cuda_); }