Commit Graph

7910 Commits

Author SHA1 Message Date
Nikita Malinin
f2d6248dec
Disable LWT tests (#12740) (#12763)
(cherry picked from commit 3980672082)
2022-08-26 12:38:44 +04:00
Piotr Krzemiński
0266f25f9b
[PYTHON] Align versions for subpackages, add get_version method for all subpackages (#12220) 2022-08-26 11:21:24 +03:00
Evgenya Stepyreva
3731913049
Make model reshape and track batch (#12736)
* CVS-89672 Make model reshape and track batch

* Minor refactoring

* Changed mechanism of constant replacement to more mature

* Update src/common/transformations/include/transformations/smart_reshape/lstm_states_broadcast.hpp

* Update src/common/transformations/src/transformations/smart_reshape/lstm_states_broadcast.cpp
2022-08-26 12:05:34 +04:00
Ekaterina Aidova
8c1a3bab25
openvino-dev uses opencv-python-headless as default (#12558) 2022-08-26 10:44:38 +03:00
Ilya Lavrenov
5a037dedbc
Finalize with libraries versioning (#12704) 2022-08-26 09:45:27 +04:00
hyunback kim
c683572c4f
Integrate onednnv2.7-pc2 (#12120)
* [GPU] Integrate oneDNNv2.7

- Support bsv16_fsv2, bsv16_fsv4
- Update qunatize LWS opt and common GetOptimalLocalWorkGroupSizes.
- Enable bs_fs_zyx_bsv16_fsv2 in eltwise.
- Update to use binary_mul in case NOT int8 conv with oscale.
- Update oneDNN v2.7pc2 branch in onednn submmodule
- Apply shallow conv in/out condition, using acdb,acdeb
  mixed precision b32, f32 case, newly add weight reorder format
- Update to fix remains ref_conv selelction issue and running failure issues.
- Update to fix shallow out and normal in case creates  unnecessary reorder.
* Fix different in/out format issue in concat
   - Concat supports in/out different format, but it has issue calculating concat axis.
2022-08-26 14:39:47 +09:00
Pawel Raasz
0c2c341da6
ONNX FE handles old API extensions (#12644)
* ONNX FE handles old API extensions
by legacy conversion extension

* Move `LegacyOpExtension` class to dev API
2022-08-26 09:27:58 +04:00
Xiping Yan
1818e120e3
Fix macOS build issue. (#12766)
After moving cpuFuncTest to cpu_plugin folder, there is more stricter grammar check.
ngPrc is declared twice, but for the first declaration, the ngPrc is not used.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
2022-08-26 05:17:47 +00:00
Ilya Lavrenov
3f02090315
Fixed ENABLE_PYTHON detection (#12594)
* Disable python for configuration with libraries suffix

* Fixed python detection on arm

* More fixes

* Used find host package

* Don't use PYTHON_VERSION which is used by pybind
2022-08-26 09:13:55 +04:00
Andrew Kwangwoong Park
f55777ff1a
[GPU] Add condition to check deconv with b_fs_yx_fsv16 opt (#12745)
Signed-off-by: Andrew Park <andrew.park@intel.com>
2022-08-26 09:08:44 +04:00
Roman Kazantsev
3bc7ce1d04
[TF FE] Correct Deconvolution for NCHW layout (#12751)
* [TF FE] Correct Deconvolution for NCHW layout

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

* Revert Deconvolution implementation and work around -1 for SS

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

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-08-25 23:32:55 +03:00
Trawinski, Dariusz
7369ce2e4e
added support to install NEO drivers on rh8.6 (#12759) 2022-08-26 00:31:24 +04:00
Irina Efode
74567b55a1
Summary fix (#12716) 2022-08-25 23:24:42 +03:00
Ilya Lavrenov
ddf75def93
Print detailed errors if no reqs are found for either ENABLE_PYTHON / ENABLE_WHEEL are ON (#12755)
* Don't install onnx test requirements autonatically

* Added requirementst install to Azure CI

* Respect onnx_FOUND

* Use pdpd 2.3.0

* Remove numerous warnings

* Improved error messages for building python, python wheel

* Improvements

* More improvements

* Fixes

* Fixed CI

* Fixes

* Revert
2022-08-25 20:15:21 +04:00
guozhong wang
8f66687d1d
Keep CPU in CTPUT candidate list if DEVICE_BIND_BUFFER=YES (#12554)
* change gpunum to 3

* do not remove cpu when bind buffer

Co-authored-by: Chen Peter <peter.chen@intel.com>
2022-08-25 14:48:21 +03:00
Artur Kulikowski
2b2e04d974
MO uses the same version of protobuf like other packages (#12713)
* MO uses the same version of protobuf like other packages

* Restrict Protobuf to version >=3.18.1 and lower than 4.0.0
2022-08-25 13:09:03 +02:00
Kurt Chen
febead7e8c
[GPU] fix Transpose issue for ConvertColor with FakeQuantize. (#12645)
Co-authored-by: Tang Wei <wei1.tang@intel.com>

Co-authored-by: Tang Wei <wei1.tang@intel.com>
2022-08-25 11:54:55 +04:00
Ilya Churaev
f994e307a9
Enable support of CPU plugin for Apple M1 (#12672)
* Enable support of CPU plugin for Apple M1

* Removed cmake option
2022-08-25 11:33:40 +04:00
Sergey Shlyapnikov
30b872150a
[GPU] Fix Interpolate axes values alignment with scales (#12634) 2022-08-25 09:39:30 +04:00
Roman Lyamin
fcf20dee86
[GPU] GatherElements shape infer (#12517) 2022-08-25 09:38:53 +04:00
Roman Lyamin
e7e6d7883c
[GPU] Dynamic input support for Transpose (#12739) 2022-08-25 09:29:24 +04:00
Yuan Hu
bf2d6a72a4
fix a typo in benchmark_app sample (#12507)
Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
2022-08-25 07:12:03 +03:00
Mingyu Kim
5cf1b0a124
[GPU] Fix for typo (#12732) 2022-08-25 12:47:58 +09:00
Sungeun Kim
dc7f8249a7
[GPU] optimized out detection_out if nms_threshold is under -1. (#12730) 2022-08-25 11:05:38 +09:00
Xiping Yan
11a869d4d1
refactor cpu func unit tests (#12711)
* Refactor cpuFuncTests and cpuUnitTests to components folder.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Build pass.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Add macro to judge if enable func test.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Rename func_test to functional;
Rename unit_test to unit;
Add "enable_tests" for unit;

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
2022-08-25 09:30:40 +08:00
Alina Kladieva
10bd602987
Revert "Add decomposition transformation for eye 9 (#12403)" (#12741)
This reverts commit ed7275adf0.
2022-08-24 23:23:20 +04:00
Sergey Shlyapnikov
bf2ae06f29
[GPU] Shared memory optimization for network::execute_impl() call (#12631) 2022-08-24 19:11:21 +04:00
Pawel Raasz
ed7275adf0
Add decomposition transformation for eye 9 (#12403)
* Add eye decomposition transformation

* Fix EyeLike generation when diagonal shift
outside dimensions

* Add batch shape to eye decomposition

* Eye decomposition clean-up

* Remove reference part if no eye decompose in
decomposition tests

* Eye-Like use eye operator

* Disable eye decomposition for CPU plugin

* Use opset9 instead of ops in eye decomposition

* Apply transformations header style
to eye_decomposition.hpp

* Add model reference in eye decomposition tests
- use opset9 instead of ov::op:vX namespace

* Refactor eye decomposition:
- match style of other transformations
- add NodeRegister class to make and collect created nodes
- use `NodeRegister` in transformation for copy runtime info
- use `NodeRegister` in `MatcherPass` to replace new `register_new_node`
2022-08-24 17:59:25 +03:00
Roman Lyamin
3339d5a372
[GPU] MVN shape infer support and dynamic tests (#12685) 2022-08-24 18:29:15 +04:00
Roman Lyamin
19fd77e3d8
[GPU] Broadcast shape infer support (#12588)
* [GPU] Align broadcast with nGraph operation

* [GPU] Broadcast shape infer support

Co-authored-by: Sergey Shlyapnikov <sergey.shlyapnikov@intel.com>
2022-08-24 18:27:15 +04:00
Roman Kazantsev
3595f195f1
[TF FE] Refactor translators for Resize operations and correct Pooling (#12721)
* [TF FE] Refactor translators for Resize operations and correct Pooling

It allows to convert magenta_arbitrary-image-stylization model

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

* Align TF FE tranlator for Resize with legacy frontend

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

* Do minor fix for MaxPool

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

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-08-24 15:55:10 +04:00
Marcin Kusmierski
39b743f7a0
[GNA] Fix issue with inference when input or output first dim is diff… (#12424) 2022-08-24 11:08:43 +02:00
Luo Cheng
cf15b03019
[CPU] default enable avx512 f32 brgconv (#12619) 2022-08-24 09:47:18 +04:00
Luwei Zhou
da0be08f15
[CPU] Fix the strided slice issue when ellipsis_mask has redundant data. (#12608) 2022-08-24 09:43:20 +04:00
Artur Kulikowski
caf547b5eb
Properly reading parameters with whitespaces from IR (#12650)
* Add overrided method to generating vector of strings

* Trim the value from the the left and right

* Add test to verify that output names are correctly read from IR

* Use spaces instead of tabs

* Add C++ tests for read model contains outputs with whitespaces

* Fix test for add output

* Remove python test
2022-08-23 23:19:15 +03:00
Xiping Yan
5b3cc5514a
Warning suppression for C-API. (#12669)
* Warning suppression for C-API.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Add compiler flags for CI verification.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Update parent cmake compiler flag, and make it work for total bindings folder.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Open compiler check.
Move "sign-compare" to below, and make it only work for bindings. Because plugins have many compare errors.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Remove sign-compare.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-08-23 20:39:48 +04:00
Daniil Lyakhov
28ac460817
[Ngraph Transformations][Pruning] HF Transformers Pruning Support (#10718)
* Support a branch without masks in matmul

* Init transpose mask propagation

* Transpose mask propagation + tests

* Unsqueeze mask propagation support / Fix reshape unsqueeze

* Init Matmul batch dims mask propagation support

* Matmul batch dims mask propagation support

* Broadcasted elementwise support

* Unsuccessfull attempt to remove masks from unit dims in eltwise

* Stricted way to pass broadcasted dims through elementwise

* Refactor reshape

* ReshapedPassThrough propagation

* Hack to enable matmul mask propagation up from right branch to left

* Make ReshapePassThrough common (tests are needed)

* Hacks to enable Bert int8 pruning

* Not reshapeable and big pattern for ReshapedElementwise operation version of transformer pruning

* Reshape shape subgraph support

* Init shrink reshape mask propataion support

* Init reshape shrink mask propagation

* Shrink extend reshape mask propagation suport init

* Complex reshape test

* Duplicated code removed

* Fix accuracy check tests

* Fix rebase

* Fix broadcasted elementwise / update tests

* Fix types

* Remove redundant methods from Mask

* Fix transpose propagation in Matmul mask initialization

* Migrate to CoordinateTransformer

* Add comments

* Fix types

* Make elementwise inputs deterministic

* Fix tests

* Refactor shape size collecting

* Fix rebase

* Fix comments

* Fix comments

* Test MatMul with two outputs is added

* Mask methods comments was added / get_constant_from_node test
2022-08-23 14:47:39 +02:00
Ilya Lavrenov
2ef6e2951c
Use static TBBBind if dynamic one is not found (#12703) 2022-08-23 13:17:35 +04:00
Ilya Lavrenov
7a7bd37a50
Disable CUDA plugin in Azure coverity pipeline (#12712) 2022-08-23 12:51:26 +04:00
Jan Iwaszkiewicz
7f750a4be5
Skip nogil tests (#12658) 2022-08-23 12:00:11 +04:00
Roman Kazantsev
fdac22042c
[TF FE] Support dynamic rank support for Convolutional and Pooling operations (#12661)
* [TF FE] Add dynamic rank support for Convolutional and Pooling operations

Refactor DepthwiseConv2D, AvgPool, and FusedBatchNorm operations

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

* Fix build issue with rvalue

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

* Fix build issue with climit

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

* Skip duplication of Parameter nodes

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

* Revert changes in StridedSlice and add check for AvgPool operation type

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

* Revert the rest of changes for StridedSlice

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

* Fix translator for AvgPool: add pad mode

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

* Introduce helper default_op_checks

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

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-08-23 11:57:00 +04:00
Roman Kazantsev
d70d7b2171
[TF FE] Add Transpose Sinking for additional unary elementwise Operations (#12698)
* [TF FE] Add Transpose Sinking for additional unary-wise Operations

It helps to fix performance degradation for MobileNet models

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

* Add LogicalNot for Transpose sinking

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

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-08-23 11:56:48 +04:00
Wang, Yang
186efc5125
[MULTI]Fix the issue that QueryNetworkMultiThrows failed to pass (#12670)
* checking config priorities is set by checking if the value of priorities is empty instead of not founding in the config map.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* add test case for MULTI without setting device priority.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

Signed-off-by: Wang, Yang <yang4.wang@intel.com>
2022-08-23 10:34:16 +04:00
Ilya Lavrenov
27cbc1a969
Debian packages for frontends (#12649)
* Created dedicated debian packages for frontends

* Fixed Azure CI

* Install TF FE with both names

* Disabled 2 QN tests

* Install python samples differently
2022-08-23 01:39:23 +04:00
Alina Kladieva
1734f2d673
Run Python checks on Ubuntu 20.04 (#12687)
* Run Python checks on Ubuntu 20.04

* Run py_checks for changes to workflow

* Fix endline
2022-08-22 23:15:27 +04:00
Ilya Lavrenov
4dcbd85ef7
Azure: Try to take into account result of previous step as well (#12695)
* Fix openvino_contrib version

* [linux_arm64] Fix openvino contrib version

* [linux_debian] Fix openvino contrib version

* Azure: Try to take into account result of previous step as well

* Removed excess contrib var

* Disable CUDA plugin build via cmake flags

Co-authored-by: Alina Kladieva <alina.kladieva@intel.com>
2022-08-22 23:08:26 +04:00
Alina Kladieva
4aea944df5
Disable CUDA plugin building Azure (#12694)
* Fix openvino_contrib version

* [linux_arm64] Fix openvino contrib version

* [linux_debian] Fix openvino contrib version

* Disable CUDA plugin build via cmake flags
2022-08-22 21:41:02 +04:00
Maxim Vafin
56808c7aed
Add ScatterUpdate value infer (#12595)
* Add ScatterUpdate value infer

* Add additional test case to ScatterUpdate tests
2022-08-22 17:52:49 +02:00
Artyom Anokhov
9710bde87c
coverage.cmake: Added general target for collecting coverage counters for whole project (#12652) 2022-08-22 18:19:56 +04:00
Nadezhda Ageeva
7106f4b626
Commits from PR11438 (#12337)
Draft version of test

Added i8 test

Some fixes

Fix static build issue
2022-08-22 13:34:24 +01:00