From 4a893dc6de74de108c8428a54d8061a45c269cfc Mon Sep 17 00:00:00 2001 From: Maciej Smyk Date: Fri, 20 Jan 2023 08:21:36 +0100 Subject: [PATCH] DOCS: Model Caching Overview image recreation for 22.3 (#15025) * Model Caching Overview * graph-background-fix --- docs/OV_Runtime_UG/Model_caching_overview.md | 9 +- docs/img/caching_enabled.png | 3 - docs/img/caching_enabled.svg | 1223 ++++++++++++++++++ docs/img/caching_times.png | 3 - docs/img/caching_times.svg | 1144 ++++++++++++++++ 5 files changed, 2370 insertions(+), 12 deletions(-) delete mode 100644 docs/img/caching_enabled.png create mode 100644 docs/img/caching_enabled.svg delete mode 100644 docs/img/caching_times.png create mode 100644 docs/img/caching_times.svg diff --git a/docs/OV_Runtime_UG/Model_caching_overview.md b/docs/OV_Runtime_UG/Model_caching_overview.md index 4947362b181..fa407853c07 100644 --- a/docs/OV_Runtime_UG/Model_caching_overview.md +++ b/docs/OV_Runtime_UG/Model_caching_overview.md @@ -47,7 +47,7 @@ If the device does not support import/export capability, cache is not created an Depending on your device, total time for compiling model on application startup can be significantly reduced. Also note that the very first `compile_model` (when cache is not yet created) takes slightly longer time to "export" the compiled blob into a cache file: -![caching_enabled] +![](../img/caching_enabled.svg) ### Even faster: use compile_model(modelPath) @@ -89,7 +89,7 @@ With model caching enabled, total load time is even smaller, if `read_model` is @endsphinxdirective -![caching_times] +![](../img/caching_times.svg) ### Advanced Examples @@ -114,7 +114,4 @@ To check in advance if a particular device supports model caching, your applicat > **NOTE**: For GPU, model caching is currently implemented as a preview feature. Before it is fully supported, kernel caching can be used in the same manner: by setting the CACHE_DIR configuration key to a folder where the cache should be stored (see the [GPU plugin documentation](supported_plugins/GPU.md)). > To activate the preview feature of model caching, set the OV_GPU_CACHE_MODEL environment variable to 1. - - -[caching_enabled]: ../img/caching_enabled.png -[caching_times]: ../img/caching_times.png + diff --git a/docs/img/caching_enabled.png b/docs/img/caching_enabled.png deleted file mode 100644 index 2cc080c118b..00000000000 --- a/docs/img/caching_enabled.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ecf560b08b921da29d59a3c1f6332d092a0575dd00cf59806dc801c32a10790f -size 120241 diff --git a/docs/img/caching_enabled.svg b/docs/img/caching_enabled.svg new file mode 100644 index 00000000000..0690c0107ee --- /dev/null +++ b/docs/img/caching_enabled.svg @@ -0,0 +1,1223 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/img/caching_times.png b/docs/img/caching_times.png deleted file mode 100644 index fa67a63f3fc..00000000000 --- a/docs/img/caching_times.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:357483dd3460848e98489073cd9d58b5c8ada9ec3df4fbfd0956ba9e779f9c15 -size 79843 diff --git a/docs/img/caching_times.svg b/docs/img/caching_times.svg new file mode 100644 index 00000000000..239f9bf9f03 --- /dev/null +++ b/docs/img/caching_times.svg @@ -0,0 +1,1144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +