Commit Graph

13136 Commits

Author SHA1 Message Date
Roman Kazantsev
494a9cf9a9
[TF FE] Refine tests for complex tensors support (#20905)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-11-07 10:29:45 +04:00
Tomasz Jankowski
5cd9659033
[core] Migrate HSwish operator to new API (#20854)
* Drop ngraph remains

* Use ov::Tensor

instaed of ngraph::HostTensor
2023-11-06 20:56:52 +01:00
Anastasiia Pnevskaia
64c21fd6f9
[MO] Fixed MO fallback unit test. (#20868)
* Fixed MO unit test to import paddle conditionally.

* Replace generate with pytest.mark.parametrize.
2023-11-06 22:13:53 +04:00
Karol Blaszczak
3036a3d249
[DOCS] improving the "conversion" section v2 (#20887)
adjustments to conversion and workflow
2023-11-06 18:17:44 +01:00
Roman Kazantsev
d0eb27bd3b
[TF FE] Support Complex Tensors (#20860)
* [TF FE] Support complex tensors

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

* Align output type for Real and Imag operations

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

* Update decoding complex types

* Add support for ComplexAbs, FFT and IFFT operations

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

* Correct axes based on a number of inner-most dimensions

* Add layer tests

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

* Update supported ops documentation

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

* Add a comment for ComplexTypeMark

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

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-11-06 16:57:05 +04:00
Pawel Raasz
1083b3b58c
[core]Migrate Erf operator to new API (#20867)
* Migrate Erf operator to new API

* Remove `visit_attributes`  is same as base class

* Optimize reference implementation for size
2023-11-06 13:46:03 +01:00
Mikhail Ryzhov
28279013af
aligned lin build timeouts (#20885) 2023-11-06 14:07:24 +04:00
Sebastian Golebiewski
a554611644
Updating notebooks (#20865) 2023-11-06 10:08:58 +01:00
Pawel Raasz
7d74dac3ee
[core]Migrate GridSample operator to new API (#20852)
* MIgrate GridSample to new API

* Refactor GridSample to reduce binary size
- use function pointer instead std::function (simpler less code size)
- use RoundingGuard instead manual set/restore rounding mode
- move interpolate selection outside main data processing loop
2023-11-06 06:31:02 +01:00
Pawel Raasz
ae343a0178
[core]Migrate FloorMod operator to new API (#20829)
* Migrate FloorMod operator to new API

* Remove `visit_attributes` is same as base class

* Restore FloorMod calculation for signed values
floating-point and integral
2023-11-06 06:26:47 +01:00
Vitaliy Urusovskij
47cdbb9df5
Template plugin folder to API2.0 (#20862)
* Remove unused IE namespace from template plugin

* Remove unused `ngraph::HostTensor`

* Template `ConvolutionLayerTest` to API2.0

* Template `ReshapeLayerTest` to API2.0

* Template `SplitLayerTest` to API2.0

* Remove extra `InferenceEngine::PluginConfigParams`

* CLangFormat
2023-11-04 12:36:16 +04:00
Andrey Kashchikhin
fda1fd9dc1
[CI] [GHA] Add missing setup-python action checkout; use custom action across all pipelines (#20863)
* use unified setup-python actions across all pipelines

* rm triggers
2023-11-04 11:58:01 +04:00
Anastasiia Pnevskaia
cc389c23ca
Removed logic of building example_input by shape. (#20859) 2023-11-03 20:45:34 +04:00
Alina Kladieva
86c638a595
Temporarily restrict flake8_builtins version (#20864) 2023-11-03 16:59:47 +01:00
Tomasz Jankowski
09010657e2
[core] Migrate Gelu operator to new API (#20833)
* Drop HostTensor

* Remove useless overwrite method
2023-11-03 12:16:51 +00:00
Sergey Lyalin
1960536e8e
Fix GPTQ model conversion after two breaking changes (#20823)
* Fix GPTQ model conversion after two breaking changes

* Code style fix

* Remove redundant check
2023-11-03 13:47:51 +04:00
Tomasz Jankowski
3386b85c08
[core] Migrate Divide operator to new API (#20766)
* Use ov:: namespace

* Drop HostTensor

* Use ov::util::make_tensor_of_max_value

instead of ngraph::get_constant_max_of_type

* Use ov::util::make_tensor_of_min_value instead of

ngraph::get_constant_min_of_type

* Refactor get_constant_min_of_type
2023-11-03 10:35:43 +01:00
Anatoliy Talamanov
f890bf7930
Extend throughput benchmark with device CLI parameter (#20816)
* Extend throughput benchmark CLI parameters

* Added device name as the second CLI parameter with default CPU value

* Update samples/cpp/benchmark/throughput_benchmark/main.cpp

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>

* Fix comments to review

* Modified python version
* Modified documentation

* Fix comments to review

* Fixed the comment
* Modified python doc
* Fixed device name handling in python version

* Update main.cpp

* Update throughput_benchmark.py

---------

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>
2023-11-03 09:57:04 +01:00
Anatoliy Talamanov
c20d52dc4f
Extend sync benchmark CLI parameters (#20844) 2023-11-03 09:51:22 +01:00
Tomasz Jankowski
0effa37811
[core] Migrate HSigmoid operator to new API (#20836)
* Drop ngraph remains

* Use ov::Tensor

instaed of ngraph::HostTensor
2023-11-03 09:10:32 +01:00
Vitaliy Urusovskij
0955faef93
Remove use of convertOps2Nodes() & convert2OutVect() (#20837) 2023-11-03 11:00:33 +04:00
Vitaliy Urusovskij
caa81a0b3c
Remove use of legacy ng/runtime/shared_buffer.hpp (#20840) 2023-11-03 09:09:49 +04:00
Andrei Gorbachev
ff7b49c14d
add a few tests (#20824) 2023-11-02 16:40:47 +00:00
Pawel Raasz
8e4c4c3510
[core]Drop host tensor support in TensorAccessor (#20831)
* Remove functions`get_tensor_data_as for HostTensor

* Remove HostTensor support in TA

* Update doxy comments

Co-authored-by: Tomasz Jankowski <tomasz1.jankowski@intel.com>

---------

Co-authored-by: Tomasz Jankowski <tomasz1.jankowski@intel.com>
2023-11-02 16:15:52 +00:00
Aleksandr Voron
e8f21eefae
[CPU] Add FP16 support to MatrixNms (#20804) 2023-11-02 14:40:32 +00:00
Anastasiia Pnevskaia
3f5f923a70
[DOC] Update list of TF formats imported from memory. (#20834)
* Update list of TF formats.

* Minor correction.

* Added comment.

* Update docs/articles_en/openvino_workflow/model_preparation/Convert_Model_From_TensorFlow.md

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

* Model changed.

* Update docs/articles_en/openvino_workflow/model_preparation/Convert_Model_From_TensorFlow.md

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

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-11-02 17:31:08 +04:00
Pawel Raasz
f8cd53bb77
[core]Migrate Floor operator to new API (#20830)
* Migrate Floor operator to new API

* Remove `visit_attributes` is same as base class
2023-11-02 12:35:05 +00:00
Anastasiia Pnevskaia
4e70b3b33b
Remove WA with double loading of FE. (#20794) 2023-11-02 12:57:24 +04:00
Roman Kazantsev
4a6e6e64c5
[TF FE] Fix conversion of FILM of keras.Model format (#20825)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-11-02 12:46:57 +04:00
Gorokhov Dmitriy
3ff85ae70a
[CPU] Fixed port mismatch in Eltwise fusion graph optimization (#20782) 2023-11-02 11:33:37 +04:00
Vladimir Paramuzov
2afb64b9ea
[GPU] Refactor KV cache test (#20802) 2023-11-02 09:54:19 +04:00
Zhang Yi
88c3171742
[CPU] Fix avx2 gather of bfloat16 (#20683) 2023-11-02 09:46:03 +04:00
Andrey Kashchikhin
eea49f3c9e
[CI] [GHA] Remove full cloning of the OV repository in the Python unittests job in the Win and Mac workflows (#20810)
* rm full cloning of the OV repo in win and mac workflows

* skip tests on mac

* increase timeout for win C++ tests; skip more mac tests

* rm triggers
2023-11-01 22:20:22 +04:00
Mateusz Tabaka
4084e9acc0
Handle Reshape's special zero in SimplifySecondInputOfReshape (#20785)
* Handle Reshape's special zero in SimplifySecondInputOfReshape

SimplifySecondInputOfReshape detects ShapeOf->Gather->Concat
subgraphs on Reshape's second input and replaces ShapeOf->Gather
with a Constant with zero(s). Currently it works only with Reshapes
that have special_zero set to true, but it can work for Reshapes
with special_zero == false if non-Gather inputs to Concat are Constants
and don't contain any zero.

Ticket: CVS-123434

* fix no default output
2023-11-01 18:02:36 +04:00
Nikolay Shchegolev
e6ff5edc3d
[CPU] Empty tensor used with a custom op leads to CPU plugin exception. (#19733) 2023-11-01 15:42:25 +04:00
Andrey Kashchikhin
03f23ae57a
[CI] [GHA] Fix openvino.test_utils imports for Mac and Win Python unittests (#20786)
* add platform-agnostic setup python action

* use specific version

* rm debug message, checkout action

* correct path

* add checkout of the action, correct paths

* correct path; enclose into brackets

* transfer linux pipelines to local setup-python action

* transfer pipelines

* use newer version

* account for fedora, add missing cache path

* correct name

* use 3.9 for fedora

* rm python install from fedora

* mv fetch and setup together, set pip_cache_dir

* correct order

* rm triggers

* add missing pythonpaths

* correct path

* add one more pythonpath

* add paths to ov package libs

* Revert "add paths to ov package libs"

This reverts commit a775881f3e.
2023-11-01 12:07:40 +04:00
Surya Siddharth Pemmaraju
bb0e4f8ecf
Fixed issue with cat in fx backend (#20744)
* Added fix for cat in torchfx

* Added batch_norm_legit_no_training op

* Fixed coding style

* Fixed clang format

* Addressed PR comments
2023-11-01 08:36:19 +01:00
Roman Kazantsev
26c9c41b8e
Revert "[TF FE] Switch off TF1 While support totally (#20774)" (#20800)
This reverts commit 38b6092120.
2023-10-31 22:53:35 +04:00
Andrey Kashchikhin
703e911321
[CI] [GHA] Increase job timeouts (#20797)
* increase job timouts

* increase further
2023-10-31 16:46:52 +00:00
Irina Efode
dd10a520e3
[DO NOT REVIEW OR MERGE] LLM in SubgraphsDumper (#20756) 2023-10-31 16:57:41 +01:00
Sofya Balandina
65f6950f56
[apiConformance][TEMPLATE] Add too get_profiling_info info about ops (#20697) 2023-10-31 16:14:36 +01:00
Irina Efode
8eee1b52ed
[IE TESTS] ImportExport reporting + extension of base class (#20765)
* [IE TESTS] ImportExport reporting + extension of base class

* reuse dynamic check
2023-10-31 19:00:36 +04:00
Roman Kazantsev
8d6f56dd12
[TF FE] Fix translators for multiple output operations (#20787)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-10-31 13:22:09 +00:00
Mateusz Tabaka
48c9598892
Handle Reshape in SplitSqueezeConcatFusion (#20345)
* Handle Reshape in SplitSqueezeConcatFusion

Ticket: CVS-122455

* move check for squeeze/reshape

* add some comments

* review comments

* add use_shapes flag to SplitSqueezeConcatFusion
2023-10-31 17:05:21 +04:00
Nikolay Shchegolev
57571d36e6
[CPU] NMSRotated operation implementation. (#20410) 2023-10-31 12:10:52 +00:00
Pawel Raasz
3077bad26f
[core]Migrate Sigmoid operator to new API (#20780)
* Migrate Sigmoid operator to new API

* Add missing include
2023-10-31 12:11:29 +01:00
Vladislav Golubev
2932e9e938
ReshapeBMatMul and ReshapeAMatMul: avoid circular dependencies creation (#20771) 2023-10-31 15:00:52 +04:00
Ilya Lavrenov
da1f0199a0
Removed WA for static protobuf for vcpkg installation path (#20784) 2023-10-31 14:55:28 +04:00
Roman Kazantsev
a20c9a5a22
[TF FE] Update TF FE dev docs with Inv (#20788)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-10-31 14:45:54 +04:00
Kelvin Choi
bb28b71849
[GPU] if the reorder which is an user of reshpae has truncation mode, it should not split the reorder node (#20749) 2023-10-31 19:21:56 +09:00