forked from mindspore-Ecosystem/mindspore
!2261 modify log level from warning to info
Merge pull request !2261 from jjfeing/r0.3_log
This commit is contained in:
commit
53d7e622f9
|
@ -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 {
|
||||||
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!";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue