OpenVINO™ is an open-source toolkit for optimizing and deploying AI inference
Go to file
Mateusz Bencer 7f3a8ce885
Move ONNX Editor to separate target (#4293)
* Subgraph extraction in ONNX models

* Windows compilation error fix + docs update

* Code cleanup after the first round of reviews

* CI compilation error fix

* Even more CI compilation error fixes

* Proper usage of ADL in generic code

* ONNX shape inference related code cleanup

* Disable the onnx test utils when pb-lite is used

* PB dependency removal from UT, strong types for input and output edges, more verbose errors in tests

* Fix for the protobuf descriptor database corruption

* testing visibility changes

* Revert the changes that didn't work

* Make tests green again?

* Make the current tests pass

* Remove the ONNX header from editor's tests

* Switch from stable_partition to remove_if because of compiler bugs

* Obsolete test removal and cmakelists cleanup in tests

* Macos failed, reverting some changes

* Handle the multiple output consumers UC

* Keep the tensor name when replacing an initializer

* Cutting a graph with multiple consumers of inputs and initializers

* Subgraph extraction with multiple initializer consumers

* Add CMakeList, move files

* fixed headers locations

* fixed calling tests

* apply code styles

* change namespace to onnx_editor

* removd not needed dependencies to onnx_editor

* Remove linking libonnx from unit-test

* Consider all flavors of protobuf libraries

* disable lto for onnx and onnx_proto

* revert set ONNX_INCLUDE_DIR change

* create new target onnx_common

* cmake dependencies clean-up

* Added onnx_common visibility

* pass ModelProto as reference + remove redundant dependencies

* expose onnx symbols by onnx_common

* remove -fno-lto, move InputEdge and OutputEdge to other header

* configure onnx linking for MSVC and APPLE

* remove unused comment

* fixed linking configuration for msvc and apple/clang

* clean cmakes

* added dependencies

* remove onnx and onnx_proto from NGRAPH_EXPORT_TARGETS_ENABLE

* make onnx and protobuf dynamic

* cmake dependency clean-up

* added onnx patch - make only onnx_proto shared

* use protobuf should depend on BUILD_SHARED_LIBS

* fixed patch

* fixed install targets

* add if to install protobuf

* fixed onnx flag

* move protobuf install

* cmake dependencies

* added protobuf header include dir + clean-up ng cmake

* added protobuf to ng targets

* fix apple build

* dependencies clean-up

* make onnx_editor static lib

* remove onnx editor visibility

* fixed protobuf export enablement

* fix apple build

* test build protobuf by fetch content

* fix apple protobuf build

* Docs update

* Producer name update in test onnx models

* More comments in the subgraph extraction code

* Merge remote-tracking branch 'upstream/master' into mbencer/MoveEditorToSeparateLib

* add dependency to onnx_proto for test utils

* dependency to ngraph_test_util

* ngraph_test_util dependency. part. 2

* conditional dependency of onnx to ngraph_test_util

* Apply suggestions from code review

Co-authored-by: Tomasz Socha <tomasz.socha@intel.com>

* review remarks

* remove onnx_proto default visibility

* camke remarks, not exporting onnx_common and onnx_editor to target set

* [test fix macos CI] Revert "remove onnx_proto default visibility"

* set onnx_proto visibility only for macos

* [PyPI] remove rpath for dylib

* Corrected cmd

* fix protobuf-lite linking

Co-authored-by: tomdol <tomasz.dolbniak@intel.com>
Co-authored-by: Tomasz Jankowski <tomasz1.jankowski@intel.com>
Co-authored-by: Mateusz Tabaka <mateusz.tabaka@intel.com>
Co-authored-by: Tomasz Socha <tomasz.socha@intel.com>
Co-authored-by: mryzhov <mikhail.ryzhov@intel.com>
2021-03-17 07:07:53 +03:00
.ci Enable protobuf-lite in ONNX CI tests (#4487) 2021-03-15 14:34:02 +01:00
.github nGraph code style upgrade to clang-format-9 (#4721) 2021-03-15 22:06:01 +03:00
cmake Move link of CC library under cmake macro (#4779) 2021-03-16 14:04:48 +03:00
docs Specification of the operation DFT (#4404) 2021-03-16 14:20:47 +03:00
inference-engine [DOCS] added iname/oname (#4825) 2021-03-16 23:37:16 +03:00
licensing updated third-party-programs.txt (#4789) 2021-03-16 14:07:16 +03:00
model-optimizer Fix of tensor names propagation in loops and in add_opoutput(). (#4565) 2021-03-16 16:00:56 +03:00
ngraph Move ONNX Editor to separate target (#4293) 2021-03-17 07:07:53 +03:00
openvino Fix for broken CC in CPU plugin (#4594) 2021-03-04 12:22:21 +03:00
scripts Added gstreamer1.0-x pkg for dlstreamer (#4512) 2021-03-02 12:41:56 +03:00
tests Improvements in cmake scripts (#4766) 2021-03-15 13:07:38 +03:00
thirdparty Removed redundant code from csv collector (#4225) 2021-02-09 06:39:27 +03:00
tools [IE Tools] Fix seed for random generator in benchmark_app(s) to have reproducable data between runs of the same application (#4757) 2021-03-13 16:41:39 +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 WA for GCC 7.5 pybind warning (#4277) 2021-02-11 18:41:23 +03:00
CODEOWNERS Added code owners for scripts folder (#2130) 2020-09-08 17:23:27 +03:00
install_build_dependencies.sh [install_dependencies.sh] install latest cmake if current version is lower 3.13 (#2695) 2020-10-16 21:03:46 +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 Feature/azaytsev/gna model link fixes (#4590) 2021-03-03 19:03:40 +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.