diff --git a/ge/ge_runtime/runtime_model.cc b/ge/ge_runtime/runtime_model.cc index 8baa5b05..b30ca1bf 100644 --- a/ge/ge_runtime/runtime_model.cc +++ b/ge/ge_runtime/runtime_model.cc @@ -32,12 +32,12 @@ const int kOffsetUnit = 8; RuntimeModel::~RuntimeModel() { GELOGI("RuntimeModel destructor start"); - // Release task first, hccl task hold stream - task_list_.clear(); - // Unbind rtModel from all task related streams RtModelUnbindStream(); + // Release task first, hccl task hold stream + task_list_.clear(); + // Release all task related streams RtStreamDestory();