From 874bf8a120359ff4fc0b4e934de0b3e251835425 Mon Sep 17 00:00:00 2001 From: Alexey Smirnov Date: Tue, 29 Oct 2024 23:23:16 +0000 Subject: [PATCH] [NPUW] Fix optimized out check (#27313) --- .../intel_npu/src/plugin/npuw/just_sync_infer_request.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/intel_npu/src/plugin/npuw/just_sync_infer_request.cpp b/src/plugins/intel_npu/src/plugin/npuw/just_sync_infer_request.cpp index 4a9a3e06a0aa16..0070e6be2d2041 100644 --- a/src/plugins/intel_npu/src/plugin/npuw/just_sync_infer_request.cpp +++ b/src/plugins/intel_npu/src/plugin/npuw/just_sync_infer_request.cpp @@ -378,7 +378,7 @@ ov::npuw::JustInferRequest::JustInferRequest(const std::shared_ptrm_compiled_submodels[i]; - if (!comp_model_desc.compiled_model || !comp_model_desc.replaced_by) { + if (!comp_model_desc.compiled_model && !comp_model_desc.replaced_by) { continue; } const auto real_idx = comp_model_desc.replaced_by.value();