Commit Graph

9411 Commits

Author SHA1 Message Date
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
Maxim Vafin
51fb4fd2e3
Fix ResultRename transformation to preserve output order (#14956)
* Fix ResultRename transformation to preserve output order

* Apply review feedback
2023-01-06 17:48:13 +04:00
Liubov Talamanova
ddd4f050c7
[POT] Fix precommit tests (#14972)
Co-authored-by: Alexander Kozlov <alexander.kozlov@intel.com>
2023-01-06 13:44:54 +00:00
Zlobin Vladimir
7fab95fef2
Relax OpenCV dependency (#14968)
Close https://github.com/openvinotoolkit/openvino/issues/14875
2023-01-06 14:42:43 +03:00
Min, Byungil
c4cd3e152b
[GPU] Make generic logic to find formats from meme::desc (#13730)
* [GPU] Make generic logic to find formats from meme::desc
+ Added test-cases

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2023-01-06 18:12:51 +09:00
Jade Cho
c1f6da31b6
[GPU] Add substract post-op for onednn (#14947) 2023-01-06 17:18:25 +09:00
Ilya Lavrenov
1e71bdd1d4
Fixed clang-format action to provide suggestions (#14957) 2023-01-06 06:37:15 +04:00
Ilya Lavrenov
08b4c9cdd3
Configured dependabot updates for main pip requirements (#14876)
* Configured dependabot updates for main pip requirements

* Fixed MO working directory

* Update .github/workflows/build_doc.yml

* pip(deps): bump urllib3 from 1.26.5 to 1.26.13 (#62)

Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.5 to 1.26.13.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.5...1.26.13)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* pip(deps): bump six from 1.15.0 to 1.16.0 (#60)

Bumps [six](https://github.com/benjaminp/six) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/benjaminp/six/releases)
- [Changelog](https://github.com/benjaminp/six/blob/master/CHANGES)
- [Commits](https://github.com/benjaminp/six/compare/1.15.0...1.16.0)

---
updated-dependencies:
- dependency-name: six
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* pip(deps): bump imagesize from 1.2.0 to 1.4.1 (#70)

Bumps [imagesize](https://github.com/shibukawa/imagesize_py) from 1.2.0 to 1.4.1.
- [Release notes](https://github.com/shibukawa/imagesize_py/releases)
- [Commits](https://github.com/shibukawa/imagesize_py/compare/1.2.0...1.4.1)

---
updated-dependencies:
- dependency-name: imagesize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-06 00:50:14 +04:00
Maciej Smyk
a14c9e3ae5
DOCS: Libraries for Local Distribution image recreation for master (#14950)
* deployment_full

* Update deployment_full.svg
2023-01-05 23:14:43 +04:00
Tomasz Dołbniak
52f6fdeb52
ONNX CastLike operator tests (#14936) 2023-01-05 17:55:42 +00:00
Roman Kazantsev
a38366a707
[TF FE] Fix Wide and Deep model conversion (#14931)
* [TF FE] Fix Wide and Deep model conversion

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

* Fix build

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-01-05 17:29:39 +00:00
Ilya Lavrenov
10253c1b12
Cross-compilation for ARM on Windows (#14933) 2023-01-05 17:24:08 +04:00
Tomasz Dołbniak
13d01d969b
[BENCHMARK_APP] Help message cleanup (#14786) 2023-01-05 14:21:09 +01:00
Sebastian Golebiewski
99c7ee1c18
DOCS: Hiding Transition to API 2.0 banner - for master (#14949)
Using cookies to keep the banner hidden once the user has closed it.
2023-01-05 13:52:30 +01:00
Sebastian Golebiewski
136e375a93
DOCS: Updating Interactive Tutorials - for master (#14945)
Adding new tutorials:
404-style-transfer-webcam
406-3D-pose-estimation-webcam
2023-01-05 13:49:42 +01:00
Roman Kazantsev
f13e7e1352
[TF FE] Support If and PartitionedCall operations (#14910)
* [TF FE] Support If and PartitionedCall operations

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

* Fix build

* Fix frontend wrapper for tests

* Erase tensor names in body graph before caching

* Apply code-review feedback: recover m_op_translators in Frontend

* Rename test models

* Rename unit-tests

* Correct scripts for test model generation

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-01-05 15:34:15 +03:00
Andrew Kwangwoong Park
efb602e13b
[GPU] Update strided slice impl for non-constant begin/end/stride support (#14619)
* Add strided slice dynamic TCs for gpuFunctests

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

* Update StridedSliceLayerGPUTest for rest inputs's type (parameter)

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

* remove W/A for strided slice

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

* primitive API updates for dynamic begin/end/stride inputs support

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

* Update ocl impl and kernel param, and strided_slice_ref kernel w/o memory_deps

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

* Update TCs for new API w/ vectors on strided_slice_gpu unittests

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

* Apply code review

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

* Apply padding when the size of rest input data is smaller than actual input rank

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

* Update strided_slice_optimize pass to run onyl when all deps are constant

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

Signed-off-by: Andrew Park <andrew.park@intel.com>
2023-01-05 13:31:32 +03:00
Sebastian Golebiewski
3017c8d123
DOCS: Fixing broken links in documentation. (#14935) 2023-01-05 11:25:03 +04:00
Min, Byungil
0d261dbf83
Add decomposing Reduce for Bugfix of byx reduction (#14449)
+ Add transformation to fix accuracy issue of oneDNN reduction : DecomposeReduceForFalseKeepdims
+ Add Reshape to modify output of Reduce and update keep_dims to true : reduce-reshape
+ Add exception logic for unsupported reduce mode by byx conversion

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2023-01-05 15:44:12 +09:00
Jade Cho
9427623046
[GPU] Swap XY axis for 1D conv (#14362) 2023-01-05 14:58:55 +09:00