Commit Graph
5728 Commits
Author SHA1 Message Date
5b25dbee22 ov2.0 IE samples modification (#8340)
* ov2.0 IE samples modification

apply code style

turn off clang style check for headers order

unify samples a bit

add yuv nv12 reader to format_reader, helloe_nv112 sample

hello_reshape_ssd ov2.0

* sync with PR 8629 preprocessing api changes

* fix for slog << vector<int>

* add operator<< for ov::Version from PR-8687

* Update samples/cpp/hello_nv12_input_classification/main.cpp

Co-authored-by: Mikhail Nosov <mikhail.nosov@intel.com>

* apply code style

* change according to review comments

* add const qualifier

* apply code style

* std::ostream for old inference engine version to make VPU plugin tests happy

* apply code style

* revert changes in print version for old api samples

* keep inference_engine.hpp for not ov2.0 yet samples

* fix merge artifacts

* fix compilation

* apply code style

* Fixed classification sample test

* Revert changes in hello_reshape_ssd sample

* rebase to master, sync with PR-9054

* fix issues found by C++ tests

* rebased and sync with PR-9051

* fix test result parsers for classification tests (except unicode one)

* fix mismatches after merge

* rebase and sync with PR-9144

Co-authored-by: Mikhail Nosov <mikhail.nosov@intel.com>
Co-authored-by: antonrom23 <anton.romanov@intel.com>
2021-12-13 11:30:58 +03:00
Paul Youngsoo Ahn 4e8a6d5a4b [GPU] Add sub/div mode in eltwise fusing (#8759) (#8759)
- Add sub/div operation of eltwise fusing
- Propergate dep ordered info to Jitter
- Add sub/div to the fusing gpu tests
2021-12-13 10:24:37 +03:00
Ilya Churaev 4f62a48077 Remove ngraph backends (#9162) 2021-12-13 00:04:56 +03:00
Ilya LavrenovandIvan Tikhonov 9e519946f0 Integrate JSON libs (#9145)
* Add nlohmann json (Release 3.10.4) as submodule

* Move nlohmann_json lib to json folder, add json_schema validator lib as submodule

* Move BUILD_SHARED_LIBS flag to a separete scope

* Add export of nlohmann_json_schema_validator

* Fix build

* set folder thirdparty

* link lib to offline_transformations and benchmark_app

* suppress shadowing names warning in nlohmann_json lib

* fix include in benchmark_app

* Resolve review comments: add json subdirs to samples cmake

* Fix static build

* Proper json integration

* removed cpp_samples_deps component

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
2021-12-12 20:40:41 +03:00
Ilya Churaev 75ac2d4b7d Fixed master build (#9164) 2021-12-12 11:18:44 +03:00
Mikhail Nosov 135849cf6c [OV20] Preprocessing - back propagation of 'tensor layout' when convert-by-dims is used (#9129)
* Fix back propagation of layout when 'convert with dims' is specified

* Remove original 'reuse param's layout', as it is covered by back-propagation logic

* Remove debug test output
2021-12-12 01:01:35 +03:00
Steve Yoo 29715672fd Remove unused header files in GatherTree-1 (#9141) 2021-12-12 00:18:33 +03:00
Gleb Kazantaev 586d97bcb0 RIC Fusion Transformation (#8905)
* Initial RIC Fusion version

* Added automatic RIC inserter/erases

* Updated RIC Attr; Added support for new operations; updated tests; simplified matcher registration

* New operaitons; layout independency

* Cleanup

* Added FQ support

* Cleanup; fix Conv+FQ

* Added accuracy check; fixed GroupConvolution handler

* Added Split->Concat and ShapeOf tests

* Improved test coverege; cleanup

* Function -> Model

* Fix node usage

* Added rank check and check for two consecutive init patterns
2021-12-11 23:21:13 +03:00
Ilya Churaev 37b0b6f7c8 Renamed ExecutableNetwork to CompiledModel (#9144)
* Renamed ExecutableNetwork to CompiledModel

* Fixed python

* Fixed comments

* Fixed build

* Fixed code style
2021-12-11 16:11:15 +03:00
Gleb Kazantaev 39db1c1a2a Move offline_transformations to src/common (#9155) 2021-12-11 05:40:23 +03:00
Mikhail Nosov 45bdf627cb [OV20] Preprocessing: User friendly error message for convert_layout (#9077)
* Fix incomprehensible error message during layout conversion when layout rank doesn't match with shape rank

* clang-format fix, Removed debug print

* Updated unit test according to review comments

* Moved apply_permutation and find_permutation to src/layout_utils.hpp
2021-12-11 03:42:46 +03:00
Sergey Lyubimtsev 7c759b894b Remove ngraph component (#9152) 2021-12-10 21:19:13 +03:00
Ilya Churaev a984b8d6ba Fixed incorrect path to TBB (#9151) 2021-12-10 20:38:24 +03:00
Andrey Sapozhnikov 74f6cf3726 [GNA] Coverity issues fix (#9119) 2021-12-10 20:36:46 +03:00
Yegor Kruglov 562d388ad9 MaxPool-1 -> MaxPool-8 upgrade transformation (#8784)
* upgrade transformation

* test fix

* comments resolving

* added case with dynamic rank
2021-12-10 16:31:49 +03:00
Vladimir Dudnik c85fb74efc ov2.0 cpp hello reshape ssd (#8874)
* OV2.0 API C++ hello_reashe_ssd sample

* clean header

* fix test for changed sample cmd line

* adopt to PR-8898

* sync with PR-9054, simplify code

* apply code_style.diff

* sync with PR-9051
2021-12-10 15:58:23 +03:00
Mateusz Tabaka 0c68574aa7 Fix compilation error in pyopenvino (#9150) 2021-12-10 14:01:44 +03:00
Egor Duplensky 20a5afa84e [CPU] Fix mixing VEX and non-VEX instructions (#8658)
Quote: The Skylake microarchitecture implements a different state
machine than prior generations to manage the YMM state transition
associated with mixing SSE and AVX instructions.
It no longer saves the entire upper YMM state when executing
an SSE instruction when in “Modified and Unsaved” state,
but saves the upper bits of individual register.
As a result, mixing SSE and AVX instructions will experience
a penalty associated with partial register dependency of
the destination registers being used and additional blend
operation on the upper bits of the destination registers.

Such type of penalties have a huge impact on openvino's and oneDNN's kernels.
Basically the mixing of VEX and non-VEX instructions should be
avoided.
2021-12-10 13:53:23 +03:00
Vladimir Dudnik 96fd5dce0b remove fast sample scripts (#9140) 2021-12-10 13:52:35 +03:00
Tomasz Dołbniak 5ea03ae602 Compilation error fix (#9149) 2021-12-10 13:42:44 +03:00
Artur Kulikowski d6c2cb5238 Python Api, Variant -> OVAny (#9084) 2021-12-10 11:32:25 +01:00
Dmitry PigasinandVladimir Dudnik 3f96a1bccd [IE C Samples] Implement bmp reader (#8848)
* Implement bmp reader

* Use not os specific functions

* Fix code style

* Move `i` declaration from `for` loop

Co-authored-by: Vladimir Dudnik <vladimir.dudnik@intel.com>

Co-authored-by: Vladimir Dudnik <vladimir.dudnik@intel.com>
2021-12-10 13:19:28 +03:00
Ilya Churaev ec6f57872f Renamed ov::Function to ov::Model (#9051)
* Renamed ov::Function to ov::Model

* Fixed all for macos

* Fixed build

* Fixed build

* Revert changes in GPU plugin

* Fixed ngraphFunctions

* Fixed all for mac

* Fixed new test

* Fixed if for Windows

* Fixed unit tests and renamed Function in python API

* Fixed code style

* Fixed import

* Fixed conflict

* Fixed merge issues
2021-12-10 13:08:38 +03:00
Ekaterina Aidova 4f77056892 [PYTHON API]: handle input normalization for tensor without name (#9130)
* [PYTHON API]: handle input normalization for tensor without name

* remove extra empty line
2021-12-10 12:57:58 +03:00
Bartek Szmelczynski 68d460a3bb [PYTHON] Expose set_batch and get_batch (#9093) 2021-12-10 10:18:56 +01:00
Steve Yoo a2f93f069d Create Gather-8 (#8953) 2021-12-10 11:59:52 +03:00
Roman Kazantsev 90c0294007 [CPU] Adopt DetectionOutput-1 to DetectionOutput-8 (#9080)
* [CPU] Mode to DetectionOutput-8

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix build issue

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Use ov namespace

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Disable downgrading transformation in CPU explicitly

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Correct functional layer tests

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Revert "Correct functional layer tests"

This reverts commit 0428159fb8.

* Revert "Disable downgrading transformation in CPU explicitly"

This reverts commit 7cd0f48d5d.

* Correct upgrade transformation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Correct transformation tests

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Disable downgrading transformation and enable upgrade on CPU

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-12-10 11:28:39 +03:00
Szymon Irzabek 1c6c7bac2d [GNA] Detect unsupported concat layers (#7599)
* [GNA] Detect unsupported concat layers

* [GNA] Add support for 3D transposes around convolutions and replace exception with user warning
2021-12-10 11:17:29 +03:00
Ilya Lavrenov afea9e0e87 Spliy TBB component on tbb and tbb_dev (#9136) 2021-12-10 11:09:23 +03:00
Min, Byungil 8b4b3870ae Modify reorder handling (#8798)
+ Remove redundant reorder for meta-only reorder
+ Modify reorder removal logic for conv from fsv32 to fsv16
+ Added relevant unit-test

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2021-12-10 16:21:18 +09:00
Taylor Yeonbok Lee f4ab44be22 [GPU] Added more exception handlings (#9066)
* [GPU] Added more exception handling

* More compact exception

* Enable GPU_THROUGHPUT_AUTO for MAX_BATCH_SIZE option

* Fixed global variable of default # streams to a function
2021-12-10 09:45:56 +03:00
Sergey Shlyapnikov 5817f191c3 [GPU] Fix quantization type detection of GEMM and FC primitives (#9113) 2021-12-10 09:45:15 +03:00
Irina Efode 0d782dee25 [IE TESTS] Ngraph::Shape -> ov::Shape in OvSubgraphBase (#9094) 2021-12-10 02:44:31 +03:00
Yuliya Maskina d4c8926fc5 Exclude DL Streamer installation dependencies from install_dependencies script (#9126) 2021-12-10 02:36:17 +03:00
Dmitry Pigasin c41acdeaf3 [IE Python Sample] Migrate hello_query_device to OV2.0 API (#9029) 2021-12-09 23:01:45 +03:00
Yegor Kruglov 33fb7d2036 fix (#9124) 2021-12-09 20:54:36 +03:00
Ilya Churaev 7575b49f0f Removed non opetation backend tests (#9120) 2021-12-09 19:43:46 +03:00
Sergey Shlyapnikov 7002dd4317 [GPU] Add b_fs_yx_fsv32 format support for border primitive and update tuning logic of convolution_b_fs_zyx_fsv16_imad kernel for Gen12HP (#9112) 2021-12-09 18:43:46 +03:00
Anton Pankratov 576471cc27 Any used to store standard types (#8946) 2021-12-09 17:19:18 +03:00
Sergey Lyubimtsev 37e23cda8d fix tags for wheel package name (#9098) 2021-12-09 17:05:24 +03:00
Svetlana Dolinina cbae8e0532 Added calculation of lower/upper bound for divide operation (#8325) 2021-12-09 16:40:14 +03:00
Yegor Kruglov 7cb1bd6a1b Extend nGraph for operation Softmax-8 (#8157) 2021-12-09 16:21:55 +03:00
Ilya Lavrenov 12d322807f Compile snippets as a static library (#9095) 2021-12-09 15:40:43 +03:00
Ilya Lavrenov 02e7706776 Merged ngraph & core components (#9101) 2021-12-09 15:38:44 +03:00
Ilya Lavrenov 1e29778aec Added optional for LPT install (#9111) 2021-12-09 15:37:25 +03:00
Vladimir Gavrilov d6ab463ab5 Failure of quantization for some models due to absence ShuffleChannels operation in some set (#8919)
* Added ShuffleChannels operation into OpVersioning.opset_1_types set.

* Fixed the attribute 'version' of the MO operation ShuffleChannels.

* Reverted opset change for the operation ShuffleChannels.
2021-12-09 15:20:29 +03:00
Anastasia KuporosovaandMikhail Nosov 8453b6395a [Python API] Bind test_utils (#8549)
* [Python API] Bind test_utils

* fix building

* fix building

* fix codestyle

* fix codestyle

* try to fix merging

* Update __init__.py

* fix azure jobs

* fixes after master merge

* fix importing

* try to fix import

* Fix array out-of-bounds error (#8966)

* try to fix

* fix building

* fix code style

* undo some changes after rebase

Co-authored-by: Mikhail Nosov <mikhail.nosov@intel.com>
2021-12-09 15:07:12 +03:00
Mikhail Ryzhov d2df884274 [CAPI] Fixed memory leak in tests (#9099) 2021-12-09 13:54:45 +03:00
Nikita Demashov 473ca54b0d [LPT] Fix not thread safe function setDefaultPrecisions (#8973)
* add mutex for protection defaultPrecisions

* add setDefaultPrecisions & getDefaultPrecisions

* move defaultPrecisions to LayerTransformation

* add getDefaultPrecisions() in PrecisionsAttribute

* move getDefaultPrecisions() from PrecisionsAttribute constructor
2021-12-09 13:23:39 +03:00
Katarzyna Mitrus a787fade68 [Python API] Move openvino.runtime.impl to openvino.runtime (#9096) 2021-12-09 10:40:22 +01:00