We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a63492 commit 1f68be9Copy full SHA for 1f68be9
src/plugins/intel_npu/src/plugin/npuw/llm_compiled_model.cpp
@@ -303,8 +303,8 @@ struct NPUDesc {
303
};
304
305
std::optional<NPUDesc> extract_npu_descriptor(const std::shared_ptr<const ov::IPlugin>& plugin) {
306
- const auto all_devices = plugin->get_core()->get_available_devices();
307
- if (std::find(all_devices.begin(), all_devices.end(), "NPU") == all_devices.end()) {
+ const auto all_devices = plugin->get_core()->get_property("NPU", ov::available_devices);
+ if (all_devices.empty()) {
308
return std::nullopt;
309
}
310
0 commit comments