Skip to content

Commit

Permalink
Disable graph status check
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorDuplensky committed Nov 13, 2024
1 parent d5bda07 commit 87eb00e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plugins/intel_cpu/src/graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,10 @@ static void UseExternalOutputMemory(const std::map<std::size_t, NodePtr>& output

void Graph::Activate(const std::vector<MemoryPtr>& externalInputMemory,
const std::vector<MemoryPtr>& 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<int>(status));

UseExternalInputMemory(inputNodesMap, externalInputMemory);
UseExternalOutputMemory(outputNodesMap, externalOutputMemory);
Expand Down

0 comments on commit 87eb00e

Please sign in to comment.