Commit Graph

13507 Commits

Author SHA1 Message Date
Tomasz Jankowski
70a2736695
[core] Migrate Log operator to new API (#20917)
* Drop ngraph remains

* Use ov::Tensor

instaed of ngraph::HostTensor

* Remove useless code
2023-11-13 11:00:09 +00:00
Roman Kazantsev
7c595f8773
[TF FE] Refactor ops translators to check complex type and speed-up compilation (#21025)
* [TF FE] Refactor AddN translator

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

* Refactor ArgMin/ArgMax

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

* Add default check for binary operations

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

* Refactor Cast translator

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

* Refactor Const translator

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

* Refactor Einsum, Elu, and Fill operations

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

* Refactor MatMul translator

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

* Refactor Relu6 and Placeholder

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

* Refactor Round, Square, and unary operation translators

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

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

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

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-11-13 14:29:18 +04:00
Jan Iwaszkiewicz
6650b8750a
[PyOV] Support Tensor creation from empty numpy arrays (#20964) 2023-11-13 11:25:58 +01:00
Maksim Kutakov
fb3751717f
[Inference] Return state ptr by value (#21011)
* Return state ptr by value

* Fix mock class
2023-11-13 14:24:54 +04:00
Jan Iwaszkiewicz
212a9bc852
[PyOV] Support Constant creation from empty numpy arrays (#20967)
* [PyOV] Support Constant creation from empty numpy arrays

* Return 0 when shape is 0

* Add missing file...
2023-11-13 10:11:12 +00:00
Anastasiia Pnevskaia
5fa53aa715
Input and output order Keras tests. (#20902)
* Input/output order Keras tests.

* Added precommit mark.

* Added xfail.

* Small correction.

* Check input/outputs by names in FW.

* Moved output order tests to Python API group.

* Corrected comments.
2023-11-13 14:01:35 +04:00
Vitaliy Urusovskij
1a5b0b70f9
Remove castOps2Nodes and convert2OutputVector (#21015) 2023-11-13 13:29:53 +04:00
Pawel Raasz
c451a94572
Fix compile warning regarding ABI changes (#20990)
and using std::true_type/false_type
2023-11-13 07:44:54 +01:00
River Li
fef0df6ee1
[CPU] Add deprecation message to extension API (#20970) 2023-11-13 10:37:35 +04:00
Sergey Shlyapnikov
306137f86b
[GPU] Make ShapePredictor instance unique for each InferRequest instead of the cldnn::network (#21019) 2023-11-13 08:52:07 +04:00
Paul Youngsoo Ahn
51da30b48d
Support LSTMSequence with -1 sequence length (#20935)
* [GPU] Support LSTMSequence w/ -1 seq_length

Co-authored-by:Taylor Yeonbok Lee <taylor.lee@intel.com>
Co-authored-by:Andrew Park <andrew.park@intel.com>

* Fix GetInputInfo to retrieve input pid from LSTMCell

* LSTMCell use ov::PartialShape instead of cldnn::tensor
* implement lstm_elt_inst::calc_output_layouts
* implement lstm_elt_impl::static_canonicalize_shapes

* Add functional tests

* Fix unit test failure

---------

Co-authored-by: Andrew Park <andrew.park@intel.com>
2023-11-11 00:06:08 -08:00
Maxim Vafin
c08e01d6d7
[PT FE] Optimize reverseprop in pytorch frontend (#20989)
* [PT FE] Optimize reverseprop in pytorch frontend

* Add transformation

* Improve readability

---------

Co-authored-by: Alina Kladieva <alina.kladieva@intel.com>
2023-11-10 18:00:04 +01:00
Tatiana Savina
e446dac727
[DOCS] Add content to about ov page (#21010)
* add about ov info

* fix format

* fill ov page
2023-11-10 16:28:09 +01:00
Roman Kazantsev
b64d6be8ba
[TF FE] Fix TF1 OD SSD PPN model conversion (#20994)
* [TF FE] Fix TF1 SSD PPN model conversion

It contains a case when one Merge node eliminated different conditional flows.

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

* Add layer test

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

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-11-10 11:44:28 +00:00
Alina Kladieva
e8d28f7f6d
Make conformance wait for Smart CI step (#21014) 2023-11-10 12:10:36 +01:00
Pawel Raasz
641d3ab351
Migrate Constant operator to new API (#20760)
* Migrate Constant operator to new API
- refactor to reduce binary size

* Fix code style

* Fix build issues

* Apply corrections after review:
- Restore mem_size calculation for bit widths >= 8
- Remove element type helpers functions

* Use float cast for floating types except f64
2023-11-10 12:49:08 +04:00
Irina Efode
ebf1874eee
[GHA] Check OpImplCheck conformance for template plugin (to make sure that all functions are checked by conformance) (#20712)
* [CONFROMANCE] Fix Template OpImplCheck on Win

* Update windows.yml

* check win

* Update windows.yml

* remove extra changes
2023-11-10 12:39:58 +04:00
Ilya Lavrenov
d4dd169ca3
Added more smart CI conditions (#20999) 2023-11-09 23:40:26 +04:00
Alina Kladieva
51a17ba642
Workaround failing MO unit when Python API unit are skipped (#20997) 2023-11-09 18:07:57 +01:00
Tatiana Savina
8034d1795f
change structure (#20988) 2023-11-09 15:03:01 +01:00
Sungeun Kim
b1705e8bd3
[GPU] clean up for extend pad/stride/dilation (#20828)
* clean up for extend pad/stride/dilation
2023-11-09 20:48:34 +09:00
Sungeun Kim
9cc4c25e48
[GPU] print datashape of input for benchmark_app (#20943)
* print datashape of input for benchmark_app
2023-11-09 20:46:50 +09:00
Zhang Yi
09a45bceae
[CPU][MLAS]Apply lower bound protection for K stride (#20873) 2023-11-09 15:14:27 +04:00
Aleksandr Voron
3c88a9cf58
[CPU] [ARM] Enable MatMul SLT tests on ARM (#20923) 2023-11-09 15:12:22 +04:00
Alina Kladieva
fa22836cfb
Fix no match files change case (#20981) 2023-11-09 12:07:47 +01:00
Ilya Lavrenov
c851d643b3
Fixed smart CI (#20980) 2023-11-09 11:28:32 +01:00
Pawel Raasz
d6852598ce
Fix Ubuntu20 build error on relu operator (#20965) 2023-11-09 07:42:06 +00:00
Alina Kladieva
000966660c
Smart CI POC (#19825)
* Try using a custom action directly from repo

* Run smart CI under ubuntu-latest

* Set output + add a sample step

* Update linux.yml

* Add components.yml

* Add some conditions

* Just to check if reference to "needs" work in job context

* Update linux.yml

* More example cases

* Dummy change to CPU

* Fix typo

* Fix SAMPLES_AFFECTED variable

* Use more correct dependents key

* Fighting with messy GHA conditions

* No brackets and no double quotes in conditions

* Revert "Dummy change to CPU"

This reverts commit 4eae09e5b5.

* Use refactored action

* Move action implementation to openvino repo

* Extend components.yml config

* Update labeler.yml

* Dummy change to TF FE

* Fix indentation

* Add missing needs

* Add missing records

* Allow missing records for components in validation

* install_openvino_dependencies as a separate step for Python_Unit_Tests

* Improve config validation

* Revert "Dummy change to TF FE"

This reverts commit 01190864d1.

* Dummy change to model hub tests

* Update CPU component config

* Dummy change to Python API

* Dummy change to Python API

* Revert "Dummy change to Python API"

This reverts commit 3fce0bb3fb.

* Dummy change to Python API

* Simplify conditions. Cover "no components changed" case

* Update components.yml

* Update .gitignore

* Revert "Dummy change to Python API"

This reverts commit e57ea9852c.

* Fix dependencies scopes

* Add simple unit tests for smart ci functionality

* Revert "Dummy change to model hub tests"

This reverts commit c3d6837e22.

* Use ghapi module with permissive license

* Cover install_build_dependencies.sh script by labeler

* More labels

* Use ghapi. Apply review comments

* Enable dot files to be matched by labeler

* Warning instead of error in artifacts upload where smart ci is enabled

* Fix master merge

* Fix condition for TF FE common tests

* Fix condition for Pytorch FE tests

* Remove condition for pytorch model tests

* Allow any label as a component

* Refactor tests log handling

* Allow any defined label as a component

* Rearrange config structure. Fill the config with actual data

* Run full scope on changes to non-matching files

* Add missing conditions

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-11-09 11:38:58 +04:00
Tomasz Jankowski
6e073b1165
[core] Migrate SoftSign operator to new API (#20958)
* Align code style

* Use Evaluate in place of switch case

* Use std::transform in place of for loop
2023-11-09 11:10:37 +04:00
Oleg Pipikin
4bde741de4
Refactor StaticShapeLoopLayerTest (#20963) 2023-11-09 11:08:18 +04:00
Vitaliy Urusovskij
bcb38796ce
Ngraph helpers/builders cleaning (#20819)
* Delete `getNodeSharedPtr()`

* Remove `makeRoll` ng::builder

* Delete `makeSelect` ng::builder

* Delete `makeDepthToSpace` ng::builder

* Remove `CompareFunctions` and `getConstData` from ng::helpers

* Return `makeSelect` for compatibility with NPU

* Port `QuantizationGranularity`, `MemoryTransformation`

* Restore ng::helpers::QuantGranularity for BWD CMP
2023-11-09 10:51:00 +04:00
Vladimir Paramuzov
8f406067d1
[GPU] Remove binary convolution primitive and all related code (#20889) 2023-11-09 09:54:46 +04:00
Mingyu Kim
319a6584a2
[GPU] Decompose test combination to reduce test time (#20968) 2023-11-09 13:10:08 +09:00
Sergey Lyalin
854158612f
Scaled dot product attention (#20492)
* Added experimental ScaledDotProductAttention operation in opset12. Supported in PT FE for aten::scaled_dot_product_attention translation. Decomposed in the common optimizations as functional reference.

* Better ScaledDotProductAttention

- Moved decomposition to the decomposing transformation
- Implemented more ctors for the op
- Renamed is_causal to causal
- Shape/type inference native code instead of using decomposition
- Moved the op from opset12 to opset13
- Added Python wrapper for ScaledDotProductAttention

* Fix test that counts ops in the opsets

* Update src/core/src/op/scaled_dot_product_attention.cpp

Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>

* Update src/core/src/op/scaled_dot_product_attention.cpp

Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>

* Move ScaledDotProductAttentionDecomposition from fusions to decompositions.

* Remove not used legacy shape inference in ScaledDotProductAttention

* Better namespace usage

* Register all nodes in ScaledDotProductDecomposition for correct tracking of nodes and running next mather passes on all new nodes.

* Don't use register_new_node_

* ScaledDotProductAttention specification (with an extra scale argument)

* Code style fix

* Scale input implementation for ScaledDotProductAttention

* Handle attention_mask=0 case in the op spec

* Better description of scale input

* N->M in scale description

* Code style fix, remove debug print.

* Apply suggestions from code review

Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
Co-authored-by: Mateusz Mikolajczyk <mateusz.mikolajczyk@intel.com>

* Fix for case when is_causal is not passed

* Extended description of ScaledDotProduct op

* Better description in py op wrapper

* Basic shape propagation tests for ScaledDotProductAttention

* Added ScaledDotProductAttention to toc.

* Add op impl check

---------

Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
Co-authored-by: Mateusz Mikolajczyk <mateusz.mikolajczyk@intel.com>
2023-11-08 20:17:13 +01:00
Alina Kladieva
f627172e5a
Add separate label for docs snippets (#20966) 2023-11-08 22:19:35 +04:00
Andrey Kashchikhin
24cd7283e3
make cache space showing optional (#20962) 2023-11-08 17:28:08 +00:00
Mikhail Ryzhov
9616c8f510
corrected timeouts (#20954) 2023-11-08 17:45:53 +01:00
Vladislav Golubev
c2d09b9a15
FuseU4WeightsAndZeroPoint tests: avoid std::vector<std::int8_t> usage (#20918) 2023-11-08 19:54:23 +04:00
Sofya Balandina
25d94bd98b
[conformance] Skip empty test cache error (#20924) 2023-11-08 15:50:49 +00:00
Ilya Lavrenov
68e6484ecb
Fixed version detection without git (#20951) 2023-11-08 14:30:15 +01:00
Maciej Smyk
fdaa4b5d03
[DOCS] Small fixes in articles for master (#20947)
* Fixes

* Update deployment_intro.md

* Update docs/articles_en/openvino_workflow/deployment_intro.md

Co-authored-by: Sebastian Golebiewski <sebastianx.golebiewski@intel.com>

---------

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
Co-authored-by: Sebastian Golebiewski <sebastianx.golebiewski@intel.com>
2023-11-08 13:40:52 +01:00
Oleksii Khovan
d07f272054
[GPU] Fix cum_sum_partial_sum implementation for dimensions >= BLOCK_SIZE (#20855)
- fix cum_sum_partial_sum kernel;
- add unit test and func test for big shapes;
- add test to compare Partial vs Ref performance;
- change kernels' priorities according to performance measurements;
- move common profiling helpers to test_utils.

Ticket: CVS-123590
2023-11-08 11:26:51 +00:00
Oleg Pipikin
588e96bc37
Refactor MemoryLayerTest (#20914)
* Refactor MemoryLayerTest

* Apply comments
2023-11-08 14:43:53 +04:00
Oleg Pipikin
ace986cac0
Refactor GenerateProposalsLayerTest, GridSampleLayerTest (#20772)
* Refactor GenerateProposalsLayerTest

* Refactor GridSampleLayerTest

* Fix

* Apply comments

* Apply comments
2023-11-08 14:06:28 +04:00
Pawel Raasz
b8eea7bf84
[core]Migrate Multiply operator to new API (#20853)
* Migrate Multiply operator to new API

* Add comment explain use of custom multiply

* Update custom multiply comment

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

---------

Co-authored-by: Tomasz Jankowski <tomasz1.jankowski@intel.com>
2023-11-08 13:53:20 +04:00
Pawel Raasz
6210deba49
[core]Migrate FakeQuantize operator to new API (#20895)
* Migrate FakeQuantize operator to new API

* Minor refactor in FakeQuantize reference
re-use existing functions in `get_inner_stride`
2023-11-08 13:52:21 +04:00
Andrei Gorbachev
87cef53088
[GPU] Refactor (#20938)
* maxmin

* mvn

* normalize_l2 and fix mvn

* prior_box_clustered

* prior_box

* pad

* roi_align

* scatter_update

* select

* shape_of

* shuffle_channels

* space_to_batch

* space_to_depth

* split

* squeeze_unsqueeze

* tile

* transpose

* variadic_split

* scatter_nd_update
2023-11-08 13:42:44 +04:00
Liu
9e7243d67c
fix typo (#20906)
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-11-08 13:10:11 +04:00
Ilya Lavrenov
d6cc3d7058
Disable warnings about API 1.0 in GNA, Python API 1.0 (#20933) 2023-11-08 12:45:22 +04:00
Alexander Kozlov
0f260c2ccd
[DOC]: Added INT4 weight compression description (#20812)
* Added INT4 information into weight compression doc

* Added GPTQ info. Fixed comments

* Fixed list

* Fixed issues. Updated Gen.AI doc

* Applied comments

* Added additional infor about GPTQ support

* Fixed typos

* Update docs/articles_en/openvino_workflow/gen_ai.md

Co-authored-by: Nico Galoppo <nico.galoppo@intel.com>

* Update docs/articles_en/openvino_workflow/gen_ai.md

Co-authored-by: Nico Galoppo <nico.galoppo@intel.com>

* Update docs/optimization_guide/nncf/code/weight_compression_openvino.py

Co-authored-by: Nico Galoppo <nico.galoppo@intel.com>

* Applied changes

* Update docs/articles_en/openvino_workflow/gen_ai.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/articles_en/openvino_workflow/gen_ai.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/articles_en/openvino_workflow/gen_ai.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/articles_en/openvino_workflow/model_optimization_guide/weight_compression.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/articles_en/openvino_workflow/model_optimization_guide/weight_compression.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/articles_en/openvino_workflow/model_optimization_guide/weight_compression.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/articles_en/openvino_workflow/model_optimization_guide/weight_compression.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/articles_en/openvino_workflow/model_optimization_guide/weight_compression.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Added table with results

* One more comment

---------

Co-authored-by: Nico Galoppo <nico.galoppo@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2023-11-08 10:17:57 +04:00