Browse Source

!755 errorcode

From: @youui
Reviewed-by: @xchu42,@liujunzhu,@ji_chen
Signed-off-by: @startzgf168,@ji_chen
pull/755/MERGE
mindspore-ci-bot Gitee 4 years ago
parent
commit
4fe214984d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ge/executor/ge_executor.cc

+ 2
- 2
ge/executor/ge_executor.cc View File

@@ -599,7 +599,7 @@ Status GeExecutor::UnloadModel(uint32_t model_id) {
Status ret = GraphLoader::DestroyAicpuSessionForInfer(model_id);
if (ret != SUCCESS) {
GELOGE(ret, "[GraphLoader] DestroyAicpuSessionForInfer failed. model id: %u", model_id);
return ACL_ERROR_GE_INTERNAL_ERROR;
return ret;
}

std::shared_ptr<hybrid::HybridDavinciModel> hybrid_davinci_model =
@@ -617,7 +617,7 @@ Status GeExecutor::UnloadModel(uint32_t model_id) {
ret = GraphLoader::UnloadModel(model_id);
if (ret != SUCCESS) {
GELOGE(ret, "[GraphLoader] DestroyAicpuSessionForInfer failed. model id: %u", model_id);
return ACL_ERROR_GE_UNLOAD_MODEL;
return ret;
}
return SUCCESS;
}


Loading…
Cancel
Save