Skip to content

Commit

Permalink
[NPUW] Fix optimized out check (openvinotoolkit#27313)
Browse files Browse the repository at this point in the history
  • Loading branch information
smirnov-alexey authored Oct 29, 2024
1 parent 4d29e2e commit 874bf8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ ov::npuw::JustInferRequest::JustInferRequest(const std::shared_ptr<ov::npuw::Com
LOG_VERB("Trying to preemptively set tensors for Subgraph[" << i << "]...");
LOG_BLOCK();
auto& comp_model_desc = m_npuw_model->m_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();
Expand Down

0 comments on commit 874bf8a

Please sign in to comment.