diff --git a/mindspore/ccsrc/utils/context/ms_context.cc b/mindspore/ccsrc/utils/context/ms_context.cc index 7440bd38f7..feb8ed6092 100644 --- a/mindspore/ccsrc/utils/context/ms_context.cc +++ b/mindspore/ccsrc/utils/context/ms_context.cc @@ -282,6 +282,7 @@ void MsContext::GetGeOptions(std::map *ge_options) con (*ge_options)["device_id"] = "0"; (*ge_options)["ge.exec.enableDump"] = std::to_string(enable_dump_); (*ge_options)["ge.exec.dumpPath"] = save_dump_path_; + (*ge_options)["ge.exec.dumpMode"] = "output"; MS_LOG(INFO) << "The enable dump state is " << std::to_string(enable_dump_) << " and save dump path is " << save_dump_path_ << "."; (*ge_options)["ge.exec.profilingMode"] = std::to_string(profiling_mode_);