!45939 fix graph scheduler info level

Merge pull request !45939 from limingqi107/bug_fix4
This commit is contained in:
i-robot 2022-11-25 10:41:52 +00:00 committed by Gitee
commit b883658db9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 5 additions and 3 deletions

View File

@ -802,9 +802,11 @@ void GraphScheduler::CacheGraphOutputToActor(const GraphCompilerInfo &graph_comp
}
// Only the device tensor store not need cache output actor.
if ((output_actor == nullptr) && (kernel_type != KernelTransformType::kDeviceTensorStore)) {
MS_LOG(WARNING) << "Graph " << graph_id << " output node:" << output_with_index.first->fullname_with_scope()
<< " with index:" << output_with_index.second
<< " is not actor, and the kernel type is:" << kernel_type;
MS_LOG(INFO) << "Graph " << graph_id << " output node:" << output_with_index.first->fullname_with_scope()
<< " with index:" << output_with_index.second
<< ", from front node:" << origin_output_with_index.first->fullname_with_scope()
<< " with index:" << origin_output_with_index.second
<< " is not actor, and the kernel type is:" << kernel_type;
}
auto output_actor_name = (output_actor != nullptr) ? output_actor->GetAID().Name() : "";