Commit Graph

9532 Commits

Author SHA1 Message Date
Sebastian Golebiewski
bd1808c6c4
fix headings (#15207) 2023-01-23 10:27:42 +01:00
Anastasiia Pnevskaia
e2943c2430
Fix of ObjectDetectionAPIProposalReplacement(). (#14869)
* Fixed ObjectDetectionAPIProposalReplacement() to get correct CropAndResize node.

* Small correction.

* Moved topological sort with start node to separate method, added tests.

* Simplified code.
2023-01-23 13:19:40 +04:00
Mateusz Tabaka
931fd11eee
[ONNX] Fix "Model references undeclared parameters" exception (#15218)
In case when subgraph has implicit inputs from their indirect parent,
those inputs are not registered in direct parent.
So when subgraph node is created - it references input that is not
available in direct parent's scope.
In this patch, the proposed solution registers the input (the particular subgraph
references), in every (direct or indirect) that subgraph's parent.
2023-01-23 10:08:55 +01:00
Maksim Proshin
ae15937c44
target_device description (#14592)
Minor changes in target_device description

Co-authored-by: Alexander Kozlov <alexander.kozlov@intel.com>
2023-01-23 11:26:35 +03:00
Ivan Tikhonov
0ade00488e
TransposeSinking: support Pad operation (#15137)
* Add Transpose sinking for Pad op, tests, refactoring

* Update GeneralTransposeSinking transformation

* resolve review comments

* resolve review comment
2023-01-23 10:03:47 +03:00
Ilya Lavrenov
0ba9f14e60
Moved .svg files under LFS (#15249) 2023-01-23 10:49:39 +04:00
Roman Kazantsev
5c10e3741e
[TF FE] Support ClipByValue operation (#15246)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-01-23 10:41:06 +04:00
Maxim Vafin
d4cb719213
Add support for GroupConvolution in DilatedConvolutionConverter (#15168)
* Add support for GroupConvolution in DilatedConvolutionConverter

* Fix codestyle

* Update src/common/transformations/tests/common_optimizations/dilated_convolution_converter.cpp

* Update src/common/transformations/tests/common_optimizations/dilated_convolution_converter.cpp

* Add tf frontend test

* Apply codestyle

* Update src/frontends/tensorflow/tests/convert_tricky_models.cpp
2023-01-22 14:01:16 +03:00
Ekaterina Aidova
2ec116f592
[PT FE]: support conv transpose (#15191)
* [PT FE]: support conv transpose

* apply comments
2023-01-22 07:03:54 +00:00
dependabot[bot]
ed6282935b
Bump paddlepaddle from 2.4.0 to 2.4.1 in /src/frontends/paddle/tests (#15190)
Bumps [paddlepaddle](https://github.com/paddlepaddle/paddle) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/paddlepaddle/paddle/releases)
- [Changelog](https://github.com/PaddlePaddle/Paddle/blob/develop/RELEASE.md)
- [Commits](https://github.com/paddlepaddle/paddle/compare/v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: paddlepaddle
  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>
2023-01-22 09:03:23 +04:00
Bartek Szmelczynski
0fce8d29f8
add tests for aten::eq (#15222)
* add tests for aten::eq

* Update tests/layer_tests/pytorch_tests/test_eq.py

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
2023-01-21 21:07:47 +03:00
Ekaterina Aidova
18bfa727bd
[PT FE]: support aten::glu and aten::sigmoid_ (#15185)
* [PT FE]: support aten::glu and aten::sigmoid_

* upd headers

* Update src/frontends/pytorch/src/op/glu.cpp

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

* return back opset

* Update op_table.cpp

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
2023-01-21 21:05:20 +03:00
Roman Kazantsev
0d201376df
[Tests] Fix rest of NumPy deprecated types (#15245)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-01-21 11:17:52 +00:00
Ilya Churaev
7ff9f80c68
Remove plugin.hpp (#15229) 2023-01-21 04:30:38 +04:00
Ekaterina Aidova
595d447f2e
[PT FE]: support aten::log, aten::log2 (#15184) 2023-01-20 20:42:49 +00:00
Maciej Smyk
8f8e79bb15
scheme3 (#14872) 2023-01-20 19:25:08 +04:00
Ilya Lavrenov
f7a08d3cff
Added SVG files to lfs (#15227) 2023-01-20 15:54:47 +04:00
Vladimir Paramuzov
34d16b8777
[GPU] Move tuning cache loading to kernel selector (#15112)
* [GPU] Move tuning cache loading to kernel selector. Remove tuning modes

* [GPU] Removed kernel runner
2023-01-20 15:17:12 +04:00
Maciej Smyk
c1a9152d1c
default_quantization_flow (#14848) 2023-01-20 14:24:27 +04:00
Anastasiia Pnevskaia
993686b266
convert_model() slow conversion time fix (#14666)
* Removed input_model from meta data dictionary.

* Added test.

* Changed check for more general case.

* Test fixed.

* Temporarily added debug print.

* Fixed test.

* Code corrections.

* Small correction.

* Added type check.

* Added comments, small corrections.

* Refactored MO convert_model() to have single parse_args().

* Small correction.

* Fixed PyTorch converting.

* Small correction.

* Code refactoring, added tests.
2023-01-20 14:01:53 +04:00
Ilya Churaev
e2635a0053
Introduce ov::ICore (#15096)
* Added new ov::ICore

* Fixed style and removed unused functions

* Fixed mock core

* Fixed linker issue

* Fixed inference functional tests

* Update copyrights

* Use new plugin API inside the new API

* Fixed CPU tests

* Removed old plugin from ov::IPlugin

* Fixed Inference tests

* Added comments and some other minor changes

* Split core interfaces

* Added logic to load v7 IRs without crash

* Fixed thread tests

* Fixed comments:

 * Add const keyword for core methods
 * Rename core methods

* Fixed mock core

* Added more const methods

* Fixed tests

* Remove unnecessary exception catch

* Fixed some comments

* Remove default implementations of get/set property

* Fix additional comments

* Removed set property

* Try to fix linux build

* Revert function move
2023-01-20 13:43:48 +04:00
Sebastian Golebiewski
ffdf31fba8
DOCS: Update doxygen version (#15210)
* Update build_doc.yml

* fixing references

* fix refs

* fix branch.hpp
2023-01-20 13:22:30 +04:00
Sofya Balandina
326e03504a
[Infra Conformance] Add script to build highlight table (#15181) 2023-01-20 12:38:11 +04:00
Maciej Smyk
d7e77e30a8
DOCS: Model Caching Overview image recreation for master (#15021)
* Model Caching Overview

* graph-background-fix
2023-01-20 08:21:42 +01:00
Maciej Smyk
426a9a6161
DOCS: OpenVINO™ Security Add-on image recreation for master (#15080)
* Security Add-on

* Update ovsa_example.svg
2023-01-20 08:16:34 +01:00
Vladimir Paramuzov
5b389860a1
[GPU] Remove legacy activation fused ops from program (#15075)
* [GPU] Fix winograd kernel

* [GPU] Remove fusion via legacy mechanism

* [GPU] Conversion to legacy activations in kernel selector helper
2023-01-20 09:55:53 +04:00
dependabot[bot]
65268d32df
Update numpy requirement from <=1.23.4,>=1.16.6 to >=1.16.6,<1.24.2 in /src/frontends/paddle/tests (#15189)
* Update numpy requirement in /src/frontends/paddle/tests

Updates the requirements on [numpy](https://github.com/numpy/numpy) to permit the latest version.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](https://github.com/numpy/numpy/compare/v1.16.6...v1.24.1)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
...

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

* Update src/frontends/paddle/tests/requirements.txt

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-01-19 23:49:43 +04:00
Anastasia Kuporosova
ceab44eee6
[Docs][PyOV] Add information about testing pyapi (#14645)
* [Docs][PyOV] Add information about testing pyapi

* apply comments and add links

* apply comments

* empty

* apply changes

* apply comments

* comments
2023-01-19 20:40:14 +01:00
Anastasia Kuporosova
fda677f153
[PyOV] Skip tests with bool for arm (#15208)
* [PyOV] Skip tests with bool for arm

* exec_net export test rewrite
2023-01-19 23:12:14 +04:00
Ivan Novoselov
53672e7896
[Snippets] FP32 MHA postcommit fixes (arm64) (#15203) 2023-01-19 14:18:00 +00:00
Tomasz Adamowicz
e1d3f26489
[GNA] Support caching properties for model cache (#14731)
* [GNA] Enable model caching

* [GNA] Enable model caching tests

* Fix: Use 'removeDir' instead of 'std::remove', on Windows std::remove has no effect

* Extract properties impacting model compilation into a separate method

* Add caching prop for supprted prop list
2023-01-19 13:09:42 +00:00
Ilya Churaev
141646ddc0
Remove myriad defines (#15196) 2023-01-19 10:57:15 +00:00
Ivan Novoselov
ffcb83deba
[Snippets] FP32 MHA postcommit fixes (#15180) 2023-01-19 14:06:39 +04:00
Vitaliy Urusovskij
d5f3bfa43e
RGB->Gray C and Py API2.0 (#15050)
* Add RGB to GRAY to C API 2.0

* Add RGB to GRAY to Py API 2.0

* ClangFormat + PyFlake8
2023-01-19 10:51:32 +04:00
Ilya Lavrenov
74d571de1e
Added PT FE to codeowners / labeler (#15186)
* Added PT FE to codeowners / labeler

* Added python frontend specific API to labeler
2023-01-18 22:06:28 +04:00
Aleksandr Voron
40c239ad3f
added neon_mathfun to arm license file (#15085) 2023-01-18 22:04:20 +04:00
Vladimir Paramuzov
2201a5f83e
Added common ov::execution_mode hint (#15048)
* [GPU] Added common exec mode hint and gpu support

* Add ov::inference precision and update usages. Deprecate ov::hint::inference_precision property

* [GPU] Execution mode tests and fixes

* Fixed code style

* Moved execution_mode test to common. Fixes for python API

* Remove deprecations for hint::inference_precision and just keep both

* Fix test
2023-01-18 20:13:00 +04:00
Maxim Vafin
53e699eaba
Add PyTorch Frontend (#15069)
* WIP

* update input validation

* upsample_nearest2d and upsample_bilinear2d support

* support leaky_relu add test for inplace relu

* update tests, add handler for ListConstruct

* Do not create extra outputs in main body

* add positive case with non-default value

* update testing

* update test, handle non constant size and scale

* remove ie_device

* add aten::group_norm support

* refactoring

* Enable aten::reshape_as operator and add layer test

* more tests

* Fix typo in test

* Resolve conflicts

* fix code style

* expand init version

* expand_as and tests

* add transposed convolutions support

* add tests

* initial support pad

* add circular

* update for differenced in rang

* cleanup

* refactor

* more tests

* apply review comments

* Add split+listunpack transformation

* Add split+getitem transformation

* Add test cases

* fix typo

* Minor fixes

* Apply suggestions from code review

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

* Apply suggestions from code review

* Small fix

* Support converting models without freezing

* support BoolTensor and masked_fill

* add support aten::rsqrt and test for sqrt

* add cumsum and type_as

* support clamp

* support more matrix operations

* add tests

* Add aten::adaptive_avg_pool3d and layer test

* Change to rank

* fix code style in utils.hpp

* Update src/frontends/pytorch/src/op_table.cpp

Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>

* fix code style

* add tests

* add xfail

* remove unnecessary broadcast

* Changes required by style formater

* aten::_convolution_mode

* Changes requested by a reviewer

* remove code duplication

* add aten::unbind transformation

* full, zeros and ones

* Support getattr list and unrolling nested ifs

* Remove line change

* Enable back freezing in layer tests

* Add aten::norm operator and layer test

* Small fix in layer test

* add aten::roll

* add empty line

* Typo fix

* fix style

* fix style v2

* add pytorch frontend to wheel

* Support all types of numeric norms

* add check for dynamic shapes

* remove random change

* merge statements

* add min and max ops support

* aten::max and aten::min

* move axes range creation to utils

* add transformation for tuple results, update tests

* fix copyright

* aten::var

* add test and translation for numel

* ignore aten::clone

* Add layer test for aten::add operator

* Fix typo

* Remove redundant import

* Add parameter name in forward method

* fix code style

* apply review comments

* Add size+slice+listunpack transform

* Add append listunpack transformation

* Register transformation

* aten::where

* update realization

* Fix issue with getitem

* Fix getitem

* Add layer test for aten::view operator

* Add tests for listunpack

* add test for aten::div

* fix style

* update aten::adaptive_max_pool2d

* fix style

* add aten::floor_divide

* aten::addmm support alpha and beta with different dtype

* nonzero

* Change test name

* update test cases to include other dtypes

* aten::arange

* prim::max transformation for ListConstruct

* rename op

* generalize conv2d implementation for conv1d and conv3d

* aten::unsqueeze_ and tests for aten::unsqueeze (#70)

* add aten::le, aten::ge and tests for other tensor comparision ops (#74)

* add support trigonometry ops (#73)

* support aten::upsample_bicubic2d, aten::ceil, aten::floor (#72)

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

* extend and add tests for avg_pool and max_pool

* extend tests and constant filling ops

* fix as_tensor and full ops

* aten::repeat

* fix code style

* aten::im2col (#61)

* aten::im2col

* remove debug prints, add number of elements check

* fix failed tests

* move helper function

* use split

* Update src/frontends/pytorch/src/op/im2col.cpp

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

* fix code style

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

* Update src/frontends/pytorch/src/utils.cpp

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

* fix code style

* revert removeinf floordiv, add floor_divide file

* Fix merge issue

* reduce code duplication

* refactor

* Add len operator with layer test

* update clamp to support mixed precision and add support torch.long for constants

* aten::selu

* add trunc mode to div

* add else statement

* Add test case to layer test

* Fix submodules (#88)

* update test file

* fix namings

* execute in fp64 and convert back to initial precision

* Revert set_output_size to master. Small fix in If validate

* Fix build and code style

* fix failed tests

* Add torchvision::nms operator and layer test

* Change requested by a reviewer

* Remove div test

* convert constants to input type

* Mark some cases in div tests as xfail (#93)

* Small refactoring (#94)

* Small refactoring

* Fix type

* Fix python codestyle

* Incremental fix code style (#95)

* Fix style (#96)

* Fix copyright

* Fix code style

* Branch clean up (#97)

* Optimize includes and force opset10 (#98)

* Optimize includes

* Force opset10 in pt fe

* Fix codestyle (#99)

* Fix style

* Fix clang codestyle

* Fix cerr with debug log

* Update src/bindings/python/src/pyopenvino/frontend/pytorch/decoder.cpp

* Add pytorch dependency only if pytorch frontend is enabled

* Update src/bindings/python/src/pyopenvino/CMakeLists.txt

* Add layer tests to precommit (#100)

* Add layer tests to precommit

* Remove accidentally added files

* Apply code style on layer tests

* batch norm tests and fixes

* move default weight and bias to else block

* reduce code duplication

* Changes requested by a reviewer

* Changes requested by a reviewer

* Remove dependency from pytorch in pyopenvino (#102)

* Remove dependency from pytorch when fe is disabled

* Change docstring

* Remove pytorch FE dependency from pyopenvino

* Apply codestyle (#107)

* Apply codestyle

* Remove commented line

* Apply suggestions from code review

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix mock FE test (#108)

* Fix mock PE test (#111)

* Revert changes in StridedSlice (#114)

* Small refactoring (#116)

* Small refactoring

* Fix codestyle

* Apply suggestions from code review

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Apply suggestions from code review

* Update src/frontends/pytorch/src/op/group_norm.cpp

* Fix cmake copyright define (#117)

* Update src/frontends/pytorch/src/op/arange.cpp

* Apply suggestions from code review

* Update build configs (#120)

* FIx build configs

* Update type cast in full.cpp

* Apply review feedback (#121)

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix issue after master merge (#122)

* Fix issue after master merge

* Fix build

Co-authored-by: eaidova <ekaterina.aidova@intel.com>
Co-authored-by: bszmelcz <bartosz.szmelczynski@intel.com>
Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>
Co-authored-by: sikorsl1 <leonard.sikorski@intel.com>
Co-authored-by: Leonard Sikorski <l.sikorski123@gmail.com>
Co-authored-by: Mateusz <mateusz.mikolajczyk@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-01-18 18:16:57 +04:00
mei, yang
1794fb40a0
Meiyang/paddle 2.4 (#15177)
* PaddlePaddle 2.4.1 support

* Update src/frontends/paddle/tests/requirements.txt

lowering PDPD version

* update paddlepaddle to 2.4.0

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-01-18 16:48:47 +03:00
Tomasz Adamowicz
fad52a8dd1
[GNA] Skip GNA config structure initialization when compiling in GNA_SW_FP32 mode (#15013) 2023-01-18 14:33:21 +01:00
Alexandra Sidorova
6525dd4727
[Snippets][CPU] Added FP32 MHA tokenization support (#14327) 2023-01-18 16:59:21 +04:00
Artur Kulikowski
6ec71c376a
Resolve relative path to the extension (#15047)
* Resolve relative path to the extension

* Add symbol to library inside cwd

* Set relative path to the current path

* Remove test
2023-01-18 16:48:11 +04:00
Katarzyna Mitrus
fd6640b6eb
[ShapeInference] GridSample shape infer review (#15102)
* Add more type_prop tests for interval dims and labels

* Add setter for grid sample attributes

* Merge grid sample batch dims

* Add StaticShapeInferenceTest for GridSample

* Fix label test

* Use OpStaticShapeInferenceTest fixture in test
2023-01-18 12:39:05 +00:00
Ilya Naumov
32fce5cb40
Fix Python benchmark_app crash in case of binary input and batch > 1 (#15114) 2023-01-18 16:16:22 +04:00
Alexey Smirnov
86d43a83ce
Add more options to conformance script (#14809)
* Add more options to conformance script

* Addressing review comments

Co-authored-by: Artemy Skrebkov <artemy.skrebkov@intel.com>
2023-01-18 14:25:16 +03:00
Ilya Lavrenov
c4eeecfec5
Remove myriad plugin (#15131)
* Removed Intel MYRIAD plugin

* Removed Intel MYIAD from CI files

* Removed Intel MYRIAD from cmake folder

* Removed MYRIAD, HDDL from samples

* Removed MYRIAD, HDDL from scripts folder

* Removed MYRIAD from bindings folder (C and Python API)

* Removed MYRIAD tests

* Removed MYRIAD from tests folder

* Removed MYRIAD from tools folder

* Removed HDDL (VAD), MYRIAD (NSC2) from documentation

* Fixed build for AUTO unit tests

* Fixed clang code style

* Fixed comments and issues

* removed MYRIAD from AUTO tests

* Disabled MULTI tests in CI

* Update docs/OV_Runtime_UG/auto_device_selection.md

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

* Update docs/get_started/get_started_demos.md

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

* Update docs/OV_Runtime_UG/deployment/local-distribution.md

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

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
2023-01-18 15:19:44 +04:00
Pawel Raasz
a1203b931a
Review slice for shape inference aspects (#14611)
* Review slice ope for
- Interval dimension and label propagation
- add template shape inference with static shape test
- check preserve partial values on inputs
- check upper/lower evaluate

* Add bounds evaluation for inputs start, stop

* Share code between slice and strided slice
Use same function to calculate elements in step

* Add array includes

* Add to int64_t strides size

* Fix windows compile warnings

* Fix shape inference for unknown axes

* Remove empty lines in slice shape inference

* Correct slice static shape tests

* Use arrays of const chars to store literals
Remove and update exception messages for strided slice

* Fix slice test and apply review comments

* Fix compilation issues

* Fix ellipsis when there is not begin

* Fix get element type for const inputs

* Insert optional axes as const or dynamic param

* Remove temp vectors for dimensions calculation

* Revert set optional input in ctor

* Fix forward slicing for negative start and MAX end
2023-01-18 14:40:53 +04:00
Sebastian Golebiewski
3094384d74
revert tutorials (#15164) 2023-01-18 08:32:22 +01:00
Taylor Yeonbok Lee
b98900859b
[GPU] Let reorder_inputs pass to use not only output_layout but also input layout for dynamic shape (#15037)
Previously, reorder_input pass checked only output layouts of each node, with an assumption that the input/output ranks are same at that pass.
However in dynamic shape using ngraph shape infer, there are cases input / output ranks differ. In such cases, the reorder_input pass inserts reorder to the format of current node's output_layout in the input of the current node, which causes error.
Fixed the above behavior by applying set_preferred_input/output_layout.
2023-01-18 09:41:11 +04:00
Anastasia Kuporosova
fcd95f2169
[PyOV] Move py_object_to_any under namespace (#15147)
* [PyOV] Move py_object_to_any under namespace

* remove inline

* codestyle

* fix frontend
2023-01-17 23:53:13 +04:00