提交 c92044c5 编写于 作者: M Megvii Engine Team

refactor(mge/log): use info as default log level

GitOrigin-RevId: 3b7719a9fe8240bf4cb6646f9500e7393811f589
上级 2c9fa7f6
......@@ -12,7 +12,7 @@ import os
import sys
_all_loggers = []
_default_level_name = os.getenv("MEGENGINE_LOGGING_LEVEL", "ERROR")
_default_level_name = os.getenv("MEGENGINE_LOGGING_LEVEL", "INFO")
_default_level = logging.getLevelName(_default_level_name.upper())
......
......@@ -62,7 +62,7 @@ std::shared_ptr<OpDef> make_from_op_node(cg::OperatorNodeBase* node_) {
if (node->config().comp_node().size() ||
node->config().output_dtype().valid() ||
node->param().axis != opr::GetVarShape::Param::INVALID_AXIS) {
mgb_log_warn("weird GetVarShape");
mgb_log_debug("weird GetVarShape");
return OpTrait::find_by_typeinfo(OprAttr::typeinfo())->make_from_op_node(node);
}
return GetVarShape::make();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册