OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[NPU] Remove MLIR from compiler type (#32846)
Stefania Herganea412419faf6a
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.hppindex b3e08876df0..0f5a50e583e 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@@ -846,7 +846,7 @@ struct COMPILER_TYPE final : OptionBase<COMPILER_TYPE, ov::intel_npu::CompilerTy}static ov::intel_npu::CompilerType parse(std::string_view val) {- if (val == "PLUGIN" || val == "MLIR") {+ if (val == "PLUGIN") {return ov::intel_npu::CompilerType::PLUGIN;} else if (val == "DRIVER") {return ov::intel_npu::CompilerType::DRIVER;diff --git a/src/plugins/intel_npu/src/al/include/intel_npu/npu_private_properties.hpp b/src/plugins/intel_npu/src/al/include/intel_npu/npu_private_properties.hppindex ce80892f917..af94cbc5e74 100644--- a/src/plugins/intel_npu/src/al/include/intel_npu/npu_private_properties.hpp+++ b/src/plugins/intel_npu/src/al/include/intel_npu/npu_private_properties.hpp@@ -89,7 +89,7 @@ inline std::ostream& operator<<(std::ostream& out, const ColorFormat& fmt) {* Type of NPU compiler to be used for compilation of a network* @note Configuration API v 2.0*/-enum class CompilerType { MLIR = 0, PLUGIN = MLIR, DRIVER = 1 };+enum class CompilerType { PLUGIN, DRIVER };/*** @brief Prints a string representation of ov::intel_npu::CompilerType to a streamdiff --git a/src/plugins/intel_npu/tests/functional/shared_tests_instances/npu_skip_func_tests.xml b/src/plugins/intel_npu/tests/functional/shared_tests_instances/npu_skip_func_tests.xmlindex 7dad67a48ca..606af7dd168 100644--- a/src/plugins/intel_npu/tests/functional/shared_tests_instances/npu_skip_func_tests.xml+++ b/src/plugins/intel_npu/tests/functional/shared_tests_instances/npu_skip_func_tests.xml@@ -413,7 +413,7 @@ Example:<!-- E###### --><skip_config>- <message>Other devices than NPU doesn't allow to set NPU properties with OV1.0 and CACHE_DIR + MLIR is not supported</message>+ <message>Other devices than NPU doesn't allow to set NPU properties with OV1.0 and CACHE_DIR + PLUGIN is not supported</message><filters><filter>.*smoke_AutoBatch_BehaviorTests/CorrectConfigTests.*</filter></filters>diff --git a/src/plugins/intel_npu/tools/compile_tool/README.md b/src/plugins/intel_npu/tools/compile_tool/README.mdindex ac7d5019a57..20fb073277a 100644--- a/src/plugins/intel_npu/tools/compile_tool/README.md+++ b/src/plugins/intel_npu/tools/compile_tool/README.md@@ -97,5 +97,5 @@ For example, to compile a blob for inference on Intel® Core™ Ultra NPU, run tYou can pass a config file via `-c` option which allow you to specify some public or private properties. More details in [Supported Properties](https://github.com/openvinotoolkit/openvino/tree/master/src/plugins/intel_npu#supported-properties) and in [configs](https://github.com/openvinotoolkit/openvino/tree/master/src/plugins/intel_npu/src/al/include/intel_npu/config). For example, to use a custom build of NPU Compiler instaed of the release Compiler distributed within NPU driver, create a config file with the following content:```-NPU_COMPILER_TYPE MLIR+NPU_COMPILER_TYPE PLUGIN```diff --git a/src/plugins/intel_npu/tools/protopipe/README.md b/src/plugins/intel_npu/tools/protopipe/README.mdindex b843f1ce54e..c4c2c4d84aa 100644--- a/src/plugins/intel_npu/tools/protopipe/README.md+++ b/src/plugins/intel_npu/tools/protopipe/README.md@@ -33,7 +33,7 @@ The **YAML** config starts with specifying the several global parameters:- `model_dir` - **Optional**. Path to the models location. (**Default**: ".")- `blob_dir` - **Optional**. Path to the models location. (**Default**: ".")- `device_name` - **Optional**. OpenVINO device name: _CPU_, _GPU_, etc. (**Default**: _NPU_)-- `compiler_type` - **Optional**. NPU compiler type: _DRIVER_, _MLIR_. (**Default**: _DRIVER_)+- `compiler_type` - **Optional**. NPU compiler type: _DRIVER_, _PLUGIN_. (**Default**: _DRIVER_)- `log_level` - **Optional**. Log level: _NONE_, _INFO_, _DEBUG_. (**Default**: _NONE_)- `disable_high_resolution_waitable_timer` - **Optional**. Disables high resolution timer used to perform delays on Windows. (**Default**: false)@@ -42,7 +42,7 @@ Example:model_dir:local: C:\workspace\modelsdevice_name: NPU-compiler_type: MLIR+compiler_type: PLUGINlog_level: INFO```### Model parameters@@ -272,7 +272,7 @@ Consider the following scenario that consists of two parallel streams specifiedmodel_dir:local: C:\workspace\modelsdevice_name: NPU-compiler_type: MLIR+compiler_type: PLUGINlog_level: INFOmulti_inference:@@ -482,7 +482,7 @@ Consider the following `config.yaml`:model_dir:local: C:\workspace\modelsdevice_name: NPU-compiler_type: MLIR+compiler_type: PLUGINlog_level: INFOsave_validation_outputs: actual-outputs/