提交 e78e819b 编写于 作者: J jjfeing

modify log level from warning to info

上级 dcb90588
...@@ -140,7 +140,7 @@ uint32_t AscendLabelAssign::GetLabelNum(NotNull<const session::KernelGraph *> gr ...@@ -140,7 +140,7 @@ uint32_t AscendLabelAssign::GetLabelNum(NotNull<const session::KernelGraph *> gr
std::lock_guard<std::mutex> lock(label_num_mutex_); std::lock_guard<std::mutex> lock(label_num_mutex_);
auto iter = label_num_.find(graph.get()); auto iter = label_num_.find(graph.get());
if (iter == label_num_.end()) { 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 1;
} }
return iter->second; return iter->second;
......
...@@ -555,12 +555,11 @@ void AscendSession::SelectKernel(const KernelGraph &kernel_graph) const { ...@@ -555,12 +555,11 @@ void AscendSession::SelectKernel(const KernelGraph &kernel_graph) const {
MS_LOG(INFO) << "Select ApplyKernel: " << cnode->DebugString(); MS_LOG(INFO) << "Select ApplyKernel: " << cnode->DebugString();
} }
if (raise_precision_count > 0) { if (raise_precision_count > 0) {
MS_LOG(DEBUG) << "There has " << raise_precision_count MS_LOG(INFO) << "There has " << raise_precision_count << " node/nodes used raise precision to selected the kernel!";
<< " node/nodes used raise precision to selected the kernel!";
} }
if (reduce_precision_count > 0) { if (reduce_precision_count > 0) {
MS_LOG(DEBUG) << "There has " << reduce_precision_count MS_LOG(INFO) << "There has " << reduce_precision_count
<< " node/nodes used reduce precision to selected the kernel!"; << " node/nodes used reduce precision to selected the kernel!";
} }
MS_LOG(INFO) << "Finish!"; MS_LOG(INFO) << "Finish!";
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册