Commit Graph
5718 Commits
Author SHA1 Message Date
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
Aleksandr Korolev 8b90349529 [VPU] Coverity fixes (#9025)
VPU and Movidius coverity fixes
2021-12-09 12:03:24 +03:00
Nikita Demashov 87559aa2b4 disable pullTranspose throught fq (#7894)
fix 6D tests, add weights to matcher

fix cpu test

add 6D transpose tests

update all tests

lin fix

fix canBeTransformed and update tests

rm concat axis limit

concat axis update

rm concat changing
2021-12-09 12:00:36 +03:00
Svetlana Dolinina b06ff4ced7 fix iteration count calculation for output record for case of negative start/end and non integer division (#8641)
* fix iteration count calculation for output record for case of negative start/end and non integer division

* added tests;
process case with both start/end

* test refactoring done
2021-12-09 11:29:11 +03:00
Tomasz Dołbniak f9949b4140 Alignment of OV and ONNX models outputs naming (#7691)
* Alignment of OV and ONNX models outputs naming

* Python tests adaptation to new naming rules

* New output naming rules

* Output name retrieval adaptation (tensor iterator node)

* Copying of tensor names during output replacement

* Multiout multinode subgraphs handling in the importer

* Proper replacement tensor naming

* Model zoo test runner adaptation

* Backwards compatible python tests runner adaptation

* If node adaptation

* Adaptation to changes in master

* Deprecation warning suppression

* Imports fix in compatibility tests

* If node adaptation to the new naming

* MaxPool python tests re-enabled

* ONNX Identity elimination adaptation

* XFAIL for the Identity op test

* Support for Param->Result models and indentity op

* Fix of the ONNX Indentity handling

* The test that fails only on windows temporarily disabled

* ONNX tensor names test adaptation

* Code cleanup

* Code formatting

* Obsolete helper removal

* One more spot where output name helper should be used

* PyApi fix for tensors with multiple names

* Don't set friendly names for unnamed ONNX nodes

* Revert "Don't set friendly names for unnamed ONNX nodes"

This reverts commit 92c7ac59b5.

* Missing dot...

* And now the mypy nonsense...

* Use get_any_name in Loop

* New way of naming result nodes in ONNX FE
2021-12-09 11:16:50 +03:00
Victor Kuznetsov 0f1c545a19 [Time tests] Change work with perf_hint (#9090)
* add performance hint to time infer

* upd_time_tests
2021-12-09 10:29:55 +03:00
Steve Yoo d3cf7b92d0 Create GatherTree-1 (#8995) 2021-12-09 09:26:43 +03:00
Ilya Lavrenov e0ae61b06d Added optional for exclude_from_all targets (#9100) 2021-12-09 08:51:21 +03:00
Alexander Zhogov e4b8586f72 Azure CI: Enable linux_onnxruntime on master (#9097) 2021-12-09 08:46:00 +03:00
Nikita Demashov ca0cdb896f [LPT] Fix concat transformation tests and add subtract_convert push support (#8904)
* add test

* supporting pulling subtract convert

* supporting branch without subtract

* add tests with subtract convert and subtract without convert

* Fix allDequantizationShiftConvertAreNotZero & fix precision subtructInput
2021-12-09 02:13:19 +03:00
Dmitrii Khurtin 3118640569 removed unnecessary code of PWL & added additional tests for increase… (#8994)
* removed unnecessary code of PWL & added additional tests for increase PWL code coverage

* fixed errors

* removed Configuration from PowerParamsTuple

* fixed a bug related to an incorrect PWL value for functions neglog and neghalflog
2021-12-09 01:12:33 +03:00