From 55f47196a0f45cc909c1679b22521da1bf0034c8 Mon Sep 17 00:00:00 2001 From: Ilya Churaev Date: Wed, 19 Jul 2023 16:03:24 +0400 Subject: [PATCH] Added comment --- src/plugins/hetero/src/compiled_model.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/hetero/src/compiled_model.cpp b/src/plugins/hetero/src/compiled_model.cpp index da850f26d5d..519218e18b1 100644 --- a/src/plugins/hetero/src/compiled_model.cpp +++ b/src/plugins/hetero/src/compiled_model.cpp @@ -689,6 +689,9 @@ void ov::hetero::CompiledModel::export_model(std::ostream& model_stream) const { for (const auto& comp_model_desc : m_compiled_submodels) { if (get_plugin()->get_core()->device_supports_model_caching(comp_model_desc.device)) { try { + // Batch plugin reports property of low level plugin + // If we use Batch plugin inside hetero, we won't be able to call export + // Auto batch plugin will throw NOT_IMPLEMENTED comp_model_desc.compiled_model->export_model(model_stream); continue; } catch (ov::NotImplemented&) {