Browse Source

!23126 remove ir when task error

Merge pull request !23126 from jjfeing/master
tags/v1.5.0-rc1
i-robot Gitee 4 years ago
parent
commit
d6565a0e3f
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      mindspore/ccsrc/runtime/device/ascend/ascend_kernel_runtime.cc

+ 0
- 3
mindspore/ccsrc/runtime/device/ascend/ascend_kernel_runtime.cc View File

@@ -938,9 +938,6 @@ bool AscendKernelRuntime::RunTask(const session::KernelGraph *graph) {
ModelRunner::Instance().RunModel(graph->graph_id());
} catch (const std::exception &) {
DumpTaskExceptionInfo(graph);
std::string file_name = "task_error_debug" + std::to_string(graph->graph_id()) + ".ir";
auto graph_tmp = std::make_shared<session::KernelGraph>(*graph);
DumpIR(file_name, graph_tmp, true);
#ifdef ENABLE_TDTQUE
// Run task error, we should call TdtHostDestroy to release tdt to avoid DeviceQueueOp hostPush hung
// case1: cpu usage 100% cause thread/process exit, but some tdt thread remain in backend


Loading…
Cancel
Save