提交 53d7e622 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!2261 modify log level from warning to info

Merge pull request !2261 from jjfeing/r0.3_log
......@@ -140,7 +140,7 @@ uint32_t AscendLabelAssign::GetLabelNum(NotNull<const session::KernelGraph *> gr
std::lock_guard<std::mutex> 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;
......
......@@ -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!";
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册