Commit Graph

6380 Commits

Author SHA1 Message Date
Ilya Churaev
0a2c0e1539
Fixed coverity issues (#10014) 2022-01-31 12:51:52 +03:00
Wang, Yang
80d70dd438
Ywang2/update auto configuration api (#9977)
* Update AUTO OV 2.0 c++ configuration API.

Signed-off-by: ywang2 <yang4.wang@intel.com>

* Support the OV 2.0 key to set model priority and add the test case to verify the prioirty map logic within AUTO plugin.

Signed-off-by: ywang2 <yang4.wang@intel.com>

* Replace the old model priority key and add the corresponding test case.

Signed-off-by: ywang2 <yang4.wang@intel.com>
2022-01-31 16:24:46 +08:00
Nikolay Shchegolev
7d173eb354
[CPU] RNN, GRU, LSTM Sequences batch 1 tests failure. (#9719) 2022-01-31 11:21:39 +03:00
Mikhail Nosov
4e4b04bbd3
LSTMSequence/GPUSequence - fix validate_and_infer_types (#9996)
* Fix LSTMSequence/GPUSequence validation behavior consistent with RNNSequence

Fixed issue with no exception if num_directions=2, but 'm_direction' is not set to BIDIRECTIONAL. Previously there was no error with this (and luckily it failed later in some CPU transformations during compile_network)

Corrected several tests which use copy-pasted num_directions=2 without m_direction set
Also for dynamic 'num_directions' - output shape still has 1 or 2 directions, because m_direction is known. Tests for GRU/LSTM are updated for this
Also several tests worked incorrectly for LSTMv0 - expectation was specific error to be thrown, but no expection was also allowed

* Fixed clang-format
2022-01-31 08:24:43 +03:00
Tomasz Dołbniak
351c84e6e4
TestCase class fix (#10011)
* Store the expected output data in the TestCase class

* Skip the failing ONNX If tests

* Disable failing ONNX Softmax tests

* Disable the remaining failures
2022-01-31 08:11:18 +03:00
Chen Xu
49a01bf9fc
[CPU] Fix bug concerning model accuracy in Reduce node (#9929) 2022-01-30 17:36:36 +00:00
Chen Xu
cc5d30b26c
[CPU] Fixed TopK node optimization leftovers (#9862) 2022-01-30 19:11:47 +03:00
bell
aaf02ab4c7
modify optimal request num(add a multiplexer) (#10004)
* muliply the request# by 2

Signed-off-by: fishbell <bell.song@intel.com>

* modify case

Signed-off-by: fishbell <bell.song@intel.com>
2022-01-30 16:43:41 +03:00
Smirnov Grigorii
f424d2d8ae
Split transformations tests src to match IE transformations library structure (#55385) (#9949)
* refactor transformations directory

* create offline_transformations directory
2022-01-29 15:38:19 +03:00
Mikhail Nosov
2b87f000ed
ROI tensor support for Template plugin (#9914)
* ROI tensor support for Template plugin + tests for Template and CPU plugins

GPU doesn'tsupport ROI tensors, so tests were not added for GPU

* Added asserts for unsupported mixed axis order (like 0,3,1,2), and unsupported types like int4/int2 for ROI tensors
2022-01-29 10:52:52 +03:00
Edward Shogulin
1176b0f1f9
[LPT] MoveFakeQuantize parent output fix & refactoring (#9872)
* [LPT] MoveFakeQuantize parent output fix & refactoring

* [LPT] tests extending
2022-01-29 10:04:07 +03:00
Katarzyna Mitrus
e3ec1ac9b3
Allow duplicated outputs in ie_plugin_internal (#9882)
* Avoid duplicated outputs with the same name

* Revert onnx graph changes

* Allow output duplicates in ie_plugin_internal check

* Add test with onnx model

* Check get_tensor_ptr instead of any_name

* More outputs test

* Refactor to use std::transform

* test manifest update

* Remove redundant header

* INTERPRETER segfaults fix for duplicated output names

* Simplify duplication assert

* Update test names

* Test update
2022-01-29 02:58:09 +03:00
Egor Duplensky
9cb6626ffd
[CPU] Fix FullyConnected node for strided inputs and outputs (#9575)
FullyConnected node cannot work with strided inputs (for example
inplace descs) because it implicitly reshapes input and output tensors.
2022-01-28 22:20:09 +03:00
Maxim Andronov
b5ea943267
[CPU] MatMul dummy shapes creation fixed (#9858) 2022-01-28 21:21:02 +03:00
Anton Chetverikov
97a78d0059
[MO] EmptyTensorList transform (#9361)
* Initial change for new transformations

* Update patterns

* Update unsupported operation replacement

* Add input/output normalization passes call

* Update logic

* Refactor output concatination transform

* Update re_numerate_input_ports and shape infer functions for Loop

* Update comments

* Add back edge removing to output concatenation transformations

* Update comment

* Remove redundant normallization call

* Update supported layers list

* Use routine in check

* Add transformation to rub_before list
2022-01-28 20:53:16 +03:00
Ilya Lavrenov
eaa0a68fdb
Updated on OV 2.0 properties (#9906) 2022-01-28 18:52:50 +03:00
Sergey Lyubimtsev
4b35d48283
Add ability to generate requirements.txt files with dev tags (#9986) 2022-01-28 18:23:10 +03:00
Edward Shogulin
72583261fc
[LPT] Coverity issue fix: getMinValue (#9991) 2022-01-28 17:49:38 +03:00
Ilya Churaev
39b5cb809e
Fixed collisions in friendly names for internal operations (#9965)
* Fixed collisions in friendly names for internal operations

* Fixed renaming

* Added comments

* Renamed test file

* Fix behavior for outputs

* Fixed logic

* Fixed comments
2022-01-28 17:33:08 +03:00
Tatiana Savina
da1324db68
[DOCS] Enable sphinx panels directive (#9982)
* new directive

* add panels version
2022-01-28 17:18:57 +03:00
Alina Kladieva
8f3ebed8ec
Bump OMZ version (fix for pip-conflicts & wheels on Win & Mac) (#9987) 2022-01-28 16:45:28 +03:00
Gleb Kazantaev
45f98cece5
Load Time Improvements (#9946)
* Fix ConstantFolding; update ric fusion

* Update MarkPrecisionSensitiveDivdes pass

* Move back RIC fusion; Update copy_runtime_info logic + tests

* Update CF + tests

* Code style fix

* Code clean-up

* fix cf attr propagation

* Fix windows build
2022-01-28 16:36:45 +03:00
Maxim Gordeev
f0e2a2e811
Speech sample improvements (#9985) 2022-01-28 16:13:51 +03:00
Ilya Churaev
d5cd14efe3
Fixed cmake generation for CC build (#9974)
* Fixed cmake generation for CC build

* Fixed static build
2022-01-28 14:09:53 +03:00
Anastasia Popova
a61655040f
Fixed loader for TF2. (#9962) 2022-01-28 13:23:22 +03:00
Sergey Lyubimtsev
4cd20425c3
Building of openvino-dev wheel results many temp files in source tree (#9936) 2022-01-28 13:14:26 +03:00
Daria Mityagina
917994293c
[VPU] Added support for dynamic nodes for QueryNetwork - copy (#9925)
Currently, calling QueryNetwork from Myriad plugin with dynamic network could result in exception, this PR should fix this by removing nodes that could cause it from consideration.

Co-authored-by: Polina <polina.brzezinskaya@intel.com>
2022-01-28 13:06:37 +03:00
Alexandra Sidorova
2666a3dac4
[CPU] Enabled brgemm matmul primitives avx512 (#9824) 2022-01-28 11:34:32 +03:00
Szymon Irzabek
ef0a080323
[GNA] Extend matmul handling support (#9810)
Support matmuls with two non-const inputs.
Detect concat inputs to matmul as changing batch size and
handle appropriately.
Enable tests in GNA_SW_EXACT mode for convolution stride > kernel size.
2022-01-28 10:20:47 +03:00
Steve Yoo
068bdff787
Add SLT to Template Plugin: Loop-5 (#9789) 2022-01-28 07:56:04 +03:00
Steve Yoo
e8b954d6ec
Add testcases of index type i32 for NonMaxSuppression (#9902) 2022-01-28 07:53:01 +03:00
Wilson Seok
1e0470f4e7
Add slt in template plugin/lstm sequence (#9305)
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now

* update repo

* initial code commit

* add runtime reference

* apply ov::Model

* initial lstmcell-1 definition

* initial change

* apply Peepholes

* apply input_forget option

* apply initial test case of lstmsequence-1

* fix clang-format error

* fix clang-format error 2

* add lstms_sequence test cases by runtime reference and onnx test cases

* fix clang-format error

* fix clang-format error

* fix onnx test failure of LSTM IE_CPU

* fix clang-format issue

* fix clang-format issue 2

* add type_prop and visitor api test of lstm_sequence_v1

* fix clang-format error

* replace input/refOut data to hard coded and remove unnecessary enum definition

* update namespace of Tensor()

* remove supported test cases in disabling list
2022-01-28 07:49:32 +03:00
Tomasz Dołbniak
658d9c3633
Removal of ONNX FE warning regarding Constant creation (#9935) 2022-01-28 07:16:18 +03:00
Yuan Hu
8883732ca8
[AutoPlugin] get optimal infer request number (#9529)
* dynamic optimal infer request

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* modify test case to match logic

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* for CPU_HELP,CPU case, use default value

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* update logic for GPU VPUX MYRIAD

throughput
GPU num = GPU_THROUGHPUT_STREAMS * 2
VPUX = 8
MYRIAD = 4

other mode
GPU NUM = 1
VPUX = 1
MYRIAD = 1

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* print GPU_THROUGHTPUT_STRREAM FOR TEST

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* get streams num from rangestreams for GPU

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* Revert "print GPU_THROUGHTPUT_STRREAM FOR TEST"

This reverts commit 06e348d21dfaed626bebcc32837737da9b036e44.

* use default variable instead of 4u and 1u

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* simple if else logic

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* check allow batching key

Signed-off-by: fishbell <bell.song@intel.com>

* add comment, optimize logic

Signed-off-by: fishbell <bell.song@intel.com>

Co-authored-by: fishbell <bell.song@intel.com>
2022-01-28 10:13:02 +08:00
Daria Mityagina
aa53948379
[VPU] Hello classification MyriadX issue (#9701)
This PR fixes error
inference-engine/src/vpu/graph_transformer/src/stages/interpolate.cpp:65 Current Interpolate does not support resize by channels that started to appear after sample refactoring.

Issues: -75837
2022-01-28 00:20:06 +03:00
Szymon Irzabek
069b3839ce
[GNA] Fix large eltwise split in case split dimension is less than alignment (#9933)
* [GNA] Fix large eltwise split in case split dimension is less than alignment

* Update src/plugins/intel_gna/optimizer/gna_pass_manager.cpp

Co-authored-by: Krzysztof Bruniecki <krzysztof.bruniecki@intel.com>

Co-authored-by: Krzysztof Bruniecki <krzysztof.bruniecki@intel.com>
2022-01-27 22:09:32 +03:00
Pavel Durandin
d4779bb351
Parallel onednn graph compilation GPU (#9958) 2022-01-27 19:47:24 +03:00
Nikolay Tyukaev
622027bee5
fix errors in documentation (#9384)
* add sphinx log parsing

* fix

* fix log

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* doxygen-xfail

* fixes

* fixes

* fixes

* fixe

* fixes

* fixes

* fix pot

* add pot check

* fixes

* fixes

* Fixed POT docs

* Fixed POT docs

* Fixes

* change heading markup

* fixes

Co-authored-by: azaytsev <andrey.zaytsev@intel.com>
2022-01-27 19:39:49 +03:00
Alexander Zhogov
a99ae43d61
Azure CI Win: Update pool to D8S (#9963) 2022-01-27 19:35:24 +03:00
Anton Chetverikov
05684b7cd0
Move tensor name restoring transformation after output normalization (#9904) 2022-01-27 17:41:58 +03:00
Pavel Zamelin
578afb9bb8
Allow to specify cpack component in addItTargetTest (#9945) 2022-01-27 17:01:46 +03:00
Mikhail Nosov
cf328d299f
More fixes of plugins.xml generation (#9942)
* Further fixes of plugins.xml generation
1) Unregistration is done by name (e.g. CPU), not by file name (ov_cpu_plugin)
2) Unregistered line is searched by name="MULTI" instead of just 'MULTI' to not conflict with MULTI_WORK_MODE_AS_AUTO entry
3) Removed list of all possible plugins from ov_runtime as logic shall not rely on this (not possible to add 3rd party plugins)

* Revert ov_runtime - some CI jobs require plugins.xml even though plugins are not built

Registration - if some entry already exists in XML - don't copy it.
E.g.
- Registration of 'TEMPLATE' is performed
- Registration loops through existing plugins.xml
   - If name="TEMPLATE" is found - don't take it to newContent
   - If name like "myCustomPlugin" is found - take it
- As result - "myCustomPlugin" will exist after update, but old "TEMPLATE" will be removed

* Add missing change
2022-01-27 16:54:21 +03:00
Evgenya Stepyreva
1d5352dae3
Dimension tracking: Always output batch the same as it was before (#9953) 2022-01-27 16:29:16 +03:00
Vladislav Golubev
bd7a5db029
[LPT] Reduced gaps between static and dynamic execution (#9775)
* LPT: removed limitations on Dq by dynamic channel

* [TESTS] LPT tests updated
2022-01-27 15:07:42 +03:00
Maxim Gordeev
0627fe857e
[IE Samples] Export and Import of model, fixed (#9776)
* [IE Samples] Export and Import of model, fixed https://jira.devtools.intel.com/browse/CVS-76225

* Added IE_SUPPRESS_DEPRECATED

* [IE Samples] Export and Import of model, fixed 76225

* Added IE_SUPPRESS_DEPRECATED

* fixed notes

* Update samples/cpp/speech_sample/main.cpp

Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>

* Update samples/cpp/speech_sample/main.cpp

Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>

* fixed formatting

* changed processing of inputs

* working export

Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>
2022-01-27 14:46:02 +03:00
Roman Lyamin
cf80eda8e0
[GPU] Added handle permute (#9853) 2022-01-27 14:37:55 +03:00
Mang Guo
f6162ed657
[CPU] Add MVNLayoutType enum (#9889) 2022-01-27 14:27:40 +03:00
Ilya Naumov
1be838576c
Fix UnicodeEncodeError on Python 3.6 (#9285) 2022-01-27 14:00:38 +03:00
Yegor Kruglov
bc70b2b68b
[ MO ] Support MXNet operation arange_like (#8939)
* arange_like_op

* added comments

* added unittests

* added step attr, changed axis condition, updated tests

* added op description

* fix nodes renaming

* sorted imports

* added case with repeat > 1

* finished arange_like, removed unit test

* small fix in gather infer function

* gather fix

* fix doc

* added unittests

* correct renames

* removed ConvertLike from div_sqrt_dim

* used ReduceProd instead reshape-shapeof

* added keep_dims attr to reduce_prod node
2022-01-27 12:44:12 +03:00
Aleksandr Korolev
4ecab1eeea
[VPU] Fix vpu_scale tests (#9693)
Fix memory leak in VpuScaleTest
2022-01-27 12:41:45 +03:00