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] Drop the unused device properties query from WeightlessGraph (#38607)
Patrik Stepanc026cb63b3e9
diff --git a/src/plugins/intel_npu/src/compiler_adapter/src/weightless_graph.cpp b/src/plugins/intel_npu/src/compiler_adapter/src/weightless_graph.cppindex 9dddd06eb46..7fc98fc6ccb 100644--- a/src/plugins/intel_npu/src/compiler_adapter/src/weightless_graph.cpp+++ b/src/plugins/intel_npu/src/compiler_adapter/src/weightless_graph.cpp@@ -370,7 +370,7 @@ std::pair<uint64_t, std::optional<std::vector<uint64_t>>> WeightlessGraph::exporvoid WeightlessGraph::initialize_impl(const Config& config) {if (_zeGraphExt == nullptr || _graphDesc._handle == nullptr || _zeroInitStruct == nullptr) {- // To ensure that does not throw an issue when subsequently calling `_zeroInitStruct->getDevice()`+ // To ensure that no issues are thrown during subsequent calls.return;}@@ -584,11 +584,6 @@ void WeightlessGraph::run_init_multi_threaded() {},[&](QueueData&& data, std::condition_variable& cv, std::atomic_bool& flag) {// Create zero-pipeline and run it (infer init schedule)- ze_device_properties_t properties = {};- properties.stype = ZE_STRUCTURE_TYPE_DEVICE_PROPERTIES;- THROW_ON_FAIL_FOR_LEVELZERO("zeDeviceGetProperties",- zeDeviceGetProperties(_zeroInitStruct->getDevice(), &properties));-create_pipeline(data.initIndex, data.inputs.tensors, data.outputs.tensors);// progress task 1: