!23646 Fix MS_DEBUGGER_PARTIAL_MEM=1 issue

Merge pull request !23646 from parastooashtari/Debugger_partial_mem_bug
This commit is contained in:
i-robot 2021-09-17 03:03:47 +00:00 committed by Gitee
commit bbfa9d43cb
1 changed files with 0 additions and 5 deletions

View File

@ -607,11 +607,6 @@ GraphId AscendSession::CompileGraphImpl(NotNull<FuncGraphPtr> func_graph) {
device::KernelAdjust::GetInstance().InsertOverflowCheckOperations(NOT_NULL(root_graph));
// build kernel
BuildKernel(root_graph);
#ifdef ENABLE_DEBUGGER
if (debugger_ && debugger_->partial_memory()) {
debugger_->PreExecute(root_graph);
}
#endif
SetSummaryNodes(root_graph.get());
// Alloc memory for child graph's inputs
AssignStaticMemory(NOT_NULL(root_graph), NOT_NULL(&memo));