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
Fix Device with "(CPU)" name is not registered when using "AUTO" and setting OPENVINO_LOG_LEVEL=5 (#28866)
guozhong wangc04d82815960
diff --git a/src/inference/src/dev/core_impl.cpp b/src/inference/src/dev/core_impl.cppindex 7e2a0a8b4be..f58ecb63826 100644--- a/src/inference/src/dev/core_impl.cpp+++ b/src/inference/src/dev/core_impl.cpp@@ -580,6 +580,8 @@ ov::Plugin ov::CoreImpl::get_plugin(const std::string& pluginName) const {auto deviceName = pluginName;if (deviceName == ov::DEFAULT_DEVICE_NAME)deviceName = "AUTO";+ if (deviceName == "(CPU)")+ deviceName = "CPU";stripDeviceName(deviceName, "-");std::map<std::string, PluginDescriptor>::const_iterator it;{