Skip to content

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

[NPU] Update path to compiler library (#33741)

Stefania Hergane66b7be6ceead
diff --git a/src/plugins/intel_npu/src/compiler_adapter/src/compiler_impl.cpp b/src/plugins/intel_npu/src/compiler_adapter/src/compiler_impl.cpp
index 0621aa0d3be..8b5e40c7a8c 100644
--- a/src/plugins/intel_npu/src/compiler_adapter/src/compiler_impl.cpp
+++ b/src/plugins/intel_npu/src/compiler_adapter/src/compiler_impl.cpp
@@ -182,7 +182,7 @@ static inline std::string getLatestVCLLog(vcl_log_handle_t logHandle) {
VCLApi::VCLApi() : _logger("VCLApi", Logger::global().level()) {
const std::filesystem::path baseName = "openvino_intel_npu_compiler";
try {
- auto libpath = ov::util::make_plugin_library_name({}, baseName);
+ auto libpath = ov::util::make_plugin_library_name(ov::util::get_ov_lib_path(), baseName);
_logger.debug("Try to load openvino_intel_npu_compiler");
this->lib = ov::util::load_shared_object(libpath);
} catch (const std::runtime_error& error) {