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] 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.cppindex 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& metaconst 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& metaif (!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;}