Skip to content

Commit

Permalink
Add comment regarding ov::internal::cached_model_buffer not having …
Browse files Browse the repository at this point in the history
…corresponding `Config` implementation
  • Loading branch information
MirceaDan99 committed Jan 22, 2025
1 parent 02683cf commit 473b488
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/intel_npu/src/plugin/src/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,8 @@ std::shared_ptr<ov::ICompiledModel> Plugin::import_model(std::istream& stream, c
}

std::shared_ptr<ov::AlignedBuffer> modelBuffer;
// ov::internal::cached_model_buffer has no corresponding "Config" implementation thus we need to remove it from the
// list of properties
if (npu_plugin_properties.count(ov::internal::cached_model_buffer.name())) {
modelBuffer =
npu_plugin_properties.at(ov::internal::cached_model_buffer.name()).as<std::shared_ptr<ov::AlignedBuffer>>();
Expand Down

0 comments on commit 473b488

Please sign in to comment.