From b027958350e9774b00b76372d903cb2fb6628a88 Mon Sep 17 00:00:00 2001 From: Aleksandr Voron Date: Wed, 11 Dec 2024 13:53:44 +0100 Subject: [PATCH] init --- src/plugins/intel_cpu/src/graph.cpp | 2 +- src/plugins/intel_cpu/src/nodes/paged_attn.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/intel_cpu/src/graph.cpp b/src/plugins/intel_cpu/src/graph.cpp index 6aa4644f902bc9..025f2b3fa5adc1 100644 --- a/src/plugins/intel_cpu/src/graph.cpp +++ b/src/plugins/intel_cpu/src/graph.cpp @@ -537,7 +537,7 @@ void Graph::CreatePrimitivesAndExecConstants() const { node->createPrimitive(); } - if (!node->isConstant()) { + if (!node->isConstant() || !node->isExecutable()) { continue; } diff --git a/src/plugins/intel_cpu/src/nodes/paged_attn.cpp b/src/plugins/intel_cpu/src/nodes/paged_attn.cpp index b9666388490f74..80738458a46549 100644 --- a/src/plugins/intel_cpu/src/nodes/paged_attn.cpp +++ b/src/plugins/intel_cpu/src/nodes/paged_attn.cpp @@ -177,7 +177,7 @@ void PagedAttention::execute(dnnl::stream strm) { VectorDims scoreDims{len}; redefineOutputMemory({outDims, scoreDims}); } else { - redefineOutputMemory(0, outDims); + redefineOutputMemory({outDims, {}}); } outputs[0] = getDstMemoryAtPort(0);