Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
smirnov-alexey committed Jan 8, 2025
1 parent b4a945f commit f12fa24
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/plugins/intel_npu/src/plugin/npuw/compiled_model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ std::shared_ptr<ov::npuw::CompiledModel> ov::npuw::CompiledModel::deserialize(
compiled->m_compiled_submodels.reserve(subm_size);
for (std::size_t i = 0; i < subm_size; ++i) {
auto desc = CompiledModelDesc::deserialize(stream, i, plugin, non_npuw_props);
desc.device_it = compiled->m_dev_list.cbegin(); // FIXME: only NPU device is supported for now
desc.device_it = compiled->m_dev_list.cbegin();
compiled->m_compiled_submodels.push_back(desc);
}

Expand Down
5 changes: 0 additions & 5 deletions src/plugins/intel_npu/src/plugin/npuw/llm_compiled_model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,11 +429,6 @@ ov::npuw::LLMCompiledModel::LLMCompiledModel(const std::shared_ptr<ov::Model>& m

m_cfg.update(any_copy(npuw_llm_props));

if (!model) {
LOG_DEBUG("LLMCompiledModel is being deserialized, skipping the full constructor flow...");
return;
}

if (m_name.find(npuw_name_identifier) != m_name.npos) {
LOG_DEBUG("LLMCompiledModel is being deserialized, skipping the full constructor flow...");
return;
Expand Down

0 comments on commit f12fa24

Please sign in to comment.