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`] Fix `BooleanPrecisionInferRequestRunTests` for unknown platforms (#34682)
Mircea-Aurelian Danb8b19dc99abb
diff --git a/src/plugins/intel_npu/tests/functional/behavior/ov_infer_request/infer_request_run.cpp b/src/plugins/intel_npu/tests/functional/behavior/ov_infer_request/infer_request_run.cppindex 51b29330c9b..d679b2e0e8d 100644--- a/src/plugins/intel_npu/tests/functional/behavior/ov_infer_request/infer_request_run.cpp+++ b/src/plugins/intel_npu/tests/functional/behavior/ov_infer_request/infer_request_run.cpp@@ -14,9 +14,15 @@ namespace {const std::vector<ov::AnyMap> configsInferRequestRunTests = {{}};const std::vector<ov::AnyMap> configsBooleanPrecisionInferRequestRunTests = {{{ov::intel_npu::compiler_type(ov::intel_npu::CompilerType::PLUGIN),- ov::intel_npu::batch_mode(ov::intel_npu::BatchMode::PLUGIN)}},+ ov::intel_npu::batch_mode(ov::intel_npu::BatchMode::PLUGIN),+ // platform needed only for NPU_COMPILER_TYPE_PLUGIN+ ov::intel_npu::platform(ov::intel_npu::Platform::standardize(+ ov::test::utils::getTestsPlatformFromEnvironmentOr(ov::test::utils::DEVICE_NPU)))}},{{ov::intel_npu::compiler_type(ov::intel_npu::CompilerType::PLUGIN),- ov::intel_npu::batch_mode(ov::intel_npu::BatchMode::COMPILER)}},+ ov::intel_npu::batch_mode(ov::intel_npu::BatchMode::COMPILER),+ // platform needed only for NPU_COMPILER_TYPE_PLUGIN+ ov::intel_npu::platform(ov::intel_npu::Platform::standardize(+ ov::test::utils::getTestsPlatformFromEnvironmentOr(ov::test::utils::DEVICE_NPU)))}},{{ov::intel_npu::compiler_type(ov::intel_npu::CompilerType::DRIVER),ov::intel_npu::batch_mode(ov::intel_npu::BatchMode::PLUGIN)}},{{ov::intel_npu::compiler_type(ov::intel_npu::CompilerType::DRIVER),