From ade78930b09c647e3e0df92f843db4c048acfac8 Mon Sep 17 00:00:00 2001 From: wqtshg Date: Mon, 31 May 2021 20:16:35 +0800 Subject: [PATCH] Zero copy nodes are not allocated memory in the known subgraph --- ge/hybrid/node_executor/compiledsubgraph/known_node_executor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ge/hybrid/node_executor/compiledsubgraph/known_node_executor.cc b/ge/hybrid/node_executor/compiledsubgraph/known_node_executor.cc index 679ad298..8b839849 100755 --- a/ge/hybrid/node_executor/compiledsubgraph/known_node_executor.cc +++ b/ge/hybrid/node_executor/compiledsubgraph/known_node_executor.cc @@ -156,8 +156,8 @@ Status KnownNodeTask::InitDavinciModel(const HybridModel &model, TensorBuffer *w weight_size = weight_buffer->GetSize(); } GELOGD("Start to init davinci model, weight size = %zu", weight_size); - GE_CHK_STATUS_RET(DoInitDavinciModel(weight, weight_size), "[Init][Model] Failed to init davinci model."); - GELOGD("[Init][Model] success"); + GE_CHK_STATUS_RET(DoInitDavinciModel(weight, weight_size), "[Init][DavinciModel] Failed to init davinci model."); + GELOGD("[Init][DavinciModel] success"); return SUCCESS; }