From e78e819b7c753e60e41c57e6538bce662918524d Mon Sep 17 00:00:00 2001 From: jjfeing Date: Thu, 18 Jun 2020 10:22:40 +0800 Subject: [PATCH] modify log level from warning to info --- mindspore/ccsrc/device/ascend/ascend_label_assign.cc | 2 +- mindspore/ccsrc/session/ascend_session.cc | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/mindspore/ccsrc/device/ascend/ascend_label_assign.cc b/mindspore/ccsrc/device/ascend/ascend_label_assign.cc index db6851650..6e261e643 100644 --- a/mindspore/ccsrc/device/ascend/ascend_label_assign.cc +++ b/mindspore/ccsrc/device/ascend/ascend_label_assign.cc @@ -140,7 +140,7 @@ uint32_t AscendLabelAssign::GetLabelNum(NotNull gr std::lock_guard lock(label_num_mutex_); auto iter = label_num_.find(graph.get()); if (iter == label_num_.end()) { - MS_LOG(WARNING) << "Graph " << graph->ToString() << " has not assigned label."; + MS_LOG(INFO) << "Graph " << graph->ToString() << " has not assigned label."; return 1; } return iter->second; diff --git a/mindspore/ccsrc/session/ascend_session.cc b/mindspore/ccsrc/session/ascend_session.cc index 520f6cc71..d4562f88a 100644 --- a/mindspore/ccsrc/session/ascend_session.cc +++ b/mindspore/ccsrc/session/ascend_session.cc @@ -555,12 +555,11 @@ void AscendSession::SelectKernel(const KernelGraph &kernel_graph) const { MS_LOG(INFO) << "Select ApplyKernel: " << cnode->DebugString(); } if (raise_precision_count > 0) { - MS_LOG(DEBUG) << "There has " << raise_precision_count - << " node/nodes used raise precision to selected the kernel!"; + MS_LOG(INFO) << "There has " << raise_precision_count << " node/nodes used raise precision to selected the kernel!"; } if (reduce_precision_count > 0) { - MS_LOG(DEBUG) << "There has " << reduce_precision_count - << " node/nodes used reduce precision to selected the kernel!"; + MS_LOG(INFO) << "There has " << reduce_precision_count + << " node/nodes used reduce precision to selected the kernel!"; } MS_LOG(INFO) << "Finish!"; } -- GitLab