diff --git a/mindspore/ccsrc/utils/context/ms_context.cc b/mindspore/ccsrc/utils/context/ms_context.cc index 7b531536ac..cdc7af62e6 100644 --- a/mindspore/ccsrc/utils/context/ms_context.cc +++ b/mindspore/ccsrc/utils/context/ms_context.cc @@ -277,7 +277,7 @@ void MsContext::SetHcclOptions(std::map* ge_options) c void MsContext::GetGeOptions(std::map* ge_options) const { #ifdef ENABLE_GE (*ge_options)["device_id"] = "0"; - (*ge_options)["ge.exec.enableDump"] = enable_dump_; + (*ge_options)["ge.exec.enableDump"] = std::to_string(enable_dump_); (*ge_options)["ge.exec.dumpPath"] = save_dump_path_; // only not supported in ge auto tbe_plugin_path = common::GetEnv("ME_TBE_PLUGIN_PATH");