Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[NPU] Reduce test logs (#36904)

Alexandru Enache1a6750e84c75
diff --git a/src/plugins/intel_npu/src/plugin/src/plugin.cpp b/src/plugins/intel_npu/src/plugin/src/plugin.cpp
index 4eab984c711..70a472d94d3 100644
--- a/src/plugins/intel_npu/src/plugin/src/plugin.cpp
+++ b/src/plugins/intel_npu/src/plugin/src/plugin.cpp
@@ -557,10 +557,10 @@ bool Plugin::should_import_raw_blob(const ov::AnyMap& properties) const {
std::shared_ptr<ov::ICompiledModel> Plugin::import_model(std::istream& stream, const ov::AnyMap& properties) const {
OV_ITT_SCOPED_TASK(itt::domains::NPUPlugin, "Plugin::import_model(std::istream)");
- _logger.debug("Importing a compiled model from the given stream");
-
update_log_level(properties);
+ _logger.debug("Importing a compiled model from the given stream");
+
if (properties.find(ov::hint::compiled_blob.name()) != properties.end()) {
_logger.warning("ov::hint::compiled_blob is no longer supported for import_model(stream) API! Please use new "
"import_model(tensor) API instead.");
@@ -597,10 +597,10 @@ std::shared_ptr<ov::ICompiledModel> Plugin::import_model(std::istream& stream, c
std::shared_ptr<ov::ICompiledModel> Plugin::import_model(const ov::Tensor& compiledBlob,
const ov::AnyMap& properties) const {
OV_ITT_SCOPED_TASK(itt::domains::NPUPlugin, "Plugin::import_model(ov::Tensor)");
- _logger.debug("Importing a compiled model from the given tensor");
-
update_log_level(properties);
+ _logger.debug("Importing a compiled model from the given tensor");
+
// Need to create intermediate istream for NPUW
ov::SharedStreamBuffer buffer{compiledBlob.data(), compiledBlob.get_byte_size()};
std::istream stream{&buffer};
diff --git a/src/plugins/intel_npu/tests/functional/behavior/compiled_model/compatibility_string.hpp b/src/plugins/intel_npu/tests/functional/behavior/compiled_model/compatibility_string.hpp
index bfa353c62a5..f87c84b7a99 100644
--- a/src/plugins/intel_npu/tests/functional/behavior/compiled_model/compatibility_string.hpp
+++ b/src/plugins/intel_npu/tests/functional/behavior/compiled_model/compatibility_string.hpp
@@ -29,12 +29,21 @@ protected:
std::string deviceName;
ov::Core core;
+private:
+ std::optional<utils::LoggerLevelGuard> _logGuard;
+
public:
void SetUp() override {
+ _logGuard.emplace(::intel_npu::Logger::global().level());
SKIP_IF_CURRENT_TEST_IS_DISABLED();
OVCompiledModelPropertiesBase::SetUp();
deviceName = GetParam();
}
+
+ void TearDown() override {
+ _logGuard.reset();
+ OVCompiledModelPropertiesBase::TearDown();
+ }
static std::string getTestCaseName(testing::TestParamInfo<std::string> obj) {
auto targetDevice = obj.param;
std::replace(targetDevice.begin(), targetDevice.end(), ':', '_');
@@ -114,11 +123,11 @@ TEST_P(ClassCompatibilityStringTestSuite, RuntimeRequirementsIsSupported) {
ASSERT_FALSE(it->is_mutable());
OV_ASSERT_NO_THROW(auto requirements = compiledModel.get_property(ov::runtime_requirements));
- OV_ASSERT_NO_THROW(compiledModel = core.compile_model(
- model,
- deviceName,
- {ov::intel_npu::compiler_type(ov::intel_npu::CompilerType::DRIVER),
- ov::intel_npu::bypass_umd_caching(true)}));
+ OV_ASSERT_NO_THROW(compiledModel =
+ core.compile_model(model,
+ deviceName,
+ {ov::intel_npu::compiler_type(ov::intel_npu::CompilerType::DRIVER),
+ ov::intel_npu::bypass_umd_caching(true)}));
// Test that RUNTIME_REQUIREMENTS is supported for CID when the L0 graph extension version >= 1.16,
// and unsupported for earlier driver versions. CIP always supports it.
OV_ASSERT_NO_THROW(properties = compiledModel.get_property(ov::supported_properties));
@@ -155,11 +164,11 @@ TEST_P(ClassCompatibilityStringTestSuite, RuntimeRequirementsValueIsReadableWhen
OV_ASSERT_NO_THROW(requirements = compiledModel.get_property(ov::runtime_requirements));
ASSERT_FALSE(requirements.empty());
- OV_ASSERT_NO_THROW(compiledModel = core.compile_model(
- model,
- deviceName,
- {ov::intel_npu::compiler_type(ov::intel_npu::CompilerType::DRIVER),
- ov::intel_npu::bypass_umd_caching(true)}));
+ OV_ASSERT_NO_THROW(compiledModel =
+ core.compile_model(model,
+ deviceName,
+ {ov::intel_npu::compiler_type(ov::intel_npu::CompilerType::DRIVER),
+ ov::intel_npu::bypass_umd_caching(true)}));
OV_ASSERT_NO_THROW(properties = compiledModel.get_property(ov::supported_properties));
it = find(properties.cbegin(), properties.cend(), ov::runtime_requirements);
diff --git a/src/plugins/intel_npu/tests/functional/behavior/compiled_model/property.hpp b/src/plugins/intel_npu/tests/functional/behavior/compiled_model/property.hpp
index b57ed49069b..2fa00eb68a2 100644
--- a/src/plugins/intel_npu/tests/functional/behavior/compiled_model/property.hpp
+++ b/src/plugins/intel_npu/tests/functional/behavior/compiled_model/property.hpp
@@ -42,15 +42,26 @@ protected:
ov::Any configValue;
ov::Core ie;
+private:
+ std::optional<ov::test::utils::LoggerLevelGuard> _logGuard;
+
public:
void SetUp() override {
+ _logGuard.emplace(::intel_npu::Logger::global().level());
SKIP_IF_CURRENT_TEST_IS_DISABLED();
+
OVCompiledModelPropertiesBase::SetUp();
+
deviceName = std::get<0>(GetParam());
std::tie(configKey, configValue) = std::get<1>(GetParam());
model = ov::test::utils::make_conv_pool_relu();
}
+
+ void TearDown() override {
+ _logGuard.reset();
+ OVCompiledModelPropertiesBase::TearDown();
+ }
static std::string getTestCaseName(
testing::TestParamInfo<std::tuple<std::string, std::pair<std::string, ov::Any>>> obj) {
std::string targetDevice;
@@ -366,6 +377,7 @@ TEST_P(CheckCompilerTypeProperty, CheckLogAfterSettingExtraConfigToGetProperty)
std::string logs;
std::mutex logs_mutex;
ov::Core core;
+ ov::test::utils::LoggerLevelGuard levelGuard(::intel_npu::Logger::global().level());
// Keep this std::function alive while logging is active.
std::function<void(std::string_view)> log_cb = [&](std::string_view msg) {
@@ -397,6 +409,7 @@ TEST_P(CheckCompilerTypeProperty, CheckLogAfterGettingPropertyWithExtraConfig) {
std::string logs;
std::mutex logs_mutex;
ov::Core core;
+ ov::test::utils::LoggerLevelGuard levelGuard(::intel_npu::Logger::global().level());
core.set_property(deviceName, ov::log::level(ov::log::Level::INFO));
@@ -433,6 +446,7 @@ TEST_P(CheckCompilerTypeProperty, SetRuntimeProperty) {
std::string logs;
std::mutex logs_mutex;
ov::Core core;
+ ov::test::utils::LoggerLevelGuard levelGuard(::intel_npu::Logger::global().level());
core.set_property(deviceName, ov::log::level(ov::log::Level::INFO));
@@ -466,6 +480,7 @@ TEST_P(CheckCompilerTypeProperty, SetCompilerPropertyForDifferentCompiler) {
std::string logs;
std::mutex logs_mutex;
ov::Core core;
+ ov::test::utils::LoggerLevelGuard levelGuard(::intel_npu::Logger::global().level());
core.set_property(deviceName, ov::log::level(ov::log::Level::INFO));
@@ -515,6 +530,7 @@ TEST_P(CheckCompilerTypeProperty, GetCompilerVersion) {
std::string logs;
std::mutex logs_mutex;
ov::Core core;
+ ov::test::utils::LoggerLevelGuard levelGuard(::intel_npu::Logger::global().level());
core.set_property(deviceName, ov::log::level(ov::log::Level::INFO));
@@ -615,6 +631,7 @@ TEST_P(CheckCompilerPropertyWhenImporting, ExpectedNoThrowFromImportWithCompiler
ov::Core core_compile, core_import;
ov::CompiledModel compiled_model;
std::stringstream export_stream;
+ ov::test::utils::LoggerLevelGuard levelGuard(::intel_npu::Logger::global().level());
OV_ASSERT_NO_THROW(compiled_model = core_compile.compile_model(model, deviceName));
OV_ASSERT_NO_THROW(compiled_model.export_model(export_stream));
@@ -697,6 +714,7 @@ TEST_P(CheckCompilerPropertyWhenImporting, CheckImportWithCompilerProperty) {
ov::Core core_for_importing;
ov::CompiledModel compiled_model;
std::stringstream export_stream;
+ ov::test::utils::LoggerLevelGuard levelGuard(::intel_npu::Logger::global().level());
OV_ASSERT_NO_THROW(compiled_model = core_for_compiler.compile_model(model, deviceName));
OV_ASSERT_NO_THROW(compiled_model.export_model(export_stream));
@@ -737,6 +755,7 @@ TEST_P(CheckCompilerPropertyWhenImporting, CheckImportWithCompilerPropertyAfterC
ov::Core core;
ov::CompiledModel compiled_model;
std::stringstream export_stream;
+ ov::test::utils::LoggerLevelGuard levelGuard(::intel_npu::Logger::global().level());
OV_ASSERT_NO_THROW(compiled_model = core.compile_model(model, deviceName));
OV_ASSERT_NO_THROW(compiled_model.export_model(export_stream));
@@ -778,9 +797,8 @@ TEST_P(CheckCpuPinning, CheckCompileModelWithCpuPinningFromSetProperty) {
ov::Core core;
ov::CompiledModel compiled_model;
- ov::log::Level previous_log_level = ov::log::Level::NO;
- OV_ASSERT_NO_THROW(previous_log_level = core.get_property(deviceName, ov::log::level));
- core.set_property(deviceName, ov::log::level(ov::log::Level::INFO));
+ ov::test::utils::LoggerLevelGuard logGuard(ov::log::Level::WARNING);
+ core.set_property(deviceName, ov::log::level(ov::log::Level::WARNING));
// Keep this std::function alive while logging is active.
std::function<void(std::string_view)> log_cb = [&](std::string_view msg) {
@@ -794,7 +812,6 @@ TEST_P(CheckCpuPinning, CheckCompileModelWithCpuPinningFromSetProperty) {
OV_ASSERT_NO_THROW(core.set_property(deviceName, ov::hint::enable_cpu_pinning(true)));
OV_ASSERT_NO_THROW(compiled_model = core.compile_model(model, deviceName));
}
- OV_ASSERT_NO_THROW(core.set_property(deviceName, ov::log::level(previous_log_level)));
bool enable_cpu_pinning = false;
OV_ASSERT_NO_THROW(enable_cpu_pinning = compiled_model.get_property(ov::hint::enable_cpu_pinning));
@@ -824,9 +841,7 @@ TEST_P(CheckCpuPinning, CheckCompileModelWithCpuPinningFromCompileProperty) {
ov::Core core;
ov::CompiledModel compiled_model;
- ov::log::Level previous_log_level = ov::log::Level::NO;
- OV_ASSERT_NO_THROW(previous_log_level = core.get_property(deviceName, ov::log::level));
- core.set_property(deviceName, ov::log::level(ov::log::Level::INFO));
+ ov::test::utils::LoggerLevelGuard logGuard(ov::log::Level::WARNING);
// Keep this std::function alive while logging is active.
std::function<void(std::string_view)> log_cb = [&](std::string_view msg) {
@@ -837,10 +852,11 @@ TEST_P(CheckCpuPinning, CheckCompileModelWithCpuPinningFromCompileProperty) {
{
ov::test::utils::LogCallbackGuard log_callback_guard(log_cb);
- OV_ASSERT_NO_THROW(compiled_model =
- core.compile_model(model, deviceName, {ov::hint::enable_cpu_pinning(true)}));
+ OV_ASSERT_NO_THROW(compiled_model = core.compile_model(
+ model,
+ deviceName,
+ {ov::hint::enable_cpu_pinning(true), ov::log::level(ov::log::Level::WARNING)}));
}
- OV_ASSERT_NO_THROW(core.set_property(deviceName, ov::log::level(previous_log_level)));
bool enable_cpu_pinning = false;
OV_ASSERT_NO_THROW(enable_cpu_pinning = compiled_model.get_property(ov::hint::enable_cpu_pinning));
diff --git a/src/plugins/intel_npu/tests/functional/behavior/ov_infer_request/compile_and_infer.cpp b/src/plugins/intel_npu/tests/functional/behavior/ov_infer_request/compile_and_infer.cpp
index d8da236900e..56e38bf00c6 100644
--- a/src/plugins/intel_npu/tests/functional/behavior/ov_infer_request/compile_and_infer.cpp
+++ b/src/plugins/intel_npu/tests/functional/behavior/ov_infer_request/compile_and_infer.cpp
@@ -25,7 +25,9 @@ INSTANTIATE_TEST_SUITE_P(smoke_BehaviorTests,
OVCompileAndInferRequestMultiThreading,
::testing::Combine(::testing::Values(getConstantGraph(ov::element::f32)),
::testing::Values(ov::test::utils::DEVICE_NPU),
- ::testing::ValuesIn(configs)),
+ ::testing::ValuesIn(ov::test::utils::mergeConfigs(
+ configs,
+ ov::test::utils::quietCompilerLogsConfig))),
ov::test::utils::appendPlatformTypeTestName<OVCompileAndInferRequestMultiThreading>);
INSTANTIATE_TEST_SUITE_P(compatibility_smoke_BehaviorTests,
diff --git a/src/plugins/intel_npu/tests/functional/behavior/ov_infer_request/infer_request_dynamic.cpp b/src/plugins/intel_npu/tests/functional/behavior/ov_infer_request/infer_request_dynamic.cpp
index e1e1ebe35d7..5bd973de18d 100644
--- a/src/plugins/intel_npu/tests/functional/behavior/ov_infer_request/infer_request_dynamic.cpp
+++ b/src/plugins/intel_npu/tests/functional/behavior/ov_infer_request/infer_request_dynamic.cpp
@@ -1,4 +1,3 @@
-//
// Copyright (C) 2018-2026 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
@@ -23,7 +22,8 @@ INSTANTIATE_TEST_SUITE_P(
{{1, 10, 18}, {6, 12, 15}},
{{1, 2, 14}, {5, 11, 18}}}),
::testing::Values(ov::test::utils::DEVICE_NPU),
- ::testing::ValuesIn(config)),
+ ::testing::ValuesIn(ov::test::utils::mergeConfigs(config,
+ ov::test::utils::quietCompilerLogsConfig))),
ov::test::utils::appendPlatformTypeTestName<OVInferRequestDynamicTests>);
} // namespace
diff --git a/src/plugins/intel_npu/tests/functional/behavior/ov_infer_request/infer_request_run.hpp b/src/plugins/intel_npu/tests/functional/behavior/ov_infer_request/infer_request_run.hpp
index 652e691a4ea..d11bfd805c3 100644
--- a/src/plugins/intel_npu/tests/functional/behavior/ov_infer_request/infer_request_run.hpp
+++ b/src/plugins/intel_npu/tests/functional/behavior/ov_infer_request/infer_request_run.hpp
@@ -373,8 +373,7 @@ using ProfilingBlob = InferRequestRunTests;
TEST_P(ProfilingBlob, NoProfilingCompileProfilingImport) {
std::shared_ptr<::intel_npu::ZeroInitStructsHolder> initStructs = ::intel_npu::ZeroInitStructsHolder::getInstance();
if (initStructs->getGraphDdiTable().version() < ZE_MAKE_VERSION(1, 16)) {
- std::cout << "Skip since driver extension version is lower than expected\n";
- GTEST_SKIP();
+ GTEST_SKIP() << "Skip since driver extension version is lower than expected";
}
ov::CompiledModel compiled_model;
@@ -401,8 +400,7 @@ TEST_P(ProfilingBlob, NoProfilingCompileProfilingImport) {
TEST_P(ProfilingBlob, ProfilingCompileNoProfilingImport) {
std::shared_ptr<::intel_npu::ZeroInitStructsHolder> initStructs = ::intel_npu::ZeroInitStructsHolder::getInstance();
if (initStructs->getGraphDdiTable().version() < ZE_MAKE_VERSION(1, 16)) {
- std::cout << "Skip since driver extension version is lower than expected\n";
- GTEST_SKIP();
+ GTEST_SKIP() << "Skip since driver extension version is lower than expected";
}
ov::CompiledModel compiled_model;
@@ -425,8 +423,7 @@ TEST_P(ProfilingBlob, ProfilingCompileNoProfilingImport) {
TEST_P(ProfilingBlob, ProfilingCompileProfilingImport) {
std::shared_ptr<::intel_npu::ZeroInitStructsHolder> initStructs = ::intel_npu::ZeroInitStructsHolder::getInstance();
if (initStructs->getGraphDdiTable().version() < ZE_MAKE_VERSION(1, 16)) {
- std::cout << "Skip since driver extension version is lower than expected\n";
- GTEST_SKIP();
+ GTEST_SKIP() << "Skip since driver extension version is lower than expected";
}
ov::CompiledModel compiled_model;
@@ -2305,11 +2302,10 @@ TEST_P(CpuVaTensorsTests, checkResultsAfterRawMemoryIsDestroyedAndReallocatedAft
logs.push_back('\n');
};
- internal_core.set_property(target_device, ov::log::level(ov::log::Level::DEBUG));
{
- // don't flood console with messages from model compilation
utils::LogCallbackGuard log_callback_guard(log_cb);
ov::CompiledModel compiled_model = internal_core.compile_model(model, target_device, configuration);
+ internal_core.set_property(target_device, ov::log::level(ov::log::Level::DEBUG));
inference_request = compiled_model.create_infer_request();
}
logs.clear();
@@ -2369,11 +2365,10 @@ TEST_P(CpuVaTensorsTests, checkResultsAfterRunningWithSameRawMemoryMultipleTimes
float* input_data = static_cast<float*>(::operator new(shape_size * sizeof(float), std::align_val_t(4096)));
float* output_data = static_cast<float*>(::operator new(shape_size * sizeof(float), std::align_val_t(4096)));
- internal_core.set_property(target_device, ov::log::level(ov::log::Level::DEBUG));
{
- // don't flood console with messages from model compilation
utils::LogCallbackGuard log_callback_guard(log_cb);
ov::CompiledModel compiled_model = internal_core.compile_model(model, target_device, configuration);
+ internal_core.set_property(target_device, ov::log::level(ov::log::Level::DEBUG));
inference_request = compiled_model.create_infer_request();
inference_request.set_input_tensor(ov::Tensor{ov::element::f32, shape, input_data});
inference_request.set_output_tensor(ov::Tensor{ov::element::f32, shape, output_data});
@@ -2435,11 +2430,10 @@ TEST_P(CpuVaTensorsTests, checkResultsAfterRunningWithSameZeroTensorMultipleTime
logs.push_back('\n');
};
- internal_core.set_property(target_device, ov::log::level(ov::log::Level::DEBUG));
{
- // don't flood console with messages from model compilation
utils::LogCallbackGuard log_callback_guard(log_cb);
ov::CompiledModel compiled_model = internal_core.compile_model(model, target_device, configuration);
+ internal_core.set_property(target_device, ov::log::level(ov::log::Level::DEBUG));
inference_request = compiled_model.create_infer_request();
input_tensor = inference_request.get_input_tensor();
output_tensor = inference_request.get_output_tensor();
@@ -2500,11 +2494,10 @@ TEST_P(CpuVaTensorsTests, checkResultsAfterRunningWithSameZeroHostTensorMultiple
float* input_data = input_tensor.data<float>();
float* output_data = output_tensor.data<float>();
- internal_core.set_property(target_device, ov::log::level(ov::log::Level::DEBUG));
{
- // don't flood console with messages from model compilation
utils::LogCallbackGuard log_callback_guard(log_cb);
ov::CompiledModel compiled_model = internal_core.compile_model(model, target_device, configuration);
+ internal_core.set_property(target_device, ov::log::level(ov::log::Level::DEBUG));
inference_request = compiled_model.create_infer_request();
inference_request.set_input_tensor(input_tensor);
inference_request.set_output_tensor(output_tensor);
@@ -2580,8 +2573,7 @@ TEST_P(CpuVaTensorsTests, checkResultsAfterRunningWithSameRawMemoryMultipleTimes
::operator delete(output_data, std::align_val_t(4096));
}
-class DynamicBoundsTests : public InferRequestRunTests
-{
+class DynamicBoundsTests : public InferRequestRunTests {
public:
void SetUp() override {
InferRequestRunTests::SetUp();
diff --git a/src/plugins/intel_npu/tests/functional/behavior/ov_plugin/core_integration.hpp b/src/plugins/intel_npu/tests/functional/behavior/ov_plugin/core_integration.hpp
index f490f9da0e2..6bd66687c92 100644
--- a/src/plugins/intel_npu/tests/functional/behavior/ov_plugin/core_integration.hpp
+++ b/src/plugins/intel_npu/tests/functional/behavior/ov_plugin/core_integration.hpp
@@ -383,7 +383,7 @@ TEST_P(OVClassGetMetricAndPrintNoThrow, NpuDeviceAllocMemSizeSameAfterDestroyInf
ov::CompiledModel compiledModel;
auto model = createModelWithLargeSize();
- //Warm up inference to initialize driver scratch buffers
+ // Warm up inference to initialize driver scratch buffers
OV_ASSERT_NO_THROW(compiledModel = core.compile_model(model, target_device));
auto inferRequest = compiledModel.create_infer_request();
inferRequest.infer();
diff --git a/src/plugins/intel_npu/tests/functional/common/utils.hpp b/src/plugins/intel_npu/tests/functional/common/utils.hpp
index 4b395f36de1..b8c7f50edbf 100644
--- a/src/plugins/intel_npu/tests/functional/common/utils.hpp
+++ b/src/plugins/intel_npu/tests/functional/common/utils.hpp
@@ -8,6 +8,7 @@
#include "common_test_utils/subgraph_builders/conv_pool_relu.hpp"
#include "common_test_utils/unicode_utils.hpp"
+#include "intel_npu/npu_private_properties.hpp"
#include "intel_npu/utils/logger/logger.hpp"
#include "intel_npu/utils/zero/zero_init.hpp"
#include "npu_test_env_cfg.hpp"
@@ -237,6 +238,20 @@ private:
ov::log::Level _previousLevel;
};
+// Returns a copy of configs with extraProperties merged into every entry; keys already present in
+// an entry are overwritten by extraProperties.
+inline std::vector<ov::AnyMap> mergeConfigs(std::vector<ov::AnyMap> configs, const ov::AnyMap& extraProperties) {
+ for (auto& config : configs) {
+ for (const auto& property : extraProperties) {
+ config[property.first] = property.second;
+ }
+ }
+ return configs;
+}
+
+inline const ov::AnyMap quietCompilerLogsConfig = {ov::intel_npu::compile_log_level(ov::log::Level::ERR),
+ ov::log::level(ov::log::Level::ERR)};
+
inline bool isDefaultDriverCompiler(const std::string& target_device) {
ov::Core core;
auto compiler_type = core.get_property(target_device, ov::intel_npu::compiler_type);
diff --git a/src/plugins/intel_npu/tests/functional/internal/compiler_adapter/zero_graph.hpp b/src/plugins/intel_npu/tests/functional/internal/compiler_adapter/zero_graph.hpp
index a0ec07d87bf..27767366227 100644
--- a/src/plugins/intel_npu/tests/functional/internal/compiler_adapter/zero_graph.hpp
+++ b/src/plugins/intel_npu/tests/functional/internal/compiler_adapter/zero_graph.hpp
@@ -81,6 +81,7 @@ public:
protected:
void SetUp() override {
+ _logGuard.emplace(ov::log::Level::ERR);
SKIP_IF_CURRENT_TEST_IS_DISABLED();
std::tie(targetDevice, configuration, zeGraphNpuExtVersion) = this->GetParam();
@@ -102,6 +103,7 @@ protected:
if (blob) {
::operator delete(blob, std::align_val_t(::utils::STANDARD_PAGE_SIZE));
}
+ _logGuard.reset();
}
void serializeIR() {
@@ -152,6 +154,7 @@ protected:
std::string targetDevice;
std::string blobPath;
uint32_t zeGraphNpuExtVersion;
+ std::optional<utils::LoggerLevelGuard> _logGuard;
};
using ZeroGraphCompilationTests = ZeroGraphTest;
diff --git a/src/plugins/intel_npu/tests/functional/shared_tests_instances/behavior/ov_plugin/caching_tests.cpp b/src/plugins/intel_npu/tests/functional/shared_tests_instances/behavior/ov_plugin/caching_tests.cpp
index fd2247ccd8b..dd91356e5a1 100644
--- a/src/plugins/intel_npu/tests/functional/shared_tests_instances/behavior/ov_plugin/caching_tests.cpp
+++ b/src/plugins/intel_npu/tests/functional/shared_tests_instances/behavior/ov_plugin/caching_tests.cpp
@@ -8,7 +8,6 @@
#include "common/npu_test_env_cfg.hpp"
#include "common/utils.hpp"
-#include "intel_npu/config/options.hpp"
using namespace ov::test::behavior;