Browse Source

!10082 change the log level for parial memory reuse

From: @yelihua
Reviewed-by: @wangyue01,@wenkai_dist
Signed-off-by: @wenkai_dist
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
a78325bbe7
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      mindspore/ccsrc/debug/debugger/debugger.cc

+ 3
- 2
mindspore/ccsrc/debug/debugger/debugger.cc View File

@@ -86,8 +86,9 @@ Debugger::Debugger()
<< "Partial Memory Reuse is enabled. Note: 1. Please only set watchpoints before running the first "
"step. 2. Tensor values are only available for nodes that are watched by any watchpoint.";
} else {
MS_LOG(INFO) << "Memory Reuse is disabled. Set environment variable MS_DEBUGGER_PARTIAL_MEM=1 to reduce memory "
"usage for large models.";
MS_LOG(WARNING)
<< "Memory Reuse is disabled. Set environment variable MS_DEBUGGER_PARTIAL_MEM=1 to reduce memory "
"usage for large models.";
}
}
}


Loading…
Cancel
Save