forked from mindspore-Ecosystem/mindspore
!21686 Fix dump logging when dump not enabled
Merge pull request !21686 from sabrinasun_59ee/dev
This commit is contained in:
commit
d701d7a512
|
@ -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!";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue