Skip to content

Commit

Permalink
NPUW Spatial: Occasionally support spatial tail
Browse files Browse the repository at this point in the history
  • Loading branch information
dmatveev committed Oct 2, 2024
1 parent 0687463 commit 689962a
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -440,11 +440,10 @@ void ov::npuw::JustInferRequest::bind_global_results(std::size_t idx) {
LOG_BLOCK();

auto& comp_model_desc = m_npuw_model->m_compiled_submodels[idx];
const auto real_idx = comp_model_desc.replaced_by.value_or(idx);
if (real_idx != idx) {
// Don't do here - function call will take parameter
// itself. Note it may be implemented more efficently
// than now (and in some cases, parameter can be pre-set)
if (comp_model_desc.replaced_by) {
// Don't do here - function call will take the right tensor
// itself. Note it may be implemented more efficently than now
// (and in some cases, the tensor can be pre-set)
LOG_DEBUG("Skipping this too now - function will do it for itself");
return;
}
Expand Down

0 comments on commit 689962a

Please sign in to comment.