Commit Graph

5082 Commits

Author SHA1 Message Date
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
Sergey Lyubimtsev
947f00bc56
Fix for openvino.tools.* module load issues. (#8219) 2021-10-27 11:56:17 +03:00
Andrew Kwangwoong Park
c6c3e33a3a
[GPU] Fix VA OD sample pipeline test failure with batch=64 (#8128)
* Fix VA OD sample pipeline test failure with batch=64

Signed-off-by: Andrew Kwangwoong Park <andrew.kwangwoong.park@intel.com>

* Update cpu/gpu switching rule for maximum LWS of device capabilities

Signed-off-by: Andrew Kwangwoong Park <andrew.kwangwoong.park@intel.com>

* Add Validate function to compare batch size with device capabilities

Signed-off-by: Andrew Kwangwoong Park <andrew.kwangwoong.park@intel.com>
2021-10-27 11:51:21 +03:00
Mikhail Nosov
d65e7d4d4f
[OV20] Preprocessing: convert_layout<std::vector<uint64_t>> implementation (#8213)
* Preprocessing: convert_layout<std::vector<uint64_t>> implementation

User is able to use this version without specifying layout explicitly

Same version of convert_layout is added for post-processing

Added usage of new convert_layout to ie_network_reader

* Fix review comment
2021-10-27 11:32:44 +03:00
Bo Liu
ccffed468c
PriorBox-8 specification (#8000)
* New version of PriorBox operation to add new 'min_max_aspect_ratios_order' attribute

* Apply suggestions from code review

Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>

* Apply suggestions from code review

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-10-27 11:29:06 +03:00
Ilya Churaev
6717868bbf
Remove blob symbols from Inference Engine library (#8212) 2021-10-27 11:08:37 +03:00
Mikhail Nosov
00866d90df
[Caching] Disabled sporadically failed tests (#8238)
* Disabled sporadically failed tests

* Disabled one more test
2021-10-27 10:59:24 +03:00
Anna Khakimova
4b9cdbbba3
Workaround for bitexact issues. (#8225) 2021-10-27 10:46:40 +03:00
Luwei Zhou
05074efb9b
Add the shape_inference_test folder for CPU. (#8189) 2021-10-27 10:20:31 +03:00
David Nam
96af987c46
Migrate shape1,2 to template plugin test (#8200)
* Migrate shape1,2 to template plugin test

* Fix member variables order
2021-10-27 09:26:32 +03:00
Mang Guo
3ce0f2573a
[pdpd] Specify SEQ_LEN for each batch (#8057)
* Specify SEQ_LEN for each batch

* Generate different seq_len for each batch

* Remove print
2021-10-27 09:00:13 +03:00
Anastasia Popova
bf8f9164ed
Unification of layout and data types of Parameter and Result in MO (#7630)
* Added transposes insertion for Parameter and Result.

* Separated into several transformations.

* Corrected runtime_info format.

* Fixed runtime info serialization.

* Code refactoring.

* Corrected checks.

* Added debug output.

* Added check.

* Fixed unit tests.

* Changed old api map format, removed debug output.

* Moved serialize to rt_info property, code corrections.

* Refactored RTInfo class.

* Small corrections.

* Small corrections.

* Removed redurant import.

* Added tests, added undefined default type.

* Code reformat.

* Fixed serialization unit tests.

* Added comment.

* Added comment.

* Small test correction.

* Changed default values of old_api_map to values from old API IR.

* np.array -> int64_array

* Update MO to use FE to read IR; Swith MO IR version to 11

* Preserve output node name when inserting Transpose

* Codestyle

* Fix layer tests

* Pylint fix

* Disable ref_graphs comparision in layer tests

* codestyle

* Updated MO IR reader.

* Moved version initialization to constructor of OldApiMap.

* Added shape infer after transpose insertion.

* Fixed Pylint

* Removed wrong attribute removal.

* Added transposes insertion for Parameter and Result.

* Separated into several transformations.

* Corrected runtime_info format.

* Fixed runtime info serialization.

* Code refactoring.

* Corrected checks.

* Added debug output.

* Added check.

* Fixed unit tests.

* Changed old api map format, removed debug output.

* Moved serialize to rt_info property, code corrections.

* Refactored RTInfo class.

* Small corrections.

* Small corrections.

* Removed redurant import.

* Added tests, added undefined default type.

* Code reformat.

* Fixed serialization unit tests.

* Added comment.

* Added comment.

* Small test correction.

* Changed default values of old_api_map to values from old API IR.

* np.array -> int64_array

* Update MO to use FE to read IR; Swith MO IR version to 11

* Preserve output node name when inserting Transpose

* Codestyle

* Fix layer tests

* Pylint fix

* Disable ref_graphs comparision in layer tests

* codestyle

* Updated MO IR reader.

* Moved version initialization to constructor of OldApiMap.

* Added shape infer after transpose insertion.

* Fixed Pylint

* Removed wrong attribute removal.

* Serialize fix.

Co-authored-by: Gleb Kazantaev <gleb.kazantaev@intel.com>
2021-10-27 03:24:54 +03:00
Bo Liu
d5a5dc1aa1
doc of paddle 2nd batch operations support (#7952)
* doc of paddle 2nd batch operations support

* Modified based on UX/DX Team feedback

* update the example command in Convert_Model_From_Paddle.m

* Apply suggestions from code review

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

Co-authored-by: meiyang-intel <yang.mei@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-10-27 02:02:21 +03:00
Andrey Babushkin
16cee44fbb
Add Jenkinsfile for POT (#8179) 2021-10-26 23:05:53 +03:00
David Nam
fb9c949b29
Migrate FakeQuantize-1 to template plugin test (#8115)
* Migrate FakeQuantize-1 to template plugin test

* Fix cpplint error
2021-10-26 19:10:25 +03:00
Irina Efode
ac5b0e881a
[IE GPU] Skip sporadic failure in CI (#8109) 2021-10-26 15:24:37 +03:00
Egor Duplensky
a02eafb397
[CPU] [BF16] Do not enforce BF16 for graph tail (#6114) 2021-10-26 14:49:36 +03:00
Vladislav Golubev
4a96d14adc
[nGraph] Reshape: upper_bound propagation fix (#8177) 2021-10-26 14:22:29 +03:00
Bartek Szmelczynski
bd2fdca9de
remove CT from ref impl (#7959) 2021-10-26 13:54:47 +03:00
Yury Gaydaychuk
87b9a5b6e9
[CPU] Dynamic support for ShapeOf (#7875) 2021-10-26 12:55:08 +03:00
Victor Kuznetsov
445292b079
change pr type (#8143) 2021-10-26 11:29:57 +03:00
Nikolay Shchegolev
65d6010e4d
[CPU] Dynamic shapes. Gather. (#7858) 2021-10-26 08:45:47 +03:00
Yegor Kruglov
345c3510f3
set num_classes to None in multibox_detection extractor (#7860) 2021-10-26 00:02:10 +03:00
Vladislav Golubev
64a0e3dbd0
[LPT] ReshapeTransformation: non-constant reshape pattern supported in case of per-tensor dequantization (#8095) 2021-10-25 22:27:16 +03:00
Victor Kuznetsov
b754013aec
fix work with query memory timeline (#8063)
* fix work with query memory timeline

* revert timeout changes

* upd readme

* change README.md
2021-10-25 16:51:53 +03:00