fix dump logging issue

This commit is contained in:
sabrinasun 2021-08-11 15:23:52 -04:00
parent 7ec7ff4513
commit f4dea23421
1 changed files with 2 additions and 2 deletions

View File

@ -1175,9 +1175,9 @@ void AscendSession::Dump(const std::shared_ptr<KernelGraph> &kernel_graph) const
MS_EXCEPTION_IF_NULL(kernel_graph);
bool finish = E2eDump::DumpData(kernel_graph.get(), rank_id_);
if (finish) {
MS_LOG(DEBUG) << "Finish!";
MS_LOG(DEBUG) << "Dump completed!";
} else {
MS_LOG(ERROR) << "Dump Data failed!";
MS_LOG(DEBUG) << "Dump has not occurred!";
}
}