Browse Source

!879 fix Segmentation fault occurs while the feature “loss scale” is used and "task_sink_mode" is set to "False" at the same time

Merge pull request !879 from wanghua/master
tags/v0.3.0-alpha
mindspore-ci-bot Gitee 5 years ago
parent
commit
0edf22e68c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/session/ascend_session.cc

+ 1
- 1
mindspore/ccsrc/session/ascend_session.cc View File

@@ -990,7 +990,7 @@ void AscendSession::MergeGraphExecOrder() {
auto context_ptr = MsContext::GetInstance();
MS_EXCEPTION_IF_NULL(context_ptr);
if (!context_ptr->enable_task_sink()) {
MS_LOG(INFO) << "Control sink network should run with task-sink mode!";
MS_LOG(EXCEPTION) << "Control sink network should run with task-sink mode!";
}
}
// if first graph is common,the final graph has no label,then set the stream of final graph same with the first graph


Loading…
Cancel
Save