Browse Source

support fwk offline inference when ge_lib is not initialized

pull/1636/head
lichun 4 years ago
parent
commit
9f29eb2cf7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ge/hybrid/node_executor/aicore/aicore_task_compiler.cc

+ 2
- 2
ge/hybrid/node_executor/aicore/aicore_task_compiler.cc View File

@@ -66,8 +66,8 @@ Status AiCoreTaskCompiler::CompileOp(const NodePtr &node, std::vector<domi::Task
Status ret; Status ret;
ret = Initialize(); ret = Initialize();
if (ret != SUCCESS) { if (ret != SUCCESS) {
GELOGE(FAILED, "[Check][State][%s] Offline inference not support online compile.", ori_node_name.c_str());
REPORT_INNER_ERROR("E19999", "[%s] Offline inference not support online compile.", ori_node_name.c_str());
GELOGE(FAILED, "[Check][State][%s] Offline inference not support online compile.", node->GetName().c_str());
REPORT_INNER_ERROR("E19999", "[%s] Offline inference not support online compile.", node->GetName()..c_str());
return ret; return ret;
} }
} }


Loading…
Cancel
Save