Commit Graph

5156 Commits

Author SHA1 Message Date
Ilya Churaev
f4530516c7
Use new evaluate API in CPU plugin (#8297) 2021-10-29 16:39:52 +03:00
Ilya Churaev
98e7063e4b
Fixed downgrade ov Function version (#8294)
* Fixed downgrade ov Function version

* Fixed build
2021-10-29 16:36:25 +03:00
Vladislav Volkov
fc000e5853
Migrating to the new tbbbind library version 2.5 (#8262) 2021-10-29 15:46:06 +03:00
Yegor Kruglov
90a140ae98
Extend MO/nGraph for operation MaxPool-8 (#6776)
* MO update for MaxPool-8

* using attrs in op constructor

* remove pads_value attr and pad fusing

* added axis and index_element_type parameters

* updated mo maxpool-8

* added maxpool-8->maxpool-1 transformation, disabled Pad to MaxPool fusing

* added remove_values_output to pooling extractors

* moved remove_values_output attribute to pooling infer function

* fixed ir_comparator tests

* disabled pad to maxpool fusing test

* added downgrade transformation test

* downgrade transformation update

* updated ir reader and tf pooling layer tests

* updated onnx pooling layer tests and MO infer unit test

* updated ir reader extender

* uncommented layer tests code

* disabled MaxPool-8 python binding test

* comment resolving, removed PadMaxPool fusing

* removed test

* downgrade transformation fix, MO codestyle changes

* removed axis check from downgrade transformation

* mark max_pool_test as xfail

* updated downgrade transformation test

* using OPENVINO_RTTI
2021-10-29 14:47:00 +03:00
David Nam
a429044038
Migrate signals to template plugin test (#8279)
* Migrate signals to template plugin test

* Use AutobroadcastType::NONE instead of AutobroadcastSpec::NONE

* Remove unused variable

* Fix cpplint error

* Remove unused variable
2021-10-29 13:01:42 +03:00
David Nam
b2b9d9f2c7
Migrate MatMul to template plugin test (#8253) 2021-10-29 13:00:30 +03:00
Steve Yoo
5c2ef7268b
Migrate Movement 1 Operations (Reverse-1, Split-1) (#8079)
* Migrate Reverse-1 and Split-1

* Separate classes for each exception test case
2021-10-29 12:49:41 +03:00
Irina Efode
c9e7e60a84
[IE TESTS] LayerTestCommon2.0 (#7945)
* Init

* try adopt softmax

* fix size of expected

* Fix cpuFuncTests

* Add configure model

* Remove extra

* fix softmax

* Adopt eltwise

* Eltwise

* Remove old dynamism

* fix oss build

* Remove In,OutPrecision

* Remove incorrect OPENVINO_ASSERT, correct eltwise tests and fix threshold

* Apply Maxim's comments

* Fix build

* ieFuncTests

* return in, out, prc

* fix tests

* Fix tests

* Fixes according to new api

* skip gpu

* try to fix myriad

* Fix myriad

* cpu fix
2021-10-29 12:00:45 +03:00
Anton Voronov
b8fb666dbc
[CPU] fixed dw conv fusing (#8193) 2021-10-29 11:09:51 +03:00
Maksim Kutakov
9eb8b9e0f8
[CPU] Native dynamic shapes support in the MatMul node (#7896) 2021-10-29 10:19:01 +03:00
Vladimir Paramuzov
e56e4154a7
[GPU] Fix Convert primitive (#8096) 2021-10-29 09:02:50 +03:00
Taylor Yeonbok Lee
4f4bb2b727
[GPU] Restore program node sort w.r.t the buffer size for buffer reuse (#8258)
* Restore program node sort w.r.t the buffer size for buffer reuse efficiency

* Fixed allocation type decision criteria w.r.t the total alloc for a single primtivie:
Previously it was checking alloc type of predecessors.
However not that the allocation order is sorted w.r.t the buffer size,
input is possibly not allocated yet.
(This might be resolved by separating alloc type decision process from actual allocation.)
2021-10-29 09:01:53 +03:00
Yuan Hu
cf180d7b8d
fix performance issue in AUTO:CPU mode (#8251)
* fix CPU performance problem with loading by AutoPlugin

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

* add and modify comment

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
2021-10-29 08:13:13 +03:00
Ivan Tikhonov
519951a4a9
Get rid of legacy PriorBox (Clustered) transformations and ops (#5646)
* get rid of legacy prior transformations

* enable prior box unit tests

* fix build

* revert deleted file

* fix unit tests

* delete redundant includes
2021-10-28 19:55:50 +03:00
Gleb Kazantaev
83193d37a3
Remove Reshape0DToSqueeze from MO (#8233) 2021-10-28 19:55:05 +03:00
Piotr Szmelczynski
c729a6bfca
[PYTHON] Expose Layout class (#7578)
* Create binding for Layout class

* add import of Layout to __init__

* add Layout to pyngraph.cpp

* create test for Layout

* fix typo

* fix style

* clean file

* fix style

* add Layot import to ngrapph init

* remove const char* init

* style fix

* move Layout from pyngraph/ to pyopenvino/graph

* style fix

* add doc() and args to Layout

* add Layout to openvino init

* fix style

* change import name

* fix import

* add __str__ impl

* remove duplicate

* style fix

* update test_layout

* add eq and ne operators

* create test for eq and ne operators

* fix style

* update copyright year
2021-10-28 19:46:50 +03:00
Ilya Lavrenov
73e3e79709
Make some global variables const (#8275) 2021-10-28 16:10:35 +03:00
Sergey Shlyapnikov
8ba66e79f5
[GPU] Optimize first reorder in case of chain of reorders (#8234) 2021-10-28 16:10:16 +03:00
Mikhail Nosov
a62897dc93
Fix disabled caching functional tests: (#8271)
- Create new objects of 'mock' executabl networks on each 'LoadNetwork'
- This allows creation of moc nets with different Input/Output Info
- Lock mutex during creation of mock objects in different threads. This is due to gmock stores 'mock' objects in non-thread-safe way
- Added comments of how to reproduce sporadic problems on disabled tests
- Enabled all disabled tests as problems are not observed anymore
2021-10-28 16:03:30 +03:00
Kelvin Choi
fd83e0bf2d
[IE CLDNN] Removed fused_conv_eltw primitive and kernels (#6832) 2021-10-28 15:28:59 +03:00
Tomasz Dołbniak
e8e7cdf306
Python 3.6.9 crash fix (#8273) 2021-10-28 14:49:06 +03:00
Nikita Demashov
f743fee0fd
fix fake quantize constants (#8244) 2021-10-28 13:08:23 +03:00
Vladimir Dudnik
6ac571e12a
eliminate odd memory copy (#8093) 2021-10-28 12:58:08 +03:00
Yury Gaydaychuk
ab6f9c670e
[CPU][DS] Dynamic shapes support for Range (#7929) 2021-10-28 12:54:01 +03:00
Vladimir Paramuzov
c1a352a136
[GPU] Fixed AS_TYPE macro usage (#8276) 2021-10-28 12:21:53 +03:00
Ilya Lavrenov
8fb699a42c
Static compilation for inference plugins (#8197)
* 1. Removed explicit SHARED from libraries
2. Fixed double definition for ie_layer_validators

* Fixed SEG in unit-test: order of initialization for global vars

* Added an ability to find plugins.xml from static IE

* Fixes in unit-test

* Migrated to new macro for import / export

* Minimized number of custom dllexport

* Don't use IR v7 for static libraries

* Revert for merge

* Don't enable tests with dlopen for static libraries

* Code style

* Added condition for export

* Revert format_reader

* Removed forward decalaration with external linkage

* Fixed IE linkage on Windows

* Reverted back 2 flags

* Minimal RRTI for cpuFuncTests

* Minimal RRTI for cpuFuncTests

* Still need IR v7 reader

* Fixed build

* Fixed compilation

* clang-format fix

* Removed BUILD_AS_IS and used USE_STATIC_IE

* Enable IR v7 reader as static library

* Fixed compilation for GPU plugin

* Trying to build plugins as static library

* Plugins are able provide their own name for CreatePluginEngine function

* Fixed CPU

* Fixed comments

* Fixed ENABLE_IR_V7_READER usage

* Fixed VPU

* clang-format

* Fixes

* Fix

* Load multiple plugins at once

* Fixed interpreter undefined symbols

* Trying to dynamically register static plugins

* Reverted some ngraph changes

* Fixed cpuUnitTests compilation

* Fixed compilation

* Fixed myriad

* Fixed custom_opset tests

* Reverted linker flags

* Support both static and dynamic plugins

* Fixed compilation of myriadFuncTests

* Removed duplication

* Fixes after self-review

* Fixed linkage for preprocessing

* Fixes for Windows

* Fixes

* Fixed cmake options

* Fix

* Fix

* Fix 2
2021-10-28 11:33:56 +03:00
Anton Romanov
a91725cedd
Fix build C samples on windows (#8274) 2021-10-28 11:31:54 +03:00
Mikhail Nosov
5cb2174721
Layout: add _idx suffix for helper getters (#8196)
'layout::width' -> 'layout::width_idx', etc
2021-10-28 11:26:55 +03:00
Maxim Andronov
6416b73855
[CPU] MVN, FQ, Convert dynamic nodes (#7817) 2021-10-28 10:52:14 +03:00
Artyom Anokhov
6908023a42
config.py: Updated routing due to new place of DM tool. (#8230)
config/*.json: Updated list of files due to current layout
2021-10-28 10:50:09 +03:00
David Nam
d198d57fe1
Migrate pooling to template plugin test (#8136)
* Migrate pooling to template plugin test

* Fix clang format

* Fix clang style error

* Fix clang style error

* Remove unused variable

* Fix cpplint error

* Fix CI build error

* Remove max_pool.in.cpp
2021-10-28 09:45:12 +03:00
Sergey Shlyapnikov
db9fbcbec2
[GPU] Fix output format for FP16/FP32 Convolution output (#8223) 2021-10-28 09:37:25 +03:00
Ilya Znamenskiy
262c87c6e1
[GPU] New OneDNN post-ops optimizations and fusing tests (#8056)
* [GPU] New OneDNN post-ops optimizations and fusing tests

* [GPU] Code refactoring by github comments

Failing test disabled in #8109
2021-10-28 09:30:08 +03:00
Steve Yoo
6f862822e1
Migrate Movement 1 Operations (ScatterNDUpsate-1) (#8116)
* Migrate ScatterNDUpsate-1

* Remove round.in.cpp
2021-10-28 08:42:50 +03:00
Dmitry Pigasin
054a2f8d9c
[IE Python Speech Sample] Add context windows feature (#7801)
* Add `context_window_left` feature

* Add a check of positive context window args

* Add `context_window_right` feature
2021-10-28 00:17:34 +03:00
Ilya Lavrenov
fe457aa59c
Wmissing declarations for core OpenVINO (#8242)
* Fixed common libraries

* Enable flags only for ngraph, FEM, plugins and IE

* Fixed OpenVINOConfig.cmake

* Fixes for plugins

* Fixed link stage
2021-10-27 22:45:16 +03:00
Mikhail Nosov
846d1e0467
[OV2.0+Bugfix] Layout serialization + Fix caching issues with auto-generated friendly names (#8153)
* Fix caching issues with auto-generated friendly names

Introduce "HashPass" to calculate hash like a serialize but without auto-generated friendly names
IE Compilation context: use HashPass to calculate hash of ov::Function
IE Compilation context tests: removed "friendly names" from tests
Layout: serialization support + tests
Parameter/Result: update set/get_layout according to layout changes

* Fix clang

* Tiny correction of CmakeLists

* Renamed VariantWrapper<Layout> to LayoutAttribute
Removed test for conversion from/to fully dynamic layout (allowed now and does nothing)
'set_layout' - remove layout runtime info if empty layout is passed. This allows hashes to be the same if set_layout(param->get_layout()) is called

* Fix build

* change size_t to uint64_t for hash value
Using size_t leads to high probability of conflict for 32-bit platforms

* Removed debug print

* Fix hash calculation for 32-bit platforms

* Fix review comment
2021-10-27 21:05:06 +03:00
Mikhail Nosov
a2a8969201
[OV20] Enable OpenCV tests and support 'u8' type for Interpolate op (#8182)
* Interpolate reference implementation:
- Support u8 and other numeric types
- For integral types - round result to nearest integer (don't cast)
Preprocessing: enable OpenCV tests and add resize conformance tests with OpenCV

* Revert changes in interpolate.cpp, making them minimal needed (added u8 resize)
2021-10-27 20:56:43 +03:00
Ilya Znamenskiy
f34e1e332f
[GPU] Added mish, hardswish, exp onednn activations (#8160)
Merged by agreement with Pavel
2021-10-27 19:32:04 +03:00
Anastasiia Urlapova
1fa0d525d9
[XXX-67099] Remove legacy from primitives priotity (#8005) 2021-10-27 19:08:26 +03:00
Nikolay Shchegolev
a0a70ab53e
[CPU] Dynamic shapes. Transpose tests + minor fixes. (#8155) 2021-10-27 18:40:10 +03:00
Roman Lyamin
a46db8a72e
[IE CLDNN] Disable bs_fs_yx_bsv16_fsv16 format for int8 convolution (#8220) 2021-10-27 16:33:02 +03:00
Anastasia Kuporosova
e0bbbbad67
[Python API] Fix install of pyopenvino (#8231) 2021-10-27 16:14:22 +03:00
Mikhail Nosov
0880a7d4af
PDPD: Revert 'Four Jobs' pool usage (#7912)
* Put JOB_POOL after comments

* Revert "Put JOB_POOL after comments"

This reverts commit a8fc4c64e5.

* Revert "Use jobs pool for PDPD model conversion as well (#7602)"

This reverts commit 1390440256.

Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
2021-10-27 16:06:04 +03:00
Ilya Lavrenov
e481758f73
Removed some global variables from ngraph (#8229) 2021-10-27 15:47:48 +03:00
Vladimir Paramuzov
6dd788ed21
[GPU] Fixed Ireq preproc conversion tests (#8198) 2021-10-27 15:18:44 +03:00
Egor Duplensky
8b20ccc6c8
[CPU] Fix MatMul node for the case of strided inputs and outputs (#8070) 2021-10-27 15:07:33 +03:00
Nikita Malinin
ce9a968030
[POT] Update tests with new data (#8209)
* Update POT tests with new data

* Revert package changes

* Remove mobinenet-ssd from POT tests

* Update benchmark.py IE Python API usage
2021-10-27 12:40:19 +03:00
Mikhail Nosov
7ef4ff6385
Update only Reference implementation and tests (#8126)
There were discovered a lot of issues in 'CompareWithRefs' tests when generated float inputs are not rounded to 'int'
2021-10-27 12:29:37 +03:00
Mikhail Nosov
789c2377ca
Fix potential data race and freeze for classification sample (#8201) 2021-10-27 12:29:21 +03:00