diff --git a/src/plugins/intel_npu/src/plugin/npuw/partitioning/online/snapshot.cpp b/src/plugins/intel_npu/src/plugin/npuw/partitioning/online/snapshot.cpp index bedcb38a461049..b32c50775b273b 100644 --- a/src/plugins/intel_npu/src/plugin/npuw/partitioning/online/snapshot.cpp +++ b/src/plugins/intel_npu/src/plugin/npuw/partitioning/online/snapshot.cpp @@ -702,7 +702,7 @@ void Snapshot::mergeUniques() { std::unordered_set> merged_this_time; - for (const auto& nh : m_graph->nodes()) { + for (const auto& nh : m_graph->sorted()) { if (!m_graph->contains(nh)) { continue; }