Commit Graph

9594 Commits

Author SHA1 Message Date
Sebastian Golebiewski
ea519f85db
minor edits (#15269) 2023-01-24 01:23:09 +04:00
Karol Blaszczak
3d8a418549
Update Supported_Devices.md (#15270) 2023-01-24 01:22:47 +04:00
Ilya Lavrenov
90a7c083c6
Use manylinux2014 instead of manylinux_2_17 as a platform tag (#15224) 2023-01-23 23:46:10 +04:00
Ilya Churaev
07c68ffc36
Fixed Windows crash: map/set iterators incompatible (#15267) 2023-01-23 18:15:30 +00:00
Irina Efode
2cf280ad59
Python test runner (Replacement of Gtest parallel) (#14479)
* init

* logs separation

* tempopary version

* Production version without logs

* call from runner

* add logging

* Improvements for interaction

* Process timeout

* fix

* logging

* add more logs

* correct filters

* cachr

* improve sort

* test

* align with gtest-parallel

* test

* check

* remove batch

* try

* Resolve lost tests

* try

* debug info

* try

* remove extra

* remove extrs

* test ci

* debug only

* work with achieve

* compare

* better

* dd

* test

* one more commit

* dd

* final fix

* final

* Update sta map

* Fix for incorrrect names

* pull changes

* ff

* progressbar
2023-01-23 20:24:04 +03:00
Anastasia Kuporosova
2cb3e6486e
[PyOV] skip dynamic test for arm (#15257)
* [PyOV] skip dynamic test for arm

* Update src/bindings/python/tests/test_runtime/test_infer_request.py

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

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-01-23 17:54:20 +01:00
Albert Angles
711e2cbab0
enable first_inference_latency (first_inference+time_to_inference) (#14829)
* add time_to_first_inference_result KPI as sum of inf latency values

* append unit time after the value

tested locally, worked

* Revert "append unit time after the value"

This reverts commit 428b8cafdc.

* remove metric

* revert 42dd271c3b

* enable { SCOPED_TIMER(first_inference_latency); }

* enable first_inference_latency

tested locally, it works

* remove trailing whitespace

Co-authored-by: Daria Ilina <daria.krupnova@intel.com>
2023-01-23 19:48:07 +03:00
Evgenya Stepyreva
e2a1bd78a4
Tensorflow Common new (#15192)
* Moved files to another directory

* Rename header op_table.hpp to common_op_table.hpp for all files in src/frontends/tensorflow_common/src/op/

* Removed visability macroses

* CMake changes

* Unit-test execution in .ci

* Update labeler.yml

* Codeowners

* Style check and fix

* Static Build arrangement

* Addressing the comments

* install common headers to previous place

* New approach with public decoder and graph_iterator

* New approach with public decoder and graph_iterator

* Move GraphIterator back

* Comments addressed

* Comments adressed

* Preliminary TF FE README.md changes

* Added target_compile_definitions OPENVINO_STATIC_LIBRARY for static build
2023-01-23 19:33:21 +04:00
Egor Duplenskii
66c0dcc742
[CPU][DEBUG_CAPS] Fix Windows build (#15234)
Ensure cross-platform _VA_ARGS_ behavior
2023-01-23 17:17:39 +04:00
Ilya Churaev
ba908e8e2f
Fixed some leftovers (#15251)
* Fixed some leftovers

* Remove callback

* Changed logic
2023-01-23 16:02:58 +04:00
Georgy Krivoruchko
5a986a5b16
Skip unnecessary checks for Layer Tests (#15254) 2023-01-23 11:19:19 +00:00
Zlobin Vladimir
dcb3b20d71
Speech sample report output ambiguity (#15135)
* speech_sample: report output ambiguity

Ticket 100574

* Add missing ;, ambogous->ambiguous

* clang-format

* Fix help message
2023-01-23 14:19:41 +04:00
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