OpenVINO™ is an open-source toolkit for optimizing and deploying AI inference
Go to file
Mikhail Nosov 65bad6c3a8
[Hetero plugin] Model caching support (#4977)
* [Hetero plugin] Model caching support

- Enable IMPORT_EXPORT_SUPPORT metric
- Introduce internal FORCE_DISABLE_CACHE flag to avoid caching of subnetworks
- Added test for hetero with plugins which don't support caching
- Added test for hetero with plugins supported different cache architecture

* Hetero plugin - support DEVICE_ARCHITECTURE

Test setup:
mock.1 - mock.9 returns "one" for DEVICE_ARCHITECTURE
mock.10 - mock.99 returns "two"

Test:
Load "HETERO:mock.1,mock.51".
Load "HETERO:mock.2,mock.52" - cache shall be reused

* Fixed review comments

Covered use case case
ie.SetConfig({{"TARGET_FALLBACK", "CPU"}}, "HETERO");
ie.LoadNetwork(network, "HETERO");

* Fixed more comments and failed tests

Don't propagate FORCE_DISABLE_CACHE to plugins as they can throw exception
Fixed case with set TARGET_FALLBACK from core with different architectures of one plugin

* Fix unit tests

Add 'FORCE_DISABLE_CACHE' config key only for LoadExeNetwork
It is not needed to have in in QueryNetwork and other places

* Attempt to fix failed func test on Windows
2021-03-27 22:39:10 +03:00
.ci Align copyright notice in python scripts (CVS-51320) (#4974) 2021-03-26 17:54:28 +03:00
.github Align copyright notice in python scripts (CVS-51320) (#4974) 2021-03-26 17:54:28 +03:00
cmake Removed not needed suppressions for deprecated API in ngraph (#4992) 2021-03-27 14:32:17 +03:00
docs Align copyright notice in python scripts (CVS-51320) (#4974) 2021-03-26 17:54:28 +03:00
inference-engine [Hetero plugin] Model caching support (#4977) 2021-03-27 22:39:10 +03:00
licensing updated third-party-programs.txt (#4789) 2021-03-16 14:07:16 +03:00
model-optimizer Align copyright notice in sh, bat, cl, cc, pyx source files (#4995) 2021-03-27 01:26:27 +03:00
ngraph Ignore unused-variable for libprotoc (#4948) 2021-03-27 15:49:18 +03:00
openvino Align copyright notice in python scripts (CVS-51320) (#4974) 2021-03-26 17:54:28 +03:00
scripts Align copyright notice in sh, bat, cl, cc, pyx source files (#4995) 2021-03-27 01:26:27 +03:00
tests Align copyright notice in sh, bat, cl, cc, pyx source files (#4995) 2021-03-27 01:26:27 +03:00
thirdparty Align copyright notice in cpp and cmake source files (CVS-51320) (#4950) 2021-03-25 02:40:09 +03:00
tools Align copyright notice in python scripts (CVS-51320) (#4974) 2021-03-26 17:54:28 +03:00
.gitattributes Doc Migration (master) (#1377) 2020-07-20 17:36:08 +03:00
.gitignore publish master branch snapshot, revision 8d31237e2c3f673cbb0f0ba110fc10f5cce1d2bb 2020-05-22 02:23:12 +03:00
.gitmodules Optimizations for precision conversion operations in nGraph reference implementations (#3974) 2021-02-08 16:21:45 +03:00
CMakeLists.txt Removed obsolete NGRAPH_COMPONENT_PREFIX (#4921) 2021-03-24 06:37:11 +03:00
CODEOWNERS Added code owners for scripts folder (#2130) 2020-09-08 17:23:27 +03:00
install_build_dependencies.sh Align copyright notice in sh, bat, cl, cc, pyx source files (#4995) 2021-03-27 01:26:27 +03:00
Jenkinsfile [Jenkinsfile] Disable failFast & enable propagateStatus (#3503) 2020-12-10 12:05:03 +03:00
LICENSE Publishing R3 2018-10-16 13:45:03 +03:00
README.md [README.md] change latest release to 2021.3 2021-03-23 22:24:38 +03:00
SECURITY.md Added SECURITY.md back (#3177) 2020-11-17 16:44:44 +03:00

OpenVINO™ Toolkit

Stable release Apache License Version 2.0 GitHub branch checks state Azure DevOps builds (branch)

This toolkit allows developers to deploy pre-trained deep learning models through a high-level C++ Inference Engine API integrated with application logic.

This open source version includes several components: namely Model Optimizer, nGraph and Inference Engine, as well as CPU, GPU, MYRIAD, multi device and heterogeneous plugins to accelerate deep learning inferencing on Intel® CPUs and Intel® Processor Graphics. It supports pre-trained models from the Open Model Zoo, along with 100+ open source and public models in popular formats such as Caffe*, TensorFlow*, MXNet* and ONNX*.

Repository components:

License

Deep Learning Deployment Toolkit is licensed under Apache License Version 2.0. By contributing to the project, you agree to the license and copyright terms therein and release your contribution under these terms.

Resources:

Support

Please report questions, issues and suggestions using:


* Other names and brands may be claimed as the property of others.