Skip to content

Commit

Permalink
Merge pull request #501 from intel/mmvarerk/fix_bypass_umd_caching_bug
Browse files Browse the repository at this point in the history
Fix: Fix bug for bypass umd caching w/ OV 2025
  • Loading branch information
sfatimar authored Nov 19, 2024
2 parents 095781a + 091b910 commit 9288133
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ void BasicBackend::PopulateConfigValue(ov::AnyMap& device_config) {
device_property = std::make_pair("NPU_COMPILER_TYPE", env_npu_compiler_type);
}
device_config.emplace(ov::device::properties("NPU", device_property));
#if (OPENVINO_VERSION_MAJOR >= 2024) && (OPENVINO_VERSION_MINOR > 3)
#if (((OPENVINO_VERSION_MAJOR == 2024) && (OPENVINO_VERSION_MINOR > 3)) || (OPENVINO_VERSION_MAJOR > 2024))
if (global_context_.export_ep_ctx_blob) {
global_context_.ie_core.Get().set_property("NPU", ov::intel_npu::bypass_umd_caching(true));
}
Expand Down

0 comments on commit 9288133

Please sign in to comment.