Skip to content

Commit

Permalink
[NPUW] Revert check in preemptive tensor set (#27345)
Browse files Browse the repository at this point in the history
  • Loading branch information
smirnov-alexey authored Oct 30, 2024
1 parent a6eb535 commit e44ea54
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,9 @@ 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) {
// FIXME: figure out our cases and if this should be replaced with &&
// Note: replaced_by is utilized below unconditionally
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 e44ea54

Please sign in to comment.