Skip to content

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

[NPU] Change log level to debug (#26282)

Bogdan Pereanuc86004ec773a
diff --git a/src/plugins/intel_npu/src/backend/src/zero_infer_request.cpp b/src/plugins/intel_npu/src/backend/src/zero_infer_request.cpp
index 4771e454347..d80dc33a677 100644
--- a/src/plugins/intel_npu/src/backend/src/zero_infer_request.cpp
+++ b/src/plugins/intel_npu/src/backend/src/zero_infer_request.cpp
@@ -82,7 +82,7 @@ Type extract_object(const ov::AnyMap& params, const ov::Property<Type>& p) {
std::optional<size_t> ZeroInferRequest::getBatchSize(const NetworkMetadata& metadata) {
if (!metadata.outputs.at(0).shapeFromIRModel.has_value()) {
- _logger.warning("Batching on the plugin is not used, batching is handled by the compiler");
+ _logger.debug("Batching on the plugin is not used, batching is handled by the compiler");
return std::nullopt;
}
@@ -99,7 +99,7 @@ std::optional<size_t> ZeroInferRequest::getBatchSize(const NetworkMetadata& meta
const size_t candidateBatchSize = firstOutputShape[BATCH_AXIS].get_length();
if (candidateBatchSize == 0 || candidateBatchSize == DEFAULT_BATCH_SIZE) {
- _logger.warning("Batching on the plugin is not used, batching is handled by the compiler");
+ _logger.debug("Batching on the plugin is not used, batching is handled by the compiler");
return std::nullopt;
}
@@ -129,11 +129,11 @@ std::optional<size_t> ZeroInferRequest::getBatchSize(const NetworkMetadata& meta
if (!checkDescriptorsUseCandidateBatchSize(metadata.inputs) ||
!checkDescriptorsUseCandidateBatchSize(metadata.outputs)) {
- _logger.warning("Batching on the plugin is not used, batching is handled by the compiler");
+ _logger.debug("Batching on the plugin is not used, batching is handled by the compiler");
return std::nullopt;
}
- _logger.warning("Batching is handled by the plugin");
+ _logger.debug("Batching is handled by the plugin");
return candidateBatchSize;
}