DOCS: Model Caching Overview image recreation for master (#15021)

* Model Caching Overview

* graph-background-fix
This commit is contained in:
Maciej Smyk 2023-01-20 08:21:42 +01:00 committed by GitHub
parent 426a9a6161
commit d7e77e30a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 2370 additions and 12 deletions

View File

@ -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
@ -115,6 +115,3 @@ 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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ecf560b08b921da29d59a3c1f6332d092a0575dd00cf59806dc801c32a10790f
size 120241

1223
docs/img/caching_enabled.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 114 KiB

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:357483dd3460848e98489073cd9d58b5c8ada9ec3df4fbfd0956ba9e779f9c15
size 79843

1144
docs/img/caching_times.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 112 KiB