Commit Graph
602 Commits
Author SHA1 Message Date
Anastasia KuporosovaandAlexander Zhogov 7d1ad47611 [Python API] Install only one openvino/__init__.py (#10145)
Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
2022-02-05 14:48:11 +03:00
Vladislav Volkov a365ee768b Fix for leaked ExecutorManager (#10070)
* Fix for leaked ExecutorManager

* Code style fix

* Fixed plugin pointer access from ExecutableNetwork
2022-02-05 14:03:50 +03:00
Oleg Pipikin 502c89e4a7 [HETERO] Fix segfault in supported/unsuppoterd layers check (#10104) 2022-02-05 13:35:25 +03:00
Anton PankratovandIlya Lavrenov ced90de0a5 PERF_COUNT replaced with ov::enable_profiling (#10118)
* String conversions in any

* Fixed chaching tests

* Fixed tests

* fixed build

* PERF_COUNT replaced with ov::enable_profiling

* fixed format

* fixed format

* fixed optimal config

* merge fix

* fix build

* format fix

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-02-05 13:27:46 +03:00
Anton Pankratov 213e02f3b0 Import Export using capabilities (#10081)
* String conversions in any

* Fixed chaching tests

* Fixed tests

* fixed build

* Fixed gpu
2022-02-05 11:16:55 +03:00
5f5bea2c5a Fix for android type info comparison (#10142)
* Any value can fromm inner string

* Fixed review coment

* strict str to value conversion

* fix format

* [VPU] update config header (#9857)

* [VPU] update config header

* Review fixes

* Performance hint config update

* Removal deprecated vpu config stuff

* Review changes

* Rename myriad properties from camelCase to snake_case

* Review changes

* Review fixes

* Removal intel_myriad::common namespace

* OV throughput stream option

* Test fix

* Reverted disable_convert & disable_reorder

* Bugfixes

* Change default value for PerformanceHintNumRequestsOption

* fixed excessive outputs copying (in case when the fallback happened) and updated the test for that (#10110)

* fixed excessive outputs copying (in case when the fallback happened) and updated the test for that

* enum eExecutionFlavor to cover initial state

* Transformations: eltwise and FQ fusings fixes (#10078)

* FQ fusings fixes

* FQ Fusings: added negative test-cases for non-broadcasted constant

* Disable single-image-super-resolution-1032  from MemCheck precommit (#10133)

* add performance hint to time infer

* disable model from memcheck

* Fixed input cut for case when port is not specified. (#10134)

* Fix for android type info comparison

Co-authored-by: Aleksandr Korolev <aleksandr.korolev@intel.com>
Co-authored-by: Maxim Shevtsov <maxim.y.shevtsov@intel.com>
Co-authored-by: Vladislav Golubev <vladislav.golubev@intel.com>
Co-authored-by: Victor Kuznetsov <victor.kuznetsov@intel.com>
Co-authored-by: Anastasia Popova <anastasia.popova@intel.com>
2022-02-05 11:15:16 +03:00
Alexander Zhogov 18fd46a447 Revert "FrontEnd OpExtension (#9917)" (#10146)
This reverts commit 768f353300.
2022-02-05 10:42:17 +03:00
Ivan TikhonovandIlya Churaev 768f353300 FrontEnd OpExtension (#9917)
* Squash commits: OpExtension, pybindings, unit tests

* fix incorrect merge

* fix builds

* fix macro on Windows

* Update OPENVINO_FRAMEWORK_MAP to support any cnt of attributes, fix pybinding, resolve review comments, add unit tests

* Fix PEP8, fix unit tests build

* Remove exports from template classes

* fix MacOS build, fix copyrights, clean up

* investigate issue with reshape py tests: temporary delete OpExtension python tests

* Revert "investigate issue with reshape py tests: temporary delete OpExtension python tests"

This reverts commit 2ea2bc9e2e.

* fix model name for onnx tests

* fix python unit tests

* add new lines in the end of files

* fix unicode support on Win OS

* fix codestyle

* Update ends_with function implementation

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

* update copyrights

* resolve review comments

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
2022-02-04 22:28:13 +03:00
Egor Duplensky c83d265416 [CPU] Add support for OV2.0 configuration API (#9997) 2022-02-04 22:26:42 +03:00
Maxim Andronov a8c520878d [CPU] Dummy shape creation fix for Deconvolution (#10079) 2022-02-04 21:43:25 +03:00
Anton Pankratov 69b118ed7b ov::Any can get value from stored string (#10131)
* Any value can fromm inner string

* Fixed review coment

* strict str to value conversion

* fix format
2022-02-04 20:41:37 +03:00
Vladislav Golubev 265ab03314 Transformations: eltwise and FQ fusings fixes (#10078)
* FQ fusings fixes

* FQ Fusings: added negative test-cases for non-broadcasted constant
2022-02-04 17:57:13 +03:00
Maxim Shevtsov 8a85bfa312 fixed excessive outputs copying (in case when the fallback happened) and updated the test for that (#10110)
* fixed excessive outputs copying (in case when the fallback happened) and updated the test for that

* enum eExecutionFlavor to cover initial state
2022-02-04 16:58:37 +03:00
Aleksandr Korolev 9743784f91 [VPU] update config header (#9857)
* [VPU] update config header

* Review fixes

* Performance hint config update

* Removal deprecated vpu config stuff

* Review changes

* Rename myriad properties from camelCase to snake_case

* Review changes

* Review fixes

* Removal intel_myriad::common namespace

* OV throughput stream option

* Test fix

* Reverted disable_convert & disable_reorder

* Bugfixes

* Change default value for PerformanceHintNumRequestsOption
2022-02-04 16:32:00 +03:00
Mateusz Tabaka 72216a9b95 [ONNX] Replace subgraph's inputs from parent with Parameter before node is created (#10113)
This patch fixes case when If operator has subgraph with just Identity op,
which input comes from parent graph. Since Identity is eliminated,
its input is incorrectly pulled to this subgraph's body.
For example:
this ONNX subgraph:
```
               +-----------+
               |AveragePool|
               +-+---+-----+
                 |   |
            +----+   v
            |      .....
            |        |
            |        v
    +-------|--------------------------+
    |       |       If                 |
    |   then|branch      else branch   |
    +-------|--------+-----------------+
    |       |        |                 |
    |       v        |                 |
    |  +-----------+ |                 |
    |  | Identity  | |    .........    |
    |  +-----------+ |                 |
    |                |                 |
    |                |                 |
    +----------------+-----------------+
```
was converted to following (incorrect) nGraph representation:
```
              +-------------+
              | AveragePool |
              +--+---+------+
                 |   |
            +----+   v
            |      .....
            |        |
            |        v
    +-------|---------------------------+
    |       |        If                 |
    |   then|branch       else branch   |
    +-------|---------+-----------------+
    |       v         |                 |
    |  +-----------+  |                 |
    |  | Parameter |  |                 |
    |  +-----------+  |                 |
    |       |         |                 |
    |       v         |                 |
    | +-------------+ |                 |
    | | AveragePool | |    .........    |
    | +-------------+ |                 |
    |       |         |                 |
    |       v         |                 |
    |   +--------+    |                 |
    |   | Result |    |                 |
    |   +--------+    |                 |
    |                 |                 |
    +-----------------+-----------------+
```

With this change, subgraph's inputs from parent scope are replaced with
Parameter before nGraph node is created. In that case Identity's input
is a Parameter (and not AveragePool) and therefore 'then branch' looks like:
```
     +-----------+
     | Parameter |
     +-----------+
           |
           v
     +-----------+
     |  Result   |
     +-----------+

```

Ticket: 73895.
2022-02-04 12:23:27 +01:00
Ivan Novoselov b7c62fcfbc [CPU] Improve weights sharing sync on multiple outputs (#10060) 2022-02-04 12:26:57 +03:00
Tomasz Dołbniak 797b2221be ONNX pooling - extended auto_pad attribute support (#10092) 2022-02-04 10:23:31 +01:00
Alexey Lebedev 7478915ef3 [PYTHON API] Fix InferQueue.is_ready() call (#10096)
* Fix is_ready and add tests

* remove wrong comment

* refactor test

* Fix code style
2022-02-04 11:57:56 +03:00
Ilya Churaev 7b5a4e8c5e Remove WA from ImportNetwork (#10111) 2022-02-04 07:16:57 +03:00
Taylor Yeonbok Lee 54678f47cf [GPU] Adjust preferred format of resample operation (#9919)
* Adjust preferred format of resample operation

* Applied review comment

* Not to fix resample layout when there is permute user unless the permute order is rotating
2022-02-04 09:57:57 +09:00
Edward Shogulin e8b88b9021 [LPT] foldFakeQuantize extending to support empty shapes (#10116) 2022-02-03 23:01:27 +03:00
Ilya Lavrenov f2f281e60b Renamed ov_runtime => openvino, ov_ => openvino_ prefix (#10069)
* Renamed ov_runtime => openvino, ov_ => openvino_ prefix

* Coverage fix

* More fixes

* Fixed MO tests with custom FE
2022-02-03 20:03:41 +03:00
Evgeny Kotov d30365f3d5 fix (#9868) 2022-02-03 19:14:57 +03:00
Anton Pankratov 8993c4c18a Deprecated ov::Any implicit cast to any types (#9409)
* Depricated Any implicit cast

* Fixed test

* fixed gna build

* Fixed warnings in benchmark_app

* Fixed test build

* ncc exception for PrintTo

* Error mesage in test

* Error mesage in test

* fixed build
2022-02-03 19:10:52 +03:00
Krzysztof Bruniecki 6677079821 Set proper precision for added output (#9496) 2022-02-03 18:34:55 +03:00
Anton Pankratov 5c9b6915dc Added undefined perfomnance hint value (#10082)
* Added undefined perfomnance hint value

* Added tests

* Fixed tests

* fixed dormat
2022-02-03 18:03:45 +03:00
Anton Dudchenko 711d6de33b [VPU] Fix precisions for execGraph (#9767)
ExecGraph didn't contain the parameter node and precisions
65013
2022-02-03 13:20:59 +03:00
Sergey Shlyapnikov ccf4f4e420 [GPU] Update config api 2.0 (#9649) 2022-02-03 13:04:36 +03:00
Nikolay Shchegolev b34cb55081 [CPU] Gather JIT implementation + Gather8 support. (#10083) 2022-02-03 12:32:23 +03:00
Ilya Churaev 0b75589e27 Fix cc build (#10073)
* Try to fix cc build

* Fixed build
2022-02-03 11:43:51 +03:00
Jan Iwaszkiewicz db334efbbd Fix vector casting for Constants with float16 type (#10088) 2022-02-03 09:15:28 +01:00
Vladislav Golubev 38ed0de9cf Test enabled (#9341) 2022-02-03 10:58:03 +03:00
Ilya Churaev 03c38ca3fd Changed code which check newAPI flag from Core (#10080)
* Changed code which check newAPI flag from Core

* Fixed typo
2022-02-03 10:36:23 +03:00
Alina Kladieva 552454a3f0 Revert "[CPU] Gather jit implementation. (#6601)" (#10077)
This reverts commit fbe8aa94a4.
2022-02-02 20:12:24 +03:00
Nikolay Shchegolev fbe8aa94a4 [CPU] Gather jit implementation. (#6601) 2022-02-02 15:02:49 +03:00
Tomasz Dołbniak 8a05ef2514 Softmax tests fixed (#10051) 2022-02-02 12:28:39 +01:00
Tomasz Dołbniak 0700ba781b ONNX ConvInteger - handling of scalar zero points (#10057) 2022-02-02 12:16:08 +01:00
dependabot[bot] 53af687a0c Bump jinja2 (#9966)
Bumps [jinja2](https://github.com/pallets/jinja) from 2.11.2 to 2.11.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/2.11.2...2.11.3)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-02 14:09:45 +03:00
Anastasia Kuporosova 70f65bdb74 [Python API] Rename configuration API + update tests/tools (#9927)
* [Python API] Rename configuration API + update tests/tools

* keep old api for compatibility

* add deprecation warnings

* apply comments to query sample

* remove convert to pyobject

* use Any instead of string

* update tests

* update set_property

* fix sample

* update test + try-except for pot

* add docstrings

* fix codestyle for pot
2022-02-02 11:28:41 +03:00
Anton Grishin 336fc37b94 Define static variable (#10053) 2022-02-02 11:26:26 +03:00
Smirnov Grigorii 83b1a247ec move convert_broadcast3_test.cpp to op_coversions (#10043)
* move

* remove convolution_ie header
2022-02-02 10:59:11 +03:00
Mateusz Tabaka bf908e9bdf Enable argmin/argmax test cases (#10056)
Ticket: 35473
2022-02-02 08:39:58 +03:00
Anton Pankratov 4cbcf4b4e3 Added get property additional arguments (#9993)
* Added get property additional arguments

* Fixed build

* Fixed error

* Added api wiht property and map

* Fixed gna build

* reverted available_devices
2022-02-01 23:56:52 +03:00
Evgenya Stepyreva ff8c217e03 Not tracking fixed, tracking restored (#10040) 2022-02-01 19:58:29 +03:00
Maxim Andronov ba736e2bcd [CPU] Fix dynamic RNNSeq with native order (#9932) 2022-02-01 18:52:57 +03:00
Vitaliy Urusovskij 89fe26e3db Copy RandomUniform m_state during clone_with_new_inputs() (#10031)
* Copy RandomUniform m_state during clone_with_new_inputs()

* Add `get_state()` for RandomUniform op

* Add copy.random_uniform test
2022-02-01 18:46:09 +03:00
Katarzyna Mitrus 52d53d187d Enable reshape sequence fusion transformation based target shape bounds (#9886)
* Calculate value bounds in ReshapeSequenceFusion

* Reashape fusion upper bounds check

* Revert last return to false

* Add transformation unit tests

* Use output node as check param

* Use evaluate helper and remove deprecation macro

* Header update

* Checks refactor and comments

* Update unit tests

* Get element type from node_out
2022-02-01 14:51:47 +03:00
Yuan Huandfishbell 8892b7b327 add Debug statistic log for devices infer nums (#9825)
* add statics log

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* change LOG_DEBUG to LOG_INFO

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* fix type

Signed-off-by: fishbell <bell.song@intel.com>

Co-authored-by: fishbell <bell.song@intel.com>
2022-02-01 14:18:29 +03:00
Alina Kladieva f25c450534 Exclude gpu registerPluginsXMLUnicodePath test due to 76197 (#10029) 2022-02-01 13:43:38 +03:00
Anton Pankratov b8a4b0742b Streams executor configured using OV2.0 configuration API (#9587)
* Streams executor config OV2.0

* Fixed error

* Reverted CPU tests
2022-02-01 13:08:32 +03:00