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

!342 Fix kernel query log level

Merge pull request !342 from zjun/fix_log_level
......@@ -34,7 +34,7 @@ void AicpuMetadataInfo(const CNodePtr &kernel_node, std::vector<std::shared_ptr<
}
auto op_info_ptr = mindspore::kernel::OpLib::FindOp(op_name, OpImplyType::kAICPU);
if (op_info_ptr == nullptr) {
MS_LOG(WARNING) << "Aicpu doestn't have metadata of op [" << op_name << "]";
MS_LOG(DEBUG) << "Aicpu does not have op [" << op_name << "]";
return;
}
// For compatibility with the current framework
......
......@@ -27,7 +27,7 @@ void HcclMetadataInfo(const CNodePtr &kernel_node, std::vector<std::shared_ptr<K
MS_EXCEPTION_IF_NULL(kernel_node);
std::string op_name = AnfAlgo::GetCNodeName(kernel_node);
if (op_name != kAllGather && op_name != kAllReduce && op_name != kBroadcast && op_name != kReduceScatter) {
MS_LOG(INFO) << "Hccl can't find op [" << op_name << "]";
MS_LOG(DEBUG) << "Hccl does not have op [" << op_name << "]";
return;
}
......
......@@ -60,7 +60,7 @@ void GetRtKelInfo(const CNodePtr &kernel_node,
MS_EXCEPTION_IF_NULL(ker_desc_ptr);
auto kernel_info = ker_desc_ptr->GetKernelInfo();
if (kernel_info.empty()) {
MS_LOG(WARNING) << "Rt dose not has op[" << opNameLower << "].";
MS_LOG(DEBUG) << "Rt dose not have op [" << opNameLower << "].";
return;
}
*kernel_info_list = kernel_info;
......
......@@ -542,7 +542,7 @@ void TbeMetadataInfo(const CNodePtr &kernel_node, std::vector<std::shared_ptr<Ke
}
}
if (kernel_info_list->empty()) {
MS_LOG(DEBUG) << "Tbe dose not has metadata of op[" << op_name << "].";
MS_LOG(DEBUG) << "Tbe dose not have op [" << op_name << "].";
}
}
} // namespace kernel
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册