diff --git a/src/plugins/intel_npu/src/al/include/intel_npu/config/options.hpp b/src/plugins/intel_npu/src/al/include/intel_npu/config/options.hpp index 1976b3ebfbcf49..d8fdae9d9066b4 100644 --- a/src/plugins/intel_npu/src/al/include/intel_npu/config/options.hpp +++ b/src/plugins/intel_npu/src/al/include/intel_npu/config/options.hpp @@ -845,7 +845,9 @@ struct COMPILER_TYPE final : OptionBase Pipeline::get_profiling_info() const { return _npu_profiling->getNpuInferStatistics(); } /// PROFILING_TYPE = MODEL or undefined = fallback to model profiling - if (_config.get() == ov::intel_npu::CompilerType::MLIR) { + if (_config.get() == ov::intel_npu::CompilerType::MLIR || + _config.get() == ov::intel_npu::CompilerType::PLUGIN) { // For plugin compiler retreive raw profiling data from backend and delegate // processing to the compiler _logger.debug("InferRequest::get_profiling_info complete with compiler->process_profiling_output()."); diff --git a/src/plugins/intel_npu/src/compiler_adapter/include/compiler_adapter_factory.hpp b/src/plugins/intel_npu/src/compiler_adapter/include/compiler_adapter_factory.hpp index a0412f53c84c07..e5c7be11fbf055 100644 --- a/src/plugins/intel_npu/src/compiler_adapter/include/compiler_adapter_factory.hpp +++ b/src/plugins/intel_npu/src/compiler_adapter/include/compiler_adapter_factory.hpp @@ -17,7 +17,8 @@ class CompilerAdapterFactory final { std::unique_ptr getCompiler(const ov::SoPtr& engineBackend, const ov::intel_npu::CompilerType type) const { switch (type) { - case ov::intel_npu::CompilerType::MLIR: { + case ov::intel_npu::CompilerType::MLIR: + case ov::intel_npu::CompilerType::PLUGIN: { if (engineBackend == nullptr || engineBackend->getName() != "LEVEL0") { return std::make_unique(nullptr); } diff --git a/src/plugins/intel_npu/src/compiler_adapter/src/plugin_compiler_adapter.cpp b/src/plugins/intel_npu/src/compiler_adapter/src/plugin_compiler_adapter.cpp index 1a3a1a51ac6751..0b273e9a3df691 100644 --- a/src/plugins/intel_npu/src/compiler_adapter/src/plugin_compiler_adapter.cpp +++ b/src/plugins/intel_npu/src/compiler_adapter/src/plugin_compiler_adapter.cpp @@ -70,7 +70,7 @@ PluginCompilerAdapter::PluginCompilerAdapter(const std::shared_ptr Plugin::compile_model(const std::shared_ptr< const auto set_cache_dir = localConfig.get(); if (!set_cache_dir.empty()) { const auto compilerType = localConfig.get(); - if (compilerType == ov::intel_npu::CompilerType::MLIR) { - OPENVINO_THROW("Option 'CACHE_DIR' is not supported with MLIR compiler type"); + if (compilerType == ov::intel_npu::CompilerType::MLIR || compilerType == ov::intel_npu::CompilerType::PLUGIN) { + OPENVINO_THROW("Option 'CACHE_DIR' is not supported with PLUGIN (MLIR) compiler type"); } }