Delete unnecessary logs in dump

This commit is contained in:
maning202007 2021-06-25 15:06:32 +08:00
parent 17222b4e72
commit cb6e21a16a
1 changed files with 1 additions and 4 deletions

View File

@ -253,10 +253,9 @@ void E2eDump::DumpSetup(const session::KernelGraph *graph, uint32_t rank_id) {
} else if (starting_graph_id == graph_id) {
dump_json_parser.UpdateDumpIter();
}
MS_LOG(DEBUG) << "sink_mode = " << sink_mode;
}
MS_LOG(INFO) << "sink_mode = " << sink_mode;
if (dump_json_parser.async_dump_enabled() && dump_json_parser.IsDumpIter(cur_iter) && !sink_mode) {
auto zero_dir_dump_path =
dump_json_parser.path() + "/rank_" + std::to_string(rank_id) + "/_/" + std::to_string(graph->graph_id()) + "/0";
@ -300,8 +299,6 @@ bool E2eDump::DumpData(const session::KernelGraph *graph, uint32_t rank_id, cons
uint32_t graph_id = graph->graph_id();
bool sink_mode = (ConfigManager::GetInstance().dataset_mode() || E2eDump::isDatasetGraph(graph));
MS_LOG(INFO) << "sink_mode = " << sink_mode;
if (dump_json_parser.GetIterDumpFlag()) {
MS_LOG(INFO) << "Start e2e dump. Current iteration is " << dump_json_parser.cur_dump_iter();
MS_LOG(INFO) << "Current graph id is " << graph_id;