From 87eb00e3a83c6ec06a35d088370ea8a9c0b59ef5 Mon Sep 17 00:00:00 2001 From: Egor Duplensky Date: Wed, 13 Nov 2024 17:58:10 +0100 Subject: [PATCH] Disable graph status check --- src/plugins/intel_cpu/src/graph.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugins/intel_cpu/src/graph.cpp b/src/plugins/intel_cpu/src/graph.cpp index 8dc18f8a060781..0987775754ff8c 100644 --- a/src/plugins/intel_cpu/src/graph.cpp +++ b/src/plugins/intel_cpu/src/graph.cpp @@ -357,7 +357,10 @@ static void UseExternalOutputMemory(const std::map& output void Graph::Activate(const std::vector& externalInputMemory, const std::vector& externalOutputMemory) { - OPENVINO_ASSERT(status == Status::Initialized, "Invalid graph status"); + // @todo It is possible that execution graph is already created in scope of + // the allocation context collection from the outer graph so the state for inner graph is "Ready" + // We probably want to avoid such uncertancy + // OPENVINO_ASSERT(status == Status::Initialized, "Invalid graph status: ", static_cast(status)); UseExternalInputMemory(inputNodesMap, externalInputMemory); UseExternalOutputMemory(outputNodesMap, externalOutputMemory);