From 473b488e0a6fd9a374f691821ef68a488bad48a6 Mon Sep 17 00:00:00 2001 From: Mircea-Aurelian Dan Date: Wed, 22 Jan 2025 11:37:47 +0000 Subject: [PATCH] Add comment regarding `ov::internal::cached_model_buffer` not having corresponding `Config` implementation --- src/plugins/intel_npu/src/plugin/src/plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/intel_npu/src/plugin/src/plugin.cpp b/src/plugins/intel_npu/src/plugin/src/plugin.cpp index fcef9b6a12a563..23e2e04fbe0ba7 100644 --- a/src/plugins/intel_npu/src/plugin/src/plugin.cpp +++ b/src/plugins/intel_npu/src/plugin/src/plugin.cpp @@ -810,6 +810,8 @@ std::shared_ptr Plugin::import_model(std::istream& stream, c } std::shared_ptr 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>();