forked from mindspore-Ecosystem/mindspore
Log Level
This commit is contained in:
parent
afb33fff62
commit
b80c29379f
|
@ -498,7 +498,7 @@ bool AscendKernelRuntime::GenTask(const session::KernelGraph &graph) {
|
|||
}
|
||||
// Graph may have no compute node, such TensorAddGrad.
|
||||
if (task_info_list.empty()) {
|
||||
MS_LOG(WARNING) << "Graph " << graph.graph_id() << " have no compute node";
|
||||
MS_LOG(INFO) << "Graph " << graph.graph_id() << " have no compute node";
|
||||
return true;
|
||||
}
|
||||
AscendStreamAssign &assign_instance = AscendStreamAssign::GetInstance();
|
||||
|
@ -532,7 +532,7 @@ bool AscendKernelRuntime::LoadTask(const session::KernelGraph &graph) {
|
|||
|
||||
MS_LOG(INFO) << "LoadTask start. GraphId:" << graph.graph_id();
|
||||
if (GraphWithEmptyTaskList(graph)) {
|
||||
MS_LOG(WARNING) << "LoadTask end, task list is empty";
|
||||
MS_LOG(INFO) << "LoadTask end, task list is empty";
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -257,12 +257,12 @@ void AscendGraphOptimization::SelectKernel(const KernelGraphPtr &graph) {
|
|||
MS_EXCEPTION_IF_NULL(ms_context);
|
||||
if (ms_context->get_param<int>(MS_CTX_EXECUTION_MODE) == kGraphMode) {
|
||||
if (raise_precision_count_ > 0) {
|
||||
MS_LOG(WARNING) << "There are " << raise_precision_count_
|
||||
<< " node/nodes used raise precision to selected the kernel!";
|
||||
MS_LOG(INFO) << "There are " << raise_precision_count_
|
||||
<< " node/nodes used raise precision to selected the kernel!";
|
||||
}
|
||||
if (reduce_precision_count_ > 0) {
|
||||
MS_LOG(WARNING) << "There are " << reduce_precision_count_
|
||||
<< " node/nodes used reduce precision to selected the kernel!";
|
||||
MS_LOG(INFO) << "There are " << reduce_precision_count_
|
||||
<< " node/nodes used reduce precision to selected the kernel!";
|
||||
}
|
||||
}
|
||||
PROF_END(select_kernel);
|
||||
|
|
Loading…
Reference in New Issue