未验证 提交 98103d30 编写于 作者: Z Zeng Jinle 提交者: GitHub

remove some unnecessary logs in pe, test=develop (#20848)

上级 cf670ec9
...@@ -271,9 +271,7 @@ void FastThreadedSSAGraphExecutor::RunTracedOps( ...@@ -271,9 +271,7 @@ void FastThreadedSSAGraphExecutor::RunTracedOps(
void FastThreadedSSAGraphExecutor::RunOpSync(OpHandleBase *op) { void FastThreadedSSAGraphExecutor::RunOpSync(OpHandleBase *op) {
try { 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_)) { if (LIKELY(!strategy_.dry_run_)) {
op->Run(strategy_.use_cuda_); op->Run(strategy_.use_cuda_);
} }
......
...@@ -320,9 +320,7 @@ void ThreadedSSAGraphExecutor::RunTracedOps( ...@@ -320,9 +320,7 @@ void ThreadedSSAGraphExecutor::RunTracedOps(
void ThreadedSSAGraphExecutor::RunOpSync(OpHandleBase *op) { void ThreadedSSAGraphExecutor::RunOpSync(OpHandleBase *op) {
try { 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_)) { if (LIKELY(!strategy_.dry_run_)) {
op->Run(strategy_.use_cuda_); op->Run(strategy_.use_cuda_);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册