Commit Graph

9330 Commits

Author SHA1 Message Date
Evgeny Kotov
78995e9ac2
Transpose sinking binary/split/concat mult consumers case + PRelu (#14670)
* binary: move test classes into namespaces

* add unsing namespacees ov and ov::opset9

* ov::Model -> Model

* use naming for unit tests

* fix unary -> binary

* fix identation

* add tests binary forward consumers > 1

* add binary output consumers > 1 unit tests

* add binary input consumers > 1 unit tests

* binary backward add unit test binary has multiple consumers + fix

* move code to common function CloneNodeWithoutConsumers

* add unit test on backward binary propagation multi consumers

* reorganize binary unit tests

* add backward_input_node_consumers test

* add test output transpose mult consumers

* cleanup

* cleanup unit tests for split

* add forward::mult_consumers::input_node_consumers tests

* add forward::mult_consumers::input_transpose_consumers tests

* add forward::mult_consumers::output_consumers tests

* code indentation fix

* fix unit test split backward input node consumers

* added mult_output_consumers split unit test

* add mult_split_consumers split unit test

* cancat tests using namespaces

* concat add unit tests

* move repeated code into functions

* clang format fixes

* rename TransposeSinkingBinaryElementwise -> TransposeSinkingBinary

* add PRelu

* clang cleanup

* fix prelu tests

* fix using

* clang fixes

* fix NodeVector argument

* fix function descriptions

* fix const ref arg functions

* clang fixes

* prevent backward sinking if not all output nodes are transposes

* fix RemoveSingleOutputConsumers checking output size

* cleanup

* clang cleanup

* disable unary backward with not same transposes

* clang fixes

* remove unneeded functions CloneNodeWithoutConsumers GetNodeIds

* remove unneeded GetTransposeConstant(Input<Node> input) as duplicate of GetTransposeConstant(Node* node)

* cleanup

* add output_transpose_mult_transposes test

* add backward::output_transpose_mult_transposes test

* add unit tests for unary backward multiple transposes; fix problems by adding new transformation

* fix bug TransposeSinkingUnaryBackwardMultiConsumers consumers_more_than
2023-01-12 17:42:46 +03:00
Anastasia Kuporosova
9388560aec
[PyOV][Tests] Fix some tests for M1 (#14555) 2023-01-12 13:51:22 +01:00
Roman Kazantsev
40627c99f5
Fix build for macos and android-arm64 (#15068)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-01-12 15:40:11 +04:00
Liubov Talamanova
b8d51a9e1b
[POT] Add transformer block pattern (#15044) 2023-01-12 15:37:21 +04:00
Sofya Balandina
051597cf2c
[apiConformancForce] creating plugin before setting properties (#14856) 2023-01-12 14:57:22 +04:00
Vitaliy Urusovskij
b4faeebc84
Align RegisterPluginsInRegistry() with RegisterPluginByName() (#15026)
* Align `RegisterPluginsInRegistry()` with `RegisterPluginByName()`

* Add gmock dependency to commonTestUtils

If use macros like OV_EXPECT_THROW, it requires target to be linked
with `gmock`. So add the dependency directly to commonTestUtils

* Add `ThrowOnRegisterPlugin(s)Twice` tests

* ClangFormat
2023-01-12 14:45:36 +04:00
Vladimir Paramuzov
9c7beee5e5
[GPU] Added missing supports_image initialization in EngineInfo. Fix some kernels with image support (#14885) 2023-01-12 12:06:01 +03:00
Ryszard Jezierski
974af13788
[GNA] Add missing metrics to GNAExecutableNetwork (#14680)
* Added NETWORK_NAME, SUPPORTED_CONFIG_KEYS and SUPPORTED_METRICS metrics to GNAExecutableNetwork

* Added unit tests for GNAExecutableNetwork metrics

* Moved model name from GNAExecutableNetwork to GNAPlugin
2023-01-12 09:05:01 +00:00
Oleg Pipikin
d75d5f99ec
Remove ieTests (#14790)
* move cpp_interfaces tests from ieUnitTests to ov_inference_unit_tests

* Fix code style

* Remove ieFuncTests and ieUnitTests

* Remove ieTests from Azure CI
2023-01-12 10:00:08 +01:00
Sebastian Golebiewski
b492eda96a
DOCS: Fixing formatting in 'Install From Apt' article (#15062)
* fixing-formatting-apt

Fixing indentation, faulty code-blocks, numbering.

* fix link

* Update docs/install_guides/installing-openvino-apt.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* fix link

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
2023-01-12 15:54:33 +08:00
Anastasiya(Asya) Pronina
e27c4b0b18
Fixed possible overflows to clean KW scan (#15034) 2023-01-12 11:33:43 +04:00
Andrew Kwangwoong Park
9d574e6041
Fix strided slice for clamped out-of-bounds begin/end with negative stride (#15059)
Signed-off-by: Andrew Park <andrew.park@intel.com>

Signed-off-by: Andrew Park <andrew.park@intel.com>
2023-01-12 07:09:25 +00:00
Wang, Yang
4ddb000c8e
[AUTO] Correct the logic of setting default hint for AUTO. (#14927)
* Correct the logic of setting default hint for AUTO.

* Update.
2023-01-12 14:55:29 +08:00
Eddy Kim
534905fd2d
ImportNetworkThrows case is removed (#15000) 2023-01-11 20:25:42 -08:00
Przemyslaw Wysocki
573a7fb6b5
Disable GitHub Action setupPython in android-arm64 job (#15053)
* Revert arm64

* minor change
2023-01-12 03:12:13 +04:00
Roman Kazantsev
01932428b8
[TF FE] Support While and StatelessWhile operations (#15043)
* [TF FE] Support While and Stateless While operations

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

* Reimplement setting outputs

* Apply code-review: while input number and copy-rights

* Apply code review feedback: correct template and fix typo

* Apply code-review feedback: more strict checks in reorder_ops_by_names

* Specify type for the generated test data

* Minor change to re-run CI

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-01-11 21:51:56 +00:00
Georgy Krivoruchko
0e99a5c44a
Added TF Deconvolution layer tests (#14906)
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-01-11 21:34:08 +00:00
Przemyslaw Wysocki
21267269da
Use Python 3.10 on Azure from GitHub actions (#13550)
* Merge master, use new token

* Minor changes

* Relax Python version

* Apply new python to rest of jobs

* Revert changes to custom images

* Minor changes

* Revert win changes

* Upgrade cython

* Test with lower cython

* Remove venv

* Cleanup

* Relax version spec

* Fix lin

* Revert changes to linux.yml

* Minor changes
2023-01-11 17:46:24 +04:00
Nadezhda Ageeva
a8a59f3cb4
[HETERO] Remove WA for Parameters, Results and Constants. (#15020)
* [HETERO] Remove WA for Parameters, Results and Constants.

* Update HeteroSyntheticTest
2023-01-11 17:45:56 +04:00
Mateusz Bencer
26934332cd
[ONNX FE] Added tutorials about running tests, architecture and adding new ops (#14807) 2023-01-11 12:08:45 +00:00
Vladimir Paramuzov
4feaeaad68
[GPU] Remote context reuse and internal config update (#14635) 2023-01-11 11:14:03 +00:00
Ivan Novoselov
1d59a5a29b
Common test infrastructure suggestions (#14343)
* Common test infrastructure: test helper for partial shapes, data generation fix

* Overload static_shapes_to_test_representation to accept PartialShape vector

* Rename to static_partial_shapes_to_test_representation
2023-01-11 10:50:39 +00:00
Mateusz Tabaka
7fad6f9b29
Fix node names sorting in graph comparator (#14813)
Since Results are sorted by node name it may happen that, e.g
Result with name node_10 is before Result with name node_9,
while we want the opposite.
2023-01-11 11:35:56 +01:00
Mikhail Ryzhov
e811210f33
[GNA] Changed max layer limit tests to avoid SEH exceptions (#15015)
* splitted test model

* Changed test config

* Set SF for all inputs
2023-01-11 13:05:52 +03:00
Anastasiya(Asya) Pronina
358d3a7740
Extended speech_sample to work on VPUX (#14509)
* Extended speech_sample to work on VPUX

* Fixed review comments

* Returned whitespace back
2023-01-11 12:46:08 +04:00
Piotr Krzemiński
f4ff1cbdf3
[BENCHMARK_APP] Align pc reports, revert format print to previous, excel friendly (#14644)
* [Python] Align pc output in Python benchmark, update sorted output to new headers, print floats with 6-digit precision, fix date format printing to excel-friendly

* [PYTHON/C++] Change precision of raports and pc counters report, simplify code

* [C++] Align C++ benchamrk_app report to Python's by setting the precision value to 3

* [C++] Fix CsvDumper precision

* [C++/PYTHON] Align pcand pcsort outputs, merge C++ printSort methods into one

* Update samples/cpp/common/utils/include/samples/common.hpp

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>

* Update samples/cpp/common/utils/include/samples/common.hpp

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>
2023-01-11 12:38:37 +04:00
Vitaliy Urusovskij
c7a1468fb7
Add support of f64/i64 for tests/ (#15029) 2023-01-11 12:17:47 +04:00
Steve Yoo
2e10a1cb13
Added trucation mode to reorder for convert (#14090)
* Apply convert trucation

* Added trucation mode to reorder for convert

* Added unittest

* convert_long not casting
2023-01-10 22:46:15 -08:00
River Li
8c84faeecd
Add ov::loaded_from_cache checking for CompileModelLoadFromMemoryTest (#15030)
* Add ov::loaded_from_cache checking for CompileModelLoadFromMemoryTestBase

* Skip gna in skip_tests_config
2023-01-11 09:45:11 +03:00
Andrew Kwangwoong Park
e0359d3085
[GPU] Enable Deconv/GroupDeconv shape infer (#15005)
* Update deconv primitive APIs for dilations and output_padding

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

* Add calc_output_layouts for deconv

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

* Add deconv shape inference TCs for ov_gpu_unit_tests

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

* Add deconv dynamic TCs for ov_gpu_func_tests

- Disable pre_replace_deconv for dynamic shape
- Update get_expected_layout for deconv_node during reorder_input
- Add I/O swap of weights for shape infernece

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

* Add group deconv dynamic TCs for ov_gpu_func_tests

- Update op creation for group deconv

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

* Fix clang-format

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

* Update test params with swapped I/O dimensions for ov_gpu_unit_tests

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

* Update for optional output_shape const/param input support

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

* Update deconv/group deconv dynamic TCs w/ output_shape for ov_gpu_func_tests

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

* Update deconv/group deconv shape inference TCs w/ output_shape for ov_gpu_unit_tests

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

* Apply code review

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

Signed-off-by: Andrew Park <andrew.park@intel.com>
2023-01-10 22:09:47 -08:00
Roman Kazantsev
35ed485d82
[MO] Activate pylint checker in CI (#15012)
* Fixed mo workflow

* Update pylint config with import os

* Update .github/workflows/mo.yml

* Install extras for pylint checker

* Fix pylint reported errors

* Add torch to the environment

* Add torch into whitelist

* Ignore torch

* Localize torch code

* Fix syntax error

* Remove MO unit-test from Pylint flow

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-01-11 08:07:57 +04:00
Maxim Vafin
fba025f1e7
Support FrameworkNode with subgraphs (#14994)
* Support FrameworkNode with subgraphs

* Fix code style

* Fix test fail

* Apply suggestions from code review

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* Apply review feedback

* Fix code style

* Apply suggestions from code review

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
2023-01-10 19:40:39 +00:00
Kelvin Choi
11f1c138de
[GPU] Add dynamic func tests for shapeof op (#14923) 2023-01-10 11:25:14 -08:00
Sebastian Golebiewski
1dc93d69d8
adding new tutorials (#15027) 2023-01-10 17:15:22 +01:00
Sofya Balandina
093abc09d6
[apiConformance] Change default value of PERF_COUNT to false (#14859) 2023-01-10 17:37:43 +04:00
Sofya Balandina
746937c88e
[Conformance] Script for analyze logs for fail and create exel with result (#14378)
* [Confromance] Script for analyze logs for fail and create exel with results

* Add worksheets

* remove -old_api key
2023-01-10 17:37:03 +04:00
Ilya Lavrenov
efa5c51122
Compilation for WebAssembly: part 1 (#15008) 2023-01-10 13:02:22 +04:00
Mikhail Ryzhov
d6a4635fd5
[GNA] Support of the tensor names for scale factors (#14632)
* Support of the tensor names for scale factors
* Fixed transpose detection pattern
2023-01-10 09:54:38 +01:00
Mikhail Ryzhov
36f9d57023
[GNA] Fixed transpose detection pattern (#14633)
* Fixed transpose detection pattern
* Added tests
2023-01-10 09:36:57 +01:00
River Li
246a287c34
Add new compile model api to support hash model memory (#14543)
* Add new compile_model api for ONNX RUNTIME OV EP

Allow compile_model() accept model/weight data.

* Update minor place

* Cache model if possible

* Compute hash based on model_xml and model_weight

* Update typo

* Change hash key computation for model's weights

* Resolve test case issue

* Use tensor replace blob for hash computation

* Fix hash computation isssue and add more test cases

* Fix a build issue caused by data format
2023-01-10 16:32:34 +08:00
Vitaliy Urusovskij
b64c1ff20a
Add support of I64 for tests fillBlobs() (#14704)
Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
2023-01-10 07:53:27 +00:00
Roman Kazantsev
87d777c192
[MO][Install] Clean up setup (#15011)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-01-10 00:13:15 +04:00
Roman Kazantsev
af6ed211d6
[TF FE] Support TF2 Object Detection models (#14979)
* [TF FE] Support TF2 Object detection models

For support of OOB conversion of OD models (Faster RCNN, SSD models) several fixes were done
for Select, BroadcastArgs, Slice, and Concat operations.
Implement tests for each case

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

* Switch off Transpose Sinking that breaks some model conversion

* Apply code-review feedback: copyright and extra commented out code

* Mention that for concat this is workaround

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-01-09 17:36:42 +03:00
Vladimir Paramuzov
028cf7a34d
[GPU] Code cleanup (#14974) 2023-01-09 15:43:26 +04:00
Tingqian Li
29b8c9e7af
[CPU] Add GraphContext & EnforeceBF16 for sub-graphs (#14695) 2023-01-09 15:28:48 +04:00
Roman Kazantsev
80f0ffbb49
[Tools][MO] Clean up requirements for default installation (#14992)
* [Tools][MO] Clean up requirements for default installation

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

* Update azure config files with extras

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-01-09 15:05:37 +04:00
Alexander Kozlov
893da35826
[POT]: Requirements clean up (#14630)
* Cleaned up requirements in POT

* Fixed issue

* Removed pandas usage from POT

* Update setup.py

* Removed the upperbound for numpy in the case of Python < 3.11

* Removed numpy logic
2023-01-09 09:44:09 +00:00
Szymon Irzabek
c20c867683
[GNA] Fix GNA namespaces (#14920) 2023-01-09 09:39:17 +00:00
Min, Byungil
c7957d8ca6
Bugfix build issue of onednn test (#14998)
* Bugfix build issue of onednn test
+ Remove invalid referencing if ENABLE_INTEL_CPU is off
+ Removed unnecessary include

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2023-01-09 18:20:01 +09:00
Zlobin Vladimir
6c8f8df518
uint32->uint64 for RedHat gflags 2.1 failing at runtime (#14724) (#14978)
* uint32->uint64 for RedHat gflags 2.1 failing at runtime

* tools/legacy/benchmark_app: uint32->uint64 for RedHat gflags 2.1 failing at runtime

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

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-01-06 17:57:36 +00:00