From ea19102e91385119a16e97f3e6ef1240feda6297 Mon Sep 17 00:00:00 2001 From: Tomasz Krupa Date: Mon, 9 Dec 2024 10:32:19 +0100 Subject: [PATCH] Update src/plugins/intel_gpu/src/plugin/compiled_model.cpp Co-authored-by: Sergey Shlyapnikov --- src/plugins/intel_gpu/src/plugin/compiled_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/intel_gpu/src/plugin/compiled_model.cpp b/src/plugins/intel_gpu/src/plugin/compiled_model.cpp index 541672308119c5..810353fe626c19 100644 --- a/src/plugins/intel_gpu/src/plugin/compiled_model.cpp +++ b/src/plugins/intel_gpu/src/plugin/compiled_model.cpp @@ -181,7 +181,7 @@ void CompiledModel::export_model(std::ostream& model) const { const ov::EncryptionCallbacks encryption_callbacks = m_config.get_property(ov::cache_encryption_callbacks); - // Do not allow encryption for CacheMode::OPTIMIZE_SHAPE - the cache size may cause severe memory penalty. + // Do not allow encryption for CacheMode::OPTIMIZE_SPEED - the cache size may cause severe memory penalty. const bool encryption_enabled = encryption_callbacks.encrypt && cache_mode == ov::CacheMode::OPTIMIZE_SIZE; std::unique_ptr ob_ptr = encryption_enabled