OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[DOCS] Documenting cache_encryption_callbacks option (#26584)
Sebastian Golebiewski68f7d336e5a5
diff --git a/docs/articles_en/openvino-workflow/running-inference/optimize-inference/optimizing-latency/model-caching-overview.rst b/docs/articles_en/openvino-workflow/running-inference/optimize-inference/optimizing-latency/model-caching-overview.rstindex 9adc873864b..181622ff55b 100644--- a/docs/articles_en/openvino-workflow/running-inference/optimize-inference/optimizing-latency/model-caching-overview.rst+++ b/docs/articles_en/openvino-workflow/running-inference/optimize-inference/optimizing-latency/model-caching-overview.rst@@ -139,8 +139,7 @@ To check in advance if a particular device supports model caching, your applicatSet "cache_encryption_callbacks" config option to enable cache encryption+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-With model caching enabled, model topology in cache can be encrypted/decrypted when saving/loading model cache.-This property can currently only be set in ``compile_model``.+If model caching is enabled, the model topology can be encrypted when saving to the cache and decrypted when loading from the cache. This property can currently be set only in ``compile_model``... tab-set::@@ -160,5 +159,4 @@ This property can currently only be set in ``compile_model``... important::- Currently, this property is only supported by CPU plugin. For other HW plugins, setting this property will perform- normally but do not encrypt/decrypt the model topology in cache.+ Currently, this property is supported only by the CPU plugin. For other HW plugins, setting this property will not encrypt/decrypt the model topology in cache and will not affect performance.diff --git a/src/bindings/c/include/openvino/c/ov_property.h b/src/bindings/c/include/openvino/c/ov_property.hindex c2e855f766c..356a46ee74d 100644--- a/src/bindings/c/include/openvino/c/ov_property.h+++ b/src/bindings/c/include/openvino/c/ov_property.h@@ -108,9 +108,9 @@ OPENVINO_C_VAR(const char*)ov_property_key_cache_mode;/**- * @brief Write-only property<ov_encryption_callbacks*> to set encryption/decryption function for model cache.- * If ov_property_key_cache_encryption_callbacks is set, model topology in cache will be encrypted/decrypted when- * saving/loading model cache. This property is enabled in ov_core_compile_model_* only+ * @brief Write-only property<ov_encryption_callbacks*> to set encryption and decryption function for model cache.+ * If ov_property_key_cache_encryption_callbacks is set, model topology will be encrypted when saving to the cache and+ * decrypted when loading from the cache. This property is set in ov_core_compile_model_* only* @ingroup ov_property_c_api*/OPENVINO_C_VAR(const char*)diff --git a/src/inference/include/openvino/runtime/properties.hpp b/src/inference/include/openvino/runtime/properties.hppindex abc765cafe2..621c0074fc9 100644--- a/src/inference/include/openvino/runtime/properties.hpp+++ b/src/inference/include/openvino/runtime/properties.hpp@@ -791,8 +791,8 @@ struct EncryptionCallbacks {/*** @brief Write-only property to set encryption/decryption function for saving/loading model cache.- * If cache_encryption_callbacks is set, the model topology in cache will be encrypted/decrypted when saving/loading- * cache. cache_encryption_callbacks is enabled in core.compile_model only.+ * If cache_encryption_callbacks is set, the model topology will be encrypted when saving to the cache and decrypted+ * when loading from the cache. This property is set in core.compile_model only.* - First value of the struct is encryption function.* - Second value of the struct is decryption function.* @ingroup ov_runtime_cpp_prop_api