From 4da2a881f8e68008e7e24759fb44e1608e1e180d Mon Sep 17 00:00:00 2001 From: Ilya Churaev Date: Tue, 13 Jun 2023 12:16:25 +0400 Subject: [PATCH] Fixed Core import model call (Ported from proxy) (#18020) --- src/inference/src/dev/core_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inference/src/dev/core_impl.cpp b/src/inference/src/dev/core_impl.cpp index 17d31f19167aa1..bcfec41f2e8e13 100644 --- a/src/inference/src/dev/core_impl.cpp +++ b/src/inference/src/dev/core_impl.cpp @@ -686,7 +686,7 @@ ov::SoPtr ov::CoreImpl::import_model(std::istream& modelStre const ov::AnyMap& config) const { OV_ITT_SCOPED_TASK(ov::itt::domains::IE, "Core::import_model"); auto parsed = parseDeviceNameIntoConfig(context.get_device_name(), config); - auto compiled_model = get_plugin(parsed._deviceName).import_model(modelStream, parsed._config); + auto compiled_model = get_plugin(parsed._deviceName).import_model(modelStream, context, parsed._config); if (auto wrapper = std::dynamic_pointer_cast(compiled_model._ptr)) { wrapper->get_executable_network()->loadedFromCache(); }