Commit Graph

7699 Commits

Author SHA1 Message Date
Sergey Shlyapnikov
41a404f290 [GPU] fix Transpose issue for ConvertColor with FakeQuantize. (#12645) (#12761)
Co-authored-by: Tang Wei <wei1.tang@intel.com>
Co-authored-by: Kurt Chen <kurt.chen@intel.com>
2022.2.0.dev20220829
2022-08-26 12:29:21 +04:00
Ekaterina Aidova
abaa9e6404 [OMZ] update submodule (#12681)
* [OMZ] update submodule

* move submodule
2022-08-26 10:53:38 +04:00
Sergey Shlyapnikov
429c7265df [GPU] Implement NMS-9 operation (#11890) (#12760)
* Fix GPU NonMaxSuppression implementation

* Introduce Nms9 single layer tests

* Adapt internal NMS and GPU implementation for NMS9 implementation

* Adapt CPU implementation in GPU for NMS9

* Add blocked layouts support to NMS

* Add unit tests for blocked formats for NMS

* Fix boxes groups size for the small shapes

* Use ocl implementation for blocked layout input

* Fix templates typedefs to pass win build

* Fix second output to set data in correct format

Co-authored-by: Tetiana Gubanova <tgubanova@lohika.com>
2022-08-26 00:37:20 +04:00
Trawinski, Dariusz
7123433ce3 adjustments for 2022.2 release on rh platform (#12758) 2022-08-26 00:30:34 +04:00
Nikita Malinin
319e95e419 fix: incorrect fq type (#12234) (#12757)
Co-authored-by: Wonju Lee <wonju.lee@intel.com>
(cherry picked from commit 0592ba3e8c)

Co-authored-by: Inhyuk Jo <andy.inhyuk.jo@intel.com>
2022-08-25 16:43:39 +00:00
Maxim Vafin
bafd45502b Fix issue with Squeeze with empty squeeze_dims (#12700)
* Fix issue with Squeeze with empty squeeze_dims

* Rework solution

* Apply code style

* Improve error logging

* Improve formatting

* Add more types

* Apply review feedback

* Add file which was forgotten
2022-08-25 18:30:19 +04:00
Maxim Vafin
4ea602bc7e Use new reprocessing for legacy MO (#11302) (#12653)
Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
2022-08-25 18:25:03 +04:00
Liubov Talamanova
891f1c49bc [POT][OV 2022.2] Fixed insert_fake_quantize() with empty hw_config (#12678) 2022-08-25 12:23:38 +00:00
Sergey Shlyapnikov
a3f8cef198 [GPU] Shared memory optimization for network::execute_impl() call (#12748) 2022-08-25 15:49:56 +04:00
Artur Kulikowski
826a54dc20 Backport of #12713 "MO uses the same version of protobuf like other packages" (#12734)
* 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:17:14 +02:00
Yuan Xu
99b8c80677 update with external suggestions (#12726) 2022-08-25 11:45:31 +04:00
guozhong wang
f409e95768 do not remove cpu when bind buffer (#12556)
Co-authored-by: Shen, Wanglei <wanglei.shen@intel.com>
2022-08-25 09:05:42 +03:00
Roman Kazantsev
d2f7816e6f [TF FE] Port changes for TF FE from the master branch (#12691)
* [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>

* [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>

* [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>

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-08-24 21:10:05 +03:00
Nikita Malinin
3980672082 Disable LWT tests (#12740) 2022-08-24 17:48:27 +00:00
Evgenya Stepyreva
6a20d1408e GroupedGatherElimination short circuit (#12380) (#12733)
* Disable GroupedGatherElimination in case of scalar inputs containing indices

* clang format

Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
2022-08-24 16:04:28 +03:00
Chen Xu
1e5fec7e25 [CPU] Reduce node improve performance for nspc layout (#12671) 2022-08-24 15:39:55 +04:00
Maxim Vafin
188746224c Add ScatterUpdate value infer (#12595) (#12714)
* Add ScatterUpdate value infer

* Add additional test case to ScatterUpdate tests
2022-08-24 14:51:03 +04:00
Luwei Zhou
aa1a607328 [CPU] Fix the strided slice issue when ellipsis_mask has redundant data. (#12705) 2022-08-24 09:43:08 +04:00
Artur Kulikowski
6fecdbca36 Backport of #12650 "Properly reading parameters with whitespaces from IR" (#12677)
* 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 21:29:04 +03:00
Andrei Kochin
f87e00398d updated to convert b_fs_yx_fsv16 to o_is_yx_isv16 (#12630) (#12675)
Co-authored-by: Eddy Kim <eddy.kim@intel.com>
2022-08-23 15:46:54 +03:00
Maxim Vafin
4cdd8119da [MO] Improve layout help (#12535) (#12590)
* [MO] Improve layout help
2022-08-23 13:10:55 +02:00
Tomasz Dołbniak
714b1de678 GridSample op check test (#12586) 2022-08-23 12:06:11 +02:00
Zhen Zhao (Fiona)
0000550371 Update to add climits for ULLONG_MAX (#11958) (#12709)
Avoid GCC compiling issue ‘ULLONG_MAX’ was not declared in this scope

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
2022-08-23 12:52:30 +04:00
Gorokhov Dmitriy
a6bfc0cf0e [CPU] Support MHA optimization (#12643)
* [CPU] Support MHA optimization

* [CPU] Extend pattern supported by MHA node

* [CPU] MHA: fixed int8 perf issue

Co-authored-by: Gu, Jianan <jianan.gu@intel.com>
2022-08-23 12:50:02 +04:00
Ilya Lavrenov
b4d18bb406 Don't use system tbb for 2022.2 (#12702) 2022-08-23 10:34:40 +04:00
yanlan song
4d9443eb0e do not call get_profiling in threads (#12635)
* do not call get_profiling in threads

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

* indent

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

Signed-off-by: fishbell <bell.song@intel.com>
Co-authored-by: Chen Peter <peter.chen@intel.com>
2022-08-23 13:50:52 +08:00
Ilya Lavrenov
d770b535fb Don't run CPU tests if some previous steps have failed (#12701) 2022-08-23 02:41:26 +04:00
Alina Kladieva
5a0dea4a46 Cherry-pick U22 adoption in github actions (#12550) (#12697)
* Cherry-pick U22 adoption in github actions

* More fixes for shellcheck

* More fixes for shellcheck

* Update .github/workflows/py_checks.yml

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-08-23 01:50:29 +04:00
Alina Kladieva
c8d57bbc77 Cherry-pick disable CUDA plugin building Azure (#12699) 2022-08-23 01:49:49 +04:00
Artyom Anokhov
a8f2365563 coverage.cmake: Added general target for collecting coverage counters for whole project (#12655) 2022-08-22 18:20:37 +04:00
Daniil Lyakhov
8a1d34d317 [POT] Gold References Update (#12646)
* [POT] Precommit reference update (#12304)

* WIP graph tests fixing

* Fix collectiors graph tests

* remove debug code

* Fix rebase

* eps update for scales tests

* Outputs for some reference models was changed

* Sanity reference metrics update for VNNI CI hosts

* Unused hyperopt dependency which broke python3.6 support is commented

* Minor comments fixes

* [POT] Finetuned model reference update (#12610)

* Finetuned model reference update

* Comment with AVX512 reference value

* [hotfix] pytest error of act_act example (#12093)

* [hotfix] pytest error of act_act example

* remove needless import

Co-authored-by: Bonhun Koo <bonhun.koo@intel.com>
2022-08-22 12:25:42 +00:00
Mateusz Bencer
7fe32c89ae [MO] Fix SSliceComplex transformation (#12538) 2022-08-20 12:15:08 +02:00
Maxim Vafin
067c21f110 [TF FE] Refactor constant reading to not use protobuf directly (#12518) (#12651)
* Refactor constant reading

* Remove needless code

* Implement compressed value reading

* Remove needless protobuf headers

* Remove commented code

* Remove unnecessary comment

* Apply review feedback

* Fix linux build

* Fix win build

* Fix copyright
2022-08-19 20:02:11 +04:00
Roman Kazantsev
aafabb41b8 [MO, POT] Top up upper bounds for TensorFlow and NumPy modules in all requirement files (#12191) (#12628)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-08-19 19:33:25 +04:00
Luo Cheng
e03fbd5c15 [CPU] Default enable avx512 f32 brgconv (#12620) 2022-08-19 17:59:15 +04:00
Xiake Sun
4e02bd2771 Add missing patchelf dependency for REHL8 for openvino runtime python wheel build (#12618) (#12625) 2022-08-18 22:19:22 +04:00
Mateusz Tabaka
8ca594f49a handle tbb library path like .../tbb/lib/intel64/gcc4.8 (#12606) 2022-08-18 13:42:19 +03:00
Artur Kulikowski
2c78fdb7c7 Fix: Refreshing of places after subgraph extraction (#12497) 2022-08-18 11:30:23 +02:00
Roman Kazantsev
544b3f8191 [TF FE] Port TF FE changes from master for integration with OVTF (#12575)
* [TF FE] Handle optional attributes for Convolutional operations (#12230)

* [TF FE] Handle optional attributes for Convolutional operations

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

* Apply code-style rules

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

* [TF FE] Implement LinSpace and BatchMatMul translators (#12271)

* [TF FE] Implement LinSpace and BatchMatMul translators

It helps to convert STN model (from e2e testing) using TensorFlow frontend

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

* Fix BatchMatMul translator

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

* Fix LinSpace operation translator

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

* Apply code-review feedback

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

* Apply code-style rules

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

* Apply code style rules

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

* [TF FE] Fix conversion of NetVLAD model (#12328)

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

* [TF FE] Implement translators for TensorFlow ConvBackpropInput operations (#12356)

* [TF FE] Implement ConvBackPropInput translators

Now the translators supports dynamic input_sizes attribute and different padding modes
including EXPLICIT mode

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

* Fix clang-style issue

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

* Fix code-style issue

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

* Fix code-style issue

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

* Apply code-review feedback and fix build issues

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

* Apply code-review feedback: check for input size

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

* Fix retrieving explicit_padding attribute

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

* Fix code style

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

* [TF FE] Fix StridedSlice translator for new_axis vector size longer input rank (#12442)

* [TF FE] Fix StridedSlice translator for new_axis vector longer input rank

Currently, new_axis vector is cut by input rank that is correct and leads to the loss of new axes.

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

* Use int64 type in mask_to_vector function

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

* [TF FE] Refactor translators for Conv2d and Conv3d (#12444)

It allows to convert CNN-Transformer model. Padding was previously incorrect.

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

* [TF FE] Implement conversion for Attention OCR model (#12428)

* [TF FE] Implement conversion for Attention OCR model

The following scope of work is done to make Attention OCR convertable:
1. Refactored translators for BiasAdd, Slice, and ArgMax operations. Add translation for StopGradient operation.
2. The previous traversing algorithm to compute topological sorted nodes list was incorrect. Now it is implemented based on topologically_sorted function from core/graph_util.hpp.
3. The unsupported data types are now preliminary converted to undefined type for the purpose of to have them cut off.

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

* [TF FE] Refactor MaxPool operation translator for xj_feature model (#12485)

* [TF FE] Refactor MaxPool operation translator for xj_feature model

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

* Correct MaxPoolV2 since it has three inputs

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

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

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-08-17 16:16:48 +04:00
guozhong wang
5bd1e64a42 remove test case LoadNetwork_SingleIECore (#12597) 2022-08-17 09:33:19 +04:00
Xuejun Zhai
66257530e3 [Coverity Scan] sample issue from CS fix (#12509)
Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
Co-authored-by: River Li <river.li@intel.com>
2022-08-16 11:09:00 +08:00
Ekaterina Aidova
cfbf5a1808 [releases/2022/2] openvino-dev uses opencv-python-headless as default (#12559) 2022-08-15 21:58:06 +03:00
Ilya Lavrenov
4f03abe2ca [SAMPLES] Fix flake issues in Python speech sample (#12514) (#12529)
* Fix flake issues

* Add whitespace

* Add whitespaces in tests asserts

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
2022-08-15 16:58:13 +04:00
Anastasia Popova
389c970c12 Update date changed. (#12531) 2022-08-15 09:08:57 +03:00
Ilya Lavrenov
29628a89b7 Tbb port (#12541)
* Fixes for TBB 2018-2019.4

* Fixed CVS-89248
2022-08-15 06:26:47 +04:00
Andrew Kwangwoong Park
f3adf63f6b [GPU] Disable TCs for OVClassHeteroExecutableNetworkGetMetricTest (#12433) (#12472)
Signed-off-by: Andrew Park <andrew.park@intel.com>

Signed-off-by: Andrew Park <andrew.park@intel.com>
2022-08-13 21:56:23 +09:00
Mateusz Tabaka
c0212a361a [CPU] Add RDFT and IRDFT operators (#12290)
Tickets: 79178 and 79192

Co-authored-by: Mateusz Bencer <mateusz.bencer@intel.com>
2022-08-12 14:10:53 +02:00
Adrian Boguszewski
d8d5dfb34a Fixed NameError: name 'ARCH' is not defined on Raspberry Pi (#12421) (#12512)
(cherry picked from commit fe4e875586)
2022-08-12 12:43:25 +04:00
Mateusz Bencer
e628fae196 [GPU] Decompose NormalizeL2 for not supported cases (#12404) 2022-08-11 11:32:03 +02:00
Min, Byungil
f0f6896fc0 [GPU] Fix network loading time related to onednn engine creation (#12492)
+ benchmark cache_dir option takes longer than cl_cache_dir env in loading network.
+ For clDNN execution, benchmark cache_dir created onednn_engine if just ONEDNN_ENABLE config is ON.
+ Creation of onednn_engine in ocl_engine is changed to on-demand.

Signed-off-by: Min, Byungil <byungil.min@intel.com>

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2022-08-11 09:32:20 +04:00