Skip to content

Commit

Permalink
Update src/plugins/intel_gpu/src/plugin/compiled_model.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Sergey Shlyapnikov <[email protected]>
  • Loading branch information
tkrupa-intel and sshlyapn authored Dec 9, 2024
1 parent f50272b commit ea19102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/plugin/compiled_model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<cldnn::BinaryOutputBuffer> ob_ptr =
encryption_enabled
Expand Down

0 comments on commit ea19102

Please sign in to comment.