Commit Graph

5071 Commits

Author SHA1 Message Date
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
cecilia peng
1858fa3853
[frontend][paddle] It is possible that get_output_partial_shape returns dynamic shape. Then we cannot simply check if it is 1. In case of BERT which input shape is dynamic, this check will absolutely fail. (#8030) 2021-10-25 15:36:13 +03:00
Vladislav Golubev
57a7d3dfcf
[dynamism][CPU] PRelu transformations: dynamic shapes support (#7342)
* [TESTS] CPUUnitTests: unitTestUtils added to CMakeLists

* [CPUTransformations] ReshapePrelu: dynamic shapes support

* [TESTS] ReshapePrelu tests

* [CPUTransformations] ConvertToLeakyRelu: dynamic shapes support

* [TESTS] ConvertToLeakyRelu tests

* Reshape1D: functions moved to namespace

* ReshapePRelu: slope as parameter fix

* postreview fixes

* cleanup

* postreview fixes

* ReshapePRelu quick fix
2021-10-25 14:12:11 +03:00
Maksim Kutakov
e6bc8c59a9
[CPU] Native dynamic shapes support in the Softmax node (#7852) 2021-10-25 14:11:59 +03:00
Vladimir Gavrilov
86208efd56
nGraph version of the MO transformation SplitConcatPairToInte… (#7850)
* Written nGraph version of the MO transformation SplitConcatPairToInterpolate.

* Small fix.

* Started to write tests for the transformation.

* Small fixes.

* Written more tests.

* Deleted commented code.

* Deleted debug prints.

* Added the transformation SplitConcatPairToInterpolateFusion into common_fusions.

* Small fix.

* Relaced std::set by std::unordered_set.

* Now the function grouped_vector is not template function.

* Small simplification.

* Deleted commented code.

* Now std::pair is used instead of SplitAndScale.

* Enabled the transformation SplitConcatPairToInterpolateFusion and added it into MOCTransformations pipeline.

* Removed the transformation from common_optimization.cpp.

* Small fixes.

* Added comment to the function grouped_vector.

* Deleted the local variable result from the function get_split_before_concat().

* Small change.

* Added comments for the conditions on input rank.

* Used std::tie instead of .first and .second.

* Skipped the ngraph namespace specification in the transformation callback.

* Got rid of std::unordered_set of std::shared_ptr<ngraph::opset8::Split>.

* size_t was replaced with uint64_t.

* Added descrption of the transformation.

* Small fix.

* Added condition that scale_factor != 1.

* Added more tests. Also the transformation has boolean parameter use_shape_for_elimination.

* Small fix.

* Written CPU layer tests for the nGraph transformation SplitConcatPairToInterpolateFusion.

* Some fixes.

* Added tests for the case of dynamic input shapes.
2021-10-25 13:59:42 +03:00
Anton Pankratv
8741b1504a
Fixed dlerror KW issue (#8184) 2021-10-25 13:46:31 +03:00
Liubov Batanina
e0f88b7dc5
Change OMZ submodule version (#8170) 2021-10-25 12:58:22 +03:00
Vladimir Paramuzov
f48415d739
[GPU] Removed pad value check (#8085) 2021-10-25 12:12:50 +03:00
Kelvin Choi
de750b93fc
[GPU] Revert input's output layout in case of does_possible_implementation_exist failure (#8108)
Signed-off-by: Kelvin Choi <kelvin.choi@intel.com>
2021-10-25 17:47:42 +09:00
Sergey Shlyapnikov
e6f0b8fe88
[GPU] DG2 layout optimizer improvements (#8074)
* [GPU] DG2 layout optimizer improvements

* Fix FP16/FP32 regressions and optimize first qunatize/reorder
2021-10-25 10:55:40 +03:00
Anastasiya Koryachikhina
8b0bec4e04
Small changes in memcheck tests (#7128)
* add "" for windows in cmd line

* requirements test

* requirements test

* add requests in requirements

* add scipy in requirements

* add executable python for prepare models

* remove extra requirements

* add window for supported in memcheck tests

* add scipy in requirements

* change check of product_type

* add return for windows

* change form of return arg in run_memcheck

* change form of return arg in run_memcheck

* remove windows check

* change return format

* remove empty line

* change downloader_path
2021-10-25 10:49:33 +03:00
Anton Pankratv
c39e6fcfd8
added ov InferRequest behaviour tests (#7811) 2021-10-25 10:36:17 +03:00