diff --git a/mindspore/ccsrc/device/ascend/profiling/profiling_utils.cc b/mindspore/ccsrc/device/ascend/profiling/profiling_utils.cc index a322a8e577..d8f2504d6c 100644 --- a/mindspore/ccsrc/device/ascend/profiling/profiling_utils.cc +++ b/mindspore/ccsrc/device/ascend/profiling/profiling_utils.cc @@ -324,6 +324,7 @@ void ProfilingUtils::ReportProfilingData(const std::vector &task_ids, GraphDescReporter graph_reporter(context->device_id(), "vm.graph_desc_info_" + std::to_string(graph->graph_id()), ret->second); + graph_profiling_cnode_.erase(ret); graph_reporter.ReportData(); } } // namespace ascend