Skip to content

Commit 7de605e

Browse files
committed
remove ov cache check in plugin
1 parent 6d58c92 commit 7de605e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/plugins/intel_npu/src/plugin/src/plugin.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -670,13 +670,13 @@ std::shared_ptr<ov::ICompiledModel> Plugin::compile_model(const std::shared_ptr<
670670
OV_ITT_TASK_CHAIN(PLUGIN_COMPILE_MODEL, itt::domains::NPUPlugin, "Plugin::compile_model", "fork_local_config");
671671
auto localConfig = fork_local_config(localPropertiesMap, compiler);
672672

673-
const auto set_cache_dir = localConfig.get<CACHE_DIR>();
674-
if (!set_cache_dir.empty()) {
675-
const auto compilerType = localConfig.get<COMPILER_TYPE>();
676-
if (compilerType == ov::intel_npu::CompilerType::PLUGIN) {
677-
OPENVINO_THROW("Option 'CACHE_DIR' is not supported with PLUGIN compiler type");
678-
}
679-
}
673+
// const auto set_cache_dir = localConfig.get<CACHE_DIR>();
674+
// if (!set_cache_dir.empty()) {
675+
// const auto compilerType = localConfig.get<COMPILER_TYPE>();
676+
// if (compilerType == ov::intel_npu::CompilerType::PLUGIN) {
677+
// OPENVINO_THROW("Option 'CACHE_DIR' is not supported with PLUGIN compiler type");
678+
// }
679+
// }
680680

681681
const auto platform =
682682
utils::getCompilationPlatform(localConfig.get<PLATFORM>(),

0 commit comments

Comments
 (0)