Commit Graph

7331 Commits

Author SHA1 Message Date
Nikita Semaev
fca159293d
Fix Bucketize Conformance tests for Template plugin (#11029)
* Right fill in the values of the inputs

* Using create_and_fill_tensor_unique_sequence() instead of create_and_fill_tensor()

* Fixing a problem with a missing parameter when calling the create_and_fill_tensor method

* Fix Bucketize Conformance tests inputs generation for Template plugin

* Correct filling of the first port (data)
2022-04-01 15:22:45 +03:00
Andrey Zaytsev
cad355a03e
Docs labels adjustment (#11227) (#11294)
* Adjusted documentation labels

* Renamed images

* fix doc tests

Co-authored-by: CCR\ntyukaev <nikolay.tyukaev@intel.com>
# Conflicts:
#	docs/IE_PLUGIN_DG/ExecutableNetwork.md
2022-04-01 15:06:55 +03:00
Anton Grishin
7efc85063b
[GNA] Add GRUCell/GRUSequence/LSTMSequence support (#11333)
* Add grucell/gruseq/lstmseq unrolling

Add tests

* remove bidirectional decomposition

* completly remove bidirectional_sequences_decomposition
2022-04-01 14:16:11 +03:00
Nikita Semaev
dc55f8bb5a
Correct the order of passing arguments to the InputGenerateData constructor (Fix Round, Ceiling Conformance tests for Template plugin) (#11099)
* Correct the order of passing arguments to the InputGenerateData constructor

* Full range correction for random numbers

* Refactoring the argument sequence of the InputGenerateData class constructor

* A small imperfection

* Rollback changes that are related to range
2022-04-01 13:42:10 +03:00
Alexey Lebedev
6eaa15745a
[PYTHON API] Tensor.data property for low precisions + packing (#11131)
* rebase old branch with master

* Fix doc style

* fix test

* update tests

* Add missed param

* Rewrite docstring for tensor and refactor set_input_tensors test

* update python exclusives

* keep compatibility

* remove notes about slices

* fix code style

* Fix code style
2022-04-01 12:04:04 +03:00
Karol Blaszczak
701d75eafa
[DOCS]continue_language_review-transitionguide (#11177)
PR for 22.1 made, now porting to release...
some discrepancy between this version and the 22.1 branch seems to exist, so I adjusted the conflicting link to avoid build check errors...

the overview has been merged, the remaining articles are reviewed here
2022-04-01 17:03:40 +08:00
Ilya Churaev
80739700ff
Added clone method for ov::Model (#11390)
* Added clone method for ov::Model

* Changed python API
2022-04-01 10:52:31 +03:00
Ilya Churaev
8ab5dbade0
Revert "Add constant folding to hetero to avoid dynamism on GPU (#10572)" (#11370)
This reverts commit 5b18677f1b.
2022-04-01 10:16:14 +03:00
Bo Liu
070f27a089
Paddle FasterRCNN Ops Conversion: roi_align, strided_slice, where (#10893)
* Paddle FasterRCNN Ops Conversion: roi_align, strided_slice, where

* add check for 'aligned' feature of 'roi_align' op; use common function for idx_node in 'striede_slice' op

* Apply suggestions from code review

* use common funciton for stride_slice and slice, OP_CHECK for 'where' op conversion

* Apply suggestions from code review
2022-04-01 14:37:28 +08:00
yanlan song
4057e408d8
Bell/shape auto (#11284)
* Fix batchability check of MAX_BATCH_SIZE

* Applied review comment

* clonenetwork in auto

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

* clone in correct way

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

Co-authored-by: Taylor Yeonbok Lee <taylor.lee@intel.com>
2022-04-01 11:09:22 +08:00
Mikhail Nosov
e52bd441e2
Frontend exception safety (#11368)
* Frontend exception safety

Every call to frontend's API (except Places) can throw exception. If during exception handling, FrontEndManager is destroyed and calls 'dlclose' for plugin - call stack will be corrupted and crash will occur.

Solution is to wrap 'plugins' calls with try/catch and throw new exception in 'openvino' context

TODO: currently "Place" objects don't have 'actual' wrappers, so exception in 'place' objects will potentially cause such crash (if exception handler destroys FrontEndManager). Workaround for user would be to try/catch any calls of Place API on their side.
We're not expecting users to use Place API directly, so this workaround looks acceptable

* Add check for exception message

* Keep type of frontend exception during rethrow

* IR FE tests: don't expect InferenceEngine::exception as it be not propagated as is by FrontEndManager
2022-03-31 22:23:40 +03:00
Anastasia Kuporosova
dd54cb9c17
[Python API] Remove old api class from the new api (#10470)
* [Python API] Remove old api class from the new api

* start working on refactoring of OVAny

* fix tests

* fix code-style

* remove tuple test

* fix test

* fix omz hash

* one more overload

* fix pyfloat

* move from_ov_any to utils

* code-style

* move function from common to utils
2022-03-31 21:57:05 +03:00
Elizaveta Lobanova
d3060d4bcc
[GNA] Fixed handling of unaligned crop layer (#11316) 2022-03-31 20:03:51 +03:00
Vladimir Paramuzov
1cb254307e
[GPU] Gather params update (#11369) 2022-03-31 19:46:38 +03:00
Ilya Lavrenov
3c724a1dee
Build with system TBB (#11244)
* Build with system TBB

* Fixes

* Check whether system TBB is available

* Try to fix ONNX Runtime build with system TBB

* Test

* Fixed compilation of threading.cpp

* Fixed unset of cache dirs

* Limit dearch paths of TBB

* Try to enable pip packages with custom TBB

* Fix for TBB 2021.2

* Install only needed TBB libraries

* Install TBB from system to pip package

* Reverted usage of TBBROOT

* Fixed oneTBB case

* Try to fix Android

* Escape some paths

* Added samples path

* Fixed TBBBind usage for case of system TBB
2022-03-31 18:05:59 +03:00
Ekaterina Aidova
d99104cf55
[OMZ]: update submodule (#11305) 2022-03-31 17:53:41 +03:00
Alina Kladieva
dc83410cd7
Revert "Skip sporadic GPU canInferOnUserQueue test case (#11310)" (#11362)
This reverts commit 458378e9e7.
2022-03-31 17:38:03 +03:00
Vladimir Paramuzov
15b4553eaf
[GPU] Align OneHot primitive parameters with ngraph (#11361) 2022-03-31 17:13:49 +03:00
Alexey Lebedev
1efb0a034f
[PYTHON API] release GIL (#10810)
* AsyncInferQueue nogil update + refactoring

* nogil in compiled model

* nogil in Core

* fix refactoring

* nogil in infer_request

* add tests

* Fix code style

* update test with incrementing reference counting

* try to fix code style

* fix code style

* release gil in reshape and preprocessing

* make args optional in test

* fix code style

* add docs about GIL

* try to link doc string with docs

* Apply suggestions from code review

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>

* Fix docs

* docs refactoring

* Apply review comments

* Fix code style

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com>
2022-03-31 16:12:48 +03:00
Maxim Andronov
1d247815be
Don't execute reference::strided_slice if input/output tensor is empty (#11337) 2022-03-31 15:42:10 +03:00
Alexandra Sidorova
9185f03e77
Added specification for Eye-9 (#11104)
* Added specification for EyeLike-9

* Update docs/ops/generation/EyeLike_9.md

* removed batch from TF

* minor fix

* Applied comment by Anton

* Added new example with dynamic output, added corner case

* Fixed corner case description

* Rename matrix

* applied comments by Yuan

* Added diag_idx as input, minor fixes, renaming

* added support of batch_shape from TF

Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
2022-03-31 14:46:55 +03:00
Smirnov Grigorii
a87e8f7880
moved TransformationsTestsF method's definitions from .hpp to .cpp (#11359)
* moved

* fix style
2022-03-31 14:07:41 +03:00
Pavel Esir
16a5962698
[MO] pad fusing fix (#10453)
* pad fusing fix

* added unit-tests for pad fusing fix

* fixed port reconnecting

* Update tools/mo/openvino/tools/mo/middle/passes/fusing/mark_unfused_nodes.py

Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>

Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
2022-03-31 14:07:07 +03:00
Smirnov Grigorii
763d522759
add graph_comparator tests (#11360) 2022-03-31 14:06:36 +03:00
Mikhail Ryzhov
a9853d2790
[GNA] Additional tests on compact mode (#10969)
* Moved InitGNADevice to plugin constructor

* Added tests for ordering layers

* Added allocator header

* Fixed fused_iterator header

* protected GNAMemRequestsQueue properties

* Fixed unit test names

* Fixed compile issue

* Fixed default initialization

* Fixed depricated matchers

* Fixed pwl deprecated tests

* Added page alignment

* Reset gnadevice in the tests

* Update src/plugins/intel_gna/gna_fused_iterator.hpp

Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>

* Revert "Update src/plugins/intel_gna/gna_fused_iterator.hpp"

This reverts commit d624bdadaf.

Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>
2022-03-31 13:56:25 +03:00
Elizaveta Lobanova
3578ee9c3f
[GNA] Remove extra FQ layers from the final network (#10599)
* [GNA] Fuse all FakeQuantize layers with their previous layers

* [GNA] Fuse FQ with previous layer if it's not required for precision change

* [GNA] Fixed MatMulOverloadCorrectionTest
2022-03-31 13:21:27 +03:00
Sergey Shlyapnikov
79e3272237
[GPU] Update eltwise calc_output_layout function and prevent output layouts invalidation after adding reorders for weights (#11073) 2022-03-31 13:15:47 +03:00
Sergey Shlyapnikov
f2af1ef88a
[GPU] Update memory location to __local in GPU Detection Output (#11209)
* [GPU] Update memory location to __local in GPU Detection Output

* Replace hardcoded stack size with JIT constant
2022-03-31 13:13:58 +03:00
Egor Shulman
23476c8eee
CC for LPT transformation call in CPU plugin (#11341)
* Use CC in LPT

* Applied comment
2022-03-31 12:35:27 +03:00
Przemyslaw Wysocki
f45ca99de6
[PYTHON] Add ov::clone_function bindings (#11331)
* Add clone_function bindings

* Add clone_function binding tests

* Debugging changes

* Minor changes

* Code style

* Add an assert

* Update src/bindings/python/tests/test_ngraph/test_basic.py

* Update src/bindings/python/src/pyopenvino/graph/model.cpp

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com>
2022-03-31 12:14:51 +03:00
Alina Kladieva
7d0750fa2a
Add SKIP_IF_CURRENT_TEST_IS_DISABLED macros for needed cases (#11335) 2022-03-31 11:12:19 +03:00
Ilya Lavrenov
c795382b1f
Configurable OpenCL usage in BA (#11344) 2022-03-31 10:49:40 +03:00
Maxim Gordeev
fad66d8442
[IE Samples] New command line parameters format for speech sample (#11051)
* New command line parameters format for speech sample

* fixed notes

* changed format for scale factor

* changed format for scale factor in tests

* added more variants, when name is directy specified for i/o/r like it is done for sf

* removed nthreads flag

* fixed notes

* changed output params

* updated tests with new format

Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
2022-03-31 10:09:31 +03:00
Daria Mityagina
5c917cfaaa
[ICV][XLink] - port XLink changes from mdk (#10212)
-76384
Port changes from MDK
2022-03-31 09:50:26 +03:00
Sergey Shlyapnikov
24a74672f6
[GPU] Fix remote blobs tests (#11349) 2022-03-31 09:04:46 +03:00
Vladimir Paramuzov
f5f93cfbeb
[GPU] Strided slice primitive params update (#11339) 2022-03-31 08:54:05 +03:00
Ilya Churaev
3e58ccbce7
Fixed evaluate for ov::Tensor (#11354)
* Fixed evaluate for ov::Tensor

* Fixed old ops with EvaluationContext
2022-03-31 07:47:49 +03:00
Anton Pankratov
78285f9db4
Added ov::NotImplemented Exception (#11124)
* Added ov::NotImplemented Exception

* add ie namespace

* Try fix
2022-03-31 07:36:13 +03:00
Oleg Pipikin
88e20199f0
Fix query network for hetero plugin (#10556)
* Fix query network for hetero plugin

* Apply comments

* Fix1

* Add tests

* Apply comments 2

* Apply comments 3
2022-03-31 07:24:46 +03:00
Anastasia Kuporosova
d107cec39f
[Python API] Update names in Model class (#11348)
* [Python API] Update names in Model class

* fix code-style

* remove from_capsule in the new API
2022-03-31 00:33:57 +03:00
Anastasia Kuporosova
4c7050f6a9
[Python API] Improve configuration files (#10960)
* [Python API] Improve configuration files

* fix config files

* update setup.cfd + change quotes

* move all codestyle checks to py_checks job

* update requirements_test.txt

* fix  codestyle according to flake-docstring

* fix

* fix mypy

* apply comments
2022-03-30 20:26:36 +03:00
Oleg Pipikin
be6db5d69a
Fix for str_to_container if string value has whitespaces (#10224)
* Fix for str_to_container if string value has whitespaces

* Add test

* Add trim for leading and trailing whitespaces

* Apply comments

* Apply comments 2

* Apply comments 3
2022-03-30 19:48:29 +03:00
Alexey Lebedev
c8720f122d
[PYTHON API] lifetime test for CompiledModel and extension (#11120)
* Add test for lifitime and extensions

* Remove ExtendedModel
2022-03-30 19:43:07 +03:00
Mateusz Bencer
7a0d85a067
remove resize asserts (#11234) 2022-03-30 19:13:55 +03:00
Mikhail Nosov
a635150b9d
[IE Common] Enable explicit TBlob declaration in all compilers (#11183)
* Enable explicit TBlob declaration in all compilers

This fixes problems when linking gcc compiled IE with clang compiled
applications.

Previous to this change, only clang compilers would consider TBlob<T>
templated types as declared externally. When *declared* explictly (with
the `extern template` syntax), the C++ spec says
that any inline methods of the templated class (such as TBlob<T>
constructors) should be ignored in favor of the externally instantiated
version of that templated type:

    "An explicit instantiation declaration (an extern template) skips
    implicit instantiation step: the code that would otherwise cause an
    implicit instantiation instead uses the explicit instantiation
    definition provided elsewhere (resulting in link errors if no such
    instantiation exists)."

However, when IE is compiled with gcc, it does not see the explicit
`extern template` declarations of TBlob<T> (due to the `#ifdef
__clang__` guards in `ie_blob.h`). As an end result, presumably due to
link-time-optimizations during IE library compilation(?), none of the
TBlob<T> implementations are actually included in the IE dynamic
libraries.

* Fix warnings for windows

* Fix typo
2022-03-30 18:56:49 +03:00
Ilya Sharikov
1906c27c2d
Update mo_tool parameter for converter.py (#11319)
* Update mo_tool parameter for converter.py

* Hot fix
2022-03-30 18:32:53 +03:00
Egor Shulman
e507b630eb
Use CC in CPUSpecificTransform (#11231) 2022-03-30 18:26:35 +03:00
Gleb Kazantaev
8317493e65
Update Accuracy Check inside Func tests (#11314) 2022-03-30 17:44:03 +03:00
Alexey Lebedev
ee31b648d1
[docs] port from release branch (#11309)
* save work

* Add common snipp

* update ie pipeline with python snippets

* ov_common_snippet

* Python snippets for graph construction

* Fix docs

* Add missed old api snippets

* Fix names

* Fix markers

* Fix methods call
2022-03-30 17:03:29 +03:00
Sergey Shlyapnikov
5dc3da926c
[GPU] Add fusion through feature (#9674)
* [GPU] Add fuse through feature

* Apply review comments


Tasks marked as not passed:
* https://dev.azure.com/openvinoci/dldt/_build/results?buildId=313769&view=results
* https://dev.azure.com/openvinoci/dldt/_build/results?buildId=313766&view=results
2022-03-30 16:43:32 +03:00