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

fix(mdl/jit): make opt level same with lite

GitOrigin-RevId: 5b3ee34170002160e73b021e5d4b96a84a5a3ebb
上级 45a81039
......@@ -9,7 +9,6 @@ using namespace lar;
ModelMdl::ModelMdl(const std::string& path) : model_path(path) {
mgb_log("creat mdl model use XPU as default comp node");
m_load_config.comp_graph = mgb::ComputingGraph::make();
m_load_config.comp_graph->options().graph_opt_level = 0;
testcase_num = 0;
}
......@@ -216,4 +215,4 @@ void ModelMdl::update_io() {
auto output_vars = mgb::cg::replace_vars(network.output_var_list, varmap);
network.output_var_list = output_vars;
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册