Browse Source

save and get compile failed msg

tags/v1.1.0
baker 3 years ago
parent
commit
7c94c444b4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ge/graph/optimize/graph_optimize.cc

+ 1
- 1
ge/graph/optimize/graph_optimize.cc View File

@@ -109,7 +109,7 @@ Status GraphOptimize::OptimizeSubGraph(ComputeGraphPtr &compute_graph, const Com
if (ret != SUCCESS) { if (ret != SUCCESS) {
auto root_graph = ge::GraphUtils::FindRootGraph(parent_graph); auto root_graph = ge::GraphUtils::FindRootGraph(parent_graph);
if (root_graph != nullptr) { if (root_graph != nullptr) {
ErrorManager.GetInstance().SaveMstuneCompileFailedMsg(root_graph->GetName());
ErrorManager::GetInstance().SaveMstuneCompileFailedMsg(root_graph->GetName());
} }
GELOGE(ret, "[OptimizeSubGraph][OptimizeFusedGraphAfterGraphSlice]: graph optimize failed, ret:%d", ret); GELOGE(ret, "[OptimizeSubGraph][OptimizeFusedGraphAfterGraphSlice]: graph optimize failed, ret:%d", ret);
return ret; return ret;


Loading…
Cancel
Save