Commit Graph

2656 Commits

Author SHA1 Message Date
hyunback kim
d8d0083744 [GPU] Fix onednn concat, activation fusing functional regression. (#15328)
onednn doesn't support activation fusing.
faceboxes, icv-reid-embeddin, modnet_webcam_portrait_matting fail to run.

Signed-off-by: hyunback <hyunback.kim@intel.com>
2023-01-27 11:00:26 +09:00
Vitaliy Urusovskij
ef8481d008 Apply snake_case to ov::Core API (#15313) 2023-01-27 00:47:04 +00:00
Irina Efode
532df18e00 Fix broken CI (#15345)
* Fix broken CI

* Fix division by zero
2023-01-27 01:07:36 +04:00
Ilya Lavrenov
93255deb41 Fixed G-API preprocessing tests (#15344) 2023-01-27 00:11:30 +04:00
Jan Iwaszkiewicz
37317b130d [PyOV] Fix UserWarning in setup.py (#15334) 2023-01-26 22:02:17 +03:00
Anastasia Kuporosova
b4f069b9f9 [PyOV] Remove obsolete requirements (#15178)
* [PyOV] Remove obsolete requirements

* add cond for onnx

* cond

* cond

* cond
2023-01-26 19:51:48 +01:00
Gorokhov Dmitriy
b7f6e0f76f [CORE] Fixed VEX/NonVEX performance penalty inside Convert evalute impl (#15336) 2023-01-26 21:45:24 +03:00
Anastasia Kuporosova
dd17aeead3 [PyOV] Update futureWarning in offline_transformations (#15319) 2023-01-26 17:12:21 +01:00
Ekaterina Aidova
3f5d7ad7a0 [PT FE]: support aten::var_mean and aten::remainder (#15193)
* [PT FE]: support aten::var_mean and aten::remainder

* upd headers

* fix gather version
2023-01-26 14:30:42 +00:00
Pawel Raasz
a7fa66c52d Review eye class for shape inference aspects (#15039)
* Review propagate interval shapes and labels

* Review eye template shape inference

* Add partial value and label propagation on inputs
columns and rows

* Include array in eye shape inference

* Fix compilation issues

* Remove local label_t alias from eye tests
2023-01-26 15:03:35 +01:00
Marcin Kusmierski
3ccef5bb88 [GNA] Fix issue with Parameter followed by Broadcast/Tile layer (#14217)
* [GNA] Fix issue with Parameter followed by Broadcast/Tile layer

* added InsertCopyBeforeLayerToBeEliminated transofrmation: handling issue with
      Broadcast and Tile layer in case they are eliminated from network,
* added tests for verifying fix

* [GNA] Fix review comment. Remove unnecessery loop and varialble
2023-01-26 16:40:20 +03:00
Ilya Churaev
033368caab Removed redundant convert_model from CoreImpl (#15231)
* Removed redundant convert_model from CoreImpl

* Fixed code style

* Removed redundant clones and fixed tests

* Removed methods from header

* Fixed CC

* Fixed tests

* Removed code duplication

* Removed caching from v7 logic

* Completely remove compute hash for CNNNetwork

* Removed legacy code

* Revert logic which is used in tests

* Try to understand the issue

* Revert "Try to understand the issue"

This reverts commit 72abf3a354.

* Revert "Revert logic which is used in tests"

This reverts commit 845e392bdd.

* Fixed tests

* Remove legacy test

* Revert query_model logic

* Revert "Revert query_model logic"

This reverts commit b694cd6999.

* Revert "Revert "Revert query_model logic""

This reverts commit 0df850838a.

* Fixed master build

* Revert "Revert "Revert "Revert query_model logic"""

This reverts commit 3bb2af2250.

* Revert changes with query_model
2023-01-26 13:29:02 +04:00
Mateusz Tabaka
3ad92084d6 Fix MarkDequantizationSubgraph when Mul has Convert on both inputs (#14997)
Ticket: 100042
2023-01-26 08:55:23 +00:00
Ilya Churaev
c0f524e3bd Try to fix fuzzer tests (#15303)
* Try to fix fuzzer tests

* Try to fix test
2023-01-26 12:09:58 +04:00
Ilya Churaev
5e77169079 Fixed master build (#15308) 2023-01-26 07:55:58 +00:00
Sergey Shlyapnikov
6c22f06d07 [GPU] Perform memory transfer from usm_host to usm_device for dGPU only (#15263)
* [GPU] Perform memory transfer from usm_host to usm_device only for dGPU

* [GPU] Allocate new memory buffer for biases fusions to avoid original buffer modification since it may be used by other primitives
2023-01-26 10:44:38 +04:00
Pawel Raasz
b44b4fcf2c Refactor shape inference factory (#15004)
* New static shape inference iface using ov::Tensors
- Add new shape inference factory
- Add helpers to create inference factory map entries
- Create map for IShapeInferCommon instead of if else switch
- Create new map for IStaticShapeInfer

* Re-factor tile shape inference to use new iface

* ov::default_label_evaluator uses ov::Tensor now

* Improve cmp::lt for mixed types unsigned and float

* Fix cpp lint issue

* Update using tile shape_inference in GPU plugin

* Do tile shape infer before repeats lock deletion

* Fix label type conversion to element type

* Rename shape infer transformation
to type utils and change namespace from ov::sh_infer_tr to ov::util

* Update shape inference utilities

* Add unit test for safe compare of values

* Update shape infer factory to be a template
and use unordered map

* Remove from_label_type as lebel_t can be used
by element:from<>
2023-01-26 07:44:13 +01:00
Kelvin Choi
8575ad690c [GPU] Update Broadcast operation to use dynamic input (#14264)
* Refactor to merge extend_to_6d and get_agnostic_updated_params functions
2023-01-25 11:38:33 -08:00
Wilson Seok
70a0c713d3 use bfyx format as defalut for scalar layout (#15056) 2023-01-25 10:22:15 -08:00
Ekaterina Aidova
6475165833 [PT FE]: supports eye, tril, triu, tensor.fill_ and implicit scalars (#15187) 2023-01-25 21:04:56 +03:00
Roman Kazantsev
7ee781dfbf [TF FE] Fix Transpose Sinking for dynamic shapes (#15302)
* TransposeSinking transformation: add support for dynamic shapes

* fix e2e tests

Co-authored-by: Ivan <ivan.tikhonov@intel.com>
2023-01-25 21:04:26 +04:00
Mateusz Tabaka
8512fc1655 Add PushConstantToSubgraph transformation (#15250)
* Add PushConstantToSubgraph transformation

Transformation detects constfoldable inputs to MultiSubGraphOp,
constantfold them and then pushes them to inner subgraphs.

Ticket: 98155

* cast to int

* comments, split to functions

* remove op::util
2023-01-25 18:46:09 +04:00
Georgy Krivoruchko
be3ed31513 [TF FE] Added CTC Greedy Decoder layer test with fixes (#15296)
* [TF FE] Added CTC Greedy Decoder layer test with fixes

* Update src/frontends/tensorflow_common/src/op/ctc_greedy_decoder.cpp

* Update src/frontends/tensorflow_common/src/op/ctc_greedy_decoder.cpp

* Update src/frontends/tensorflow_common/src/op/ctc_greedy_decoder.cpp

* Update src/frontends/tensorflow_common/src/op/ctc_greedy_decoder.cpp

* Update src/frontends/tensorflow_common/src/op/ctc_greedy_decoder.cpp

* Update src/frontends/tensorflow_common/src/op/ctc_greedy_decoder.cpp

* Removed ov:: and fixed codestyle

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-01-25 17:08:39 +03:00
Mikhail Ryzhov
623de0fdb4 [GNA] Excluded EXACT mode from the test (#15239)
* Excluded EXACT mode from the test

* Update src/plugins/intel_gna/tests/functional/shared_tests_instances/behavior/ov_infer_request/inference_chaining.cpp
2023-01-25 14:58:46 +01:00
Maxim Vafin
994b227b86 Remove None at outputs of the model, improve types handling in frontend (#15258)
* Remove None at outputs of the model, improve types handling in frontend

* Fix py code style

* Add torch dependency in pybind tests

* Fix tests if fe is disabled and add backward type cpnversion

* Move decoder tests to layer tests

* Fix codestyle

* Add comment

* Move tests to separate folder

* Update .ci/azure/linux.yml
2023-01-25 13:28:47 +03:00
Roman Lyamin
8e073819c3 [GPU] Added shape agnostic ref kernel for Reduce and Quantize (#15183)
* [GPU] Added shape agnostic ref kernel for quantize

* [GPU] Added shape agnostic ref kernel for Reduce
2023-01-25 14:25:13 +04:00
Ilya Lavrenov
0970bc8fcf Moved legacy library and deprecated tests to GNA (#15244) 2023-01-25 11:36:22 +04:00
Ilya Churaev
a3fafda1bc Ignore empty tensor for hash calculation (#15282)
* Ignore empty tensor for hash calculation

* Added test
2023-01-25 10:02:51 +04:00
Roman Kazantsev
f12ffc0428 [MO][TF FE] Switch MO to TF FE in default mode (#15100)
* [MO][TF FE] Switch MO to TF FE in default mode

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

* Fix code-style

* Extend operations for the fallback

* Fix MO unit-tests

* Check only legacy FE for read-from-memory functionality

* Fix failures in IR comparator tests

* Fallback to the legacy FE in case tensorflow_custom_operations_config_update

* Revert copyright and update

* Fix unit-test since it is oriented for the legacy FE

* Fallback to the legacy FE in case deprecated config options

* Fix value propagation from deprecated config option

* Fix the Result node name in case cutting by input port for outputs

* Set Result node name aligned with the Legacy Frontend

* Reformat a list of operations to fallback

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-01-25 07:54:56 +04:00
Tomasz Jankowski
988847f559 Transformation component transition to OV namespace (phase 4) (#13558)
* Use openvino pass graph_rewrite

* Replace use of ngraph::pass to ov::pass

* Remove ngraph::pass aliases

* Update after rebase

* Fix post merge conflicts

* Apply code style

* Apply code style

* Remove bypassing inclusion

* Apply code style
2023-01-25 01:02:35 +03:00
Przemyslaw Wysocki
163baa3c1c [PyOV] Allow numpy patch releases (#15265)
* Update reqs

* test, minor change
2023-01-24 19:13:12 +04:00
Irina Efode
0797cd15a8 [CONFORMANCE] Fix executable file paths in runner (#15285) 2023-01-24 15:00:30 +00:00
Vitaliy Urusovskij
54ea2612ae [Core] Safe loading of default plugins (#15073)
* Safe loading of default plugins

1. In case of default plugins.xml all plugins is registered by
absolute paths
2. In case of user API user is able to specify abs or rel path
or plugin name to be found in ENV
3. Update `ov::util::get_absolute_file_path()` in order to prevent
checking file exists or can be accessed
4. Add tests + delete duplicated tests

* Add `OV_CORE_CALL_STATEMENT` to `Core()` ctor
to convert InferenceEngine::Exception to
ov::Exception

* Add `ie_plugins.hpp` dependency to `ov_infer_unit_tests`

* Update C and Py docstrings

* Comment fix

* Update LD_LIB_PATH in openvino-onnx/Dockerfile

* Skip `test_register_plugin*` for Debian job
2023-01-24 14:53:00 +04:00
Katarzyna Mitrus
c72c6ba331 [ShapeInference] Improvements of GatherElements shape inference (#15264)
* GatherElements shape infer improvements

* Add new tests

* Update test error message
2023-01-24 10:20:28 +01:00
Pawel Raasz
9ee80d67b7 Review topk for shape inference aspects (#14890)
* Review TopK for:
- label and dimension propagation
- partial value and label propagation
- preserve partial value and labels
- add evaluate upper, lower and label

* TopK v1 use shape infer instead fallback
- update static shape inference tests

* TopK shape_infer return output shapes

* Add new way to get tensor data as shape
with custom data processing
- Update tail op to use new function
- Update topk op to use this function
- Add test for negative k

* Add missing include

* Fix compilation issues

* Add support for i4 and u4 element types in
get_raw_data_as

* Fix signed and unsigned and compile warnings

* Remove constexpr from InTypeRange::operator()

* Use forward reference for functor
- minor corrections in InTypeRange class

* Use shape)infer in evaluate
- fix TopK v3 ctor for input data validation

* Fix transformation tests to use correct type for k

* Fix f16 handling in get_raw_data_as

* Correct topk bounds evaluators

* Topk detect overlap for same size dimensions
As op specification not guarantee correct order of
several elements same value

* Remove evaluate bounds
required investigation if required then will be provided

* Remove bound evaluation leftovers

* Update get const data in slice ops
2023-01-24 12:38:08 +04:00
Yuan Hu
ea776672ba [CPU] Allow external blob to be reallocated (#12029) 2023-01-24 09:30:07 +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
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
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
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
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
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