Commit Graph

12545 Commits

Author SHA1 Message Date
Ekaterina Aidova 8d59fcd34f
[PT FE]: extend logical operations support (#19981)
* [PT FE]: extend logical operations support

* tests

* more tests
2023-09-22 10:11:36 +04:00
Egor Duplenskii 3f3d89678e
[CPU][ARM] Reorder FullyConnected weights in scope of compile_model (#19634) 2023-09-22 09:33:33 +04:00
Egor Duplenskii 6de8579b1d
[CPU][ARM] Choose eltwise layout based on model type (#19234)
Eltwise order of the supported primitive descriptors affects the
performance of the model.
Often only one of the port descriptors matches with the layout
of the parent descriptors, i.e. when two parent ports have mixed
layout "nchw nhwc".
So either nchw or nhwc layout will be used for the eltwise node
and reorder will be used for either of the ports.
The shape of the ports also can be different (when one of the inputs is
broadcasted). So reorders on different ports have different
performance impact.
The layout of the eltwise node child has an effect on the performance
as well, since it may or may not require reorder on input.
2023-09-22 09:33:16 +04:00
Egor Duplenskii aec4c6c843
[CPU][ARM][FP16] Use Transpose executor for layout Reorder (#19227) 2023-09-22 09:32:12 +04:00
Ekaterina Aidova fde054e4a6
[PT FE]: support aten::minimum aten::maximum (#19996) 2023-09-22 09:30:57 +04:00
Taylor Yeonbok Lee f1b8abe55a
[GPU] Optimization for gemm & fc in iGPU. (#19780)
* Optimization for gemm & fc in iGPU.
FC: fake alignment for 16 is better in iGPU.
Gemm: permute + gemm_tiled_opt is better than transposed_input + gemm_ref kernel for unaligned shapes to 16. Note that this is an temporal optimization and will be removed once the final solution (i.e., support unaligned transposed input shape in gemm_tiled_opt kernel) is availalbe.

* Fix unittest

* Fix for model_cache

* Fix unittest
2023-09-21 22:07:53 -07:00
Pavel Esir efe54362fd
fix f16/f32 el type mismatch for shape subgraphs: Parameter type should not be fused for precision sensitive nodes (#19959)
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-09-22 02:06:39 +04:00
Georgy Krivoruchko 10c3b60aac
Updated model_creation_sample.py (#19989)
Removed usage of ngraph in the sample
2023-09-22 02:05:24 +04:00
Maxim Vafin 058b45e608
[PT FE] Fix aten::repeat regression (#19991)
* Revert "[PT FE] Simplify repeat operation (#19926)"

This reverts commit f926e0e392.

* Fix aten::repeats regression

* Simplify

* Update src/frontends/pytorch/src/op_table.cpp

* Add impacted model
2023-09-21 23:58:09 +02:00
Oleg Pipikin b1bf16c7cf
Refactor ConversionLayerTest, ConcatLayerTest, ConstantLayerTest, ConvertColorI420LayerTest, ConvertColorNV12LayerTest (#19777)
* Refactor ConversionLayerTest

* Refactor ConcatLayerTest

* Refactor ConstantLayerTest

* Refactor ConvertColorI420LayerTest

* Refactor ConvertColorNV12LayerTest
2023-09-21 22:56:14 +02:00
Zlobin Vladimir e068cfc5a3
benchmark: drop python3.7 (#19972)
Ticket 118797
2023-09-21 22:03:09 +04:00
Vladislav Golubev 0e0e1b0ee6
SmartReshape: ReshapeMatMul transformations are fixed (#19987)
* SmartReshape: ReshapeMatMul transformations are fixed

* clang-format fixes
2023-09-21 19:49:07 +02:00
Maxim Vafin d0ef28e541
Reverse infer deduce second Squeeze input (#19923)
* Reverse infer deduce second Squeeze input

* Fix build

* Fix tf tests

* Small optimization

* Fix type

* Fix tests
2023-09-21 17:37:33 +02:00
Maxim Vafin 02f5b7a7e3
[PT FE] Add huggingface hub tests (#19858)
* [PT FE] Add huggingface hub tests

* Update requirements.txt

* natten can't be installed

* Remove librosa

* Add xfail and skip marks

* Remove t5

* Free up space

* Apply suggestions from code review

* Report free space

* Clean pip cache

* Temporarily disable det2 models

* More du info

* Remove tmp info

* More du stats

* Fix du report

* Optimize du

* Ignore error

* Finalize changes

* Update tests/model_hub_tests/torch_tests/test_transformers.py
2023-09-21 17:30:17 +02:00
Vitaliy Urusovskij b00fbd04c5
Fix `StressMemLeaksTests` with several models (#19986)
* Fix `StressMemLeaksTests` with several models

* Fix OMZ branch name in `get_testdata.py`
2023-09-21 15:59:18 +02:00
Maxim Vafin 37d54bcb42
[PT FE] Support prim::TupleIndex operation (#19978)
* [PT FE] Support prim::TupleIndex

* Update src/frontends/pytorch/src/op/tuple_index.cpp

* Update src/frontends/pytorch/src/op/tuple_index.cpp
2023-09-21 15:57:42 +02:00
Maciej Smyk f790a3b4f2
[DOCS] Python 3.7 support removal from docs for master (#19670)
* Python update

* update

* fix

* m suffix removal
2023-09-21 15:54:10 +02:00
Vitaliy Urusovskij 318106d17d
`StridedSliceLayerTest` and `SqueezeUnsqueezeLayerTest` to API2.0 (#19955)
* `StridedSliceLayerTest` to API2.0

* `SqueezeUnsqueezeLayerTest` to API2.0

* Fix CppLint
2023-09-21 15:08:51 +02:00
Tomasz Jankowski c4adf80ec6
[Core] Move SlicePlan to Dev API (#19971)
* Move SlicePlan to Dev API

* Recover legacy API

---------

Co-authored-by: Evgenya Nugmanova <evgeniia.nugmanova@intel.com>
2023-09-21 14:41:01 +02:00
Vitaliy Urusovskij e5acf880ad
`Slice8`, `ShuffleChannels`, `ShapeOf` layer tests to API2.0 (#19975)
* `Slice8LayerTest` to API2.0

* `ShuffleChannelsLayerTest` to API2.0

* `ShapeOfLayerTest` to API2.0
2023-09-21 14:36:26 +02:00
Vitaliy Urusovskij fc9dedfd6a
`Split`, `SpaceToDepth`, `SpaceToBatch` layer tests to API2.0 (#19973)
* `SplitLayerTest` to API2.0

* `SpaceToDepthLayerTest` to API2.0

* `SpaceToBatchLayerTest` to API2.0
2023-09-21 12:29:30 +00:00
Ilya Churaev e277d48535
Move unsqueeze evaluate to new API (#19948)
* Move unsqueeze evaluate to new API

* Add new header

* Fixed comments

* Fixed build

* Revert redundant changes

* Fixed comments
2023-09-21 16:07:10 +04:00
Vitaliy Urusovskij 2489356121
Skip failed `TensorIteratorTest` and `CTCGreedy*` CPU f16 tests on Mac (#19969)
* Skip failed `TensorIteratorTest` CPU f16 tests

* Skip `CTCGreedyDecoder` on MacOS CPU ARM f16
2023-09-21 15:44:37 +04:00
Siddhant Chauhan d6d4e3deeb
Align openvino.compile_model and openvino.Core.compile_model functions (#19778)
Co-Authored-By: Anastasia Kuporosova <anastasia.kuporosova@intel.com>
2023-09-21 11:15:30 +00:00
Nesterov Alexander 194b9f5c38
[ARM CPU] Migration Arm Compute Library to 23.08 version (#19523) 2023-09-21 14:30:38 +04:00
Pawel Raasz 5bf5e488b7
Migrate LogicalXor to new API (#19913) 2023-09-21 12:09:49 +02:00
Pavel Durandin d90667c190
[GPU] Coverity fix (#19968) 2023-09-21 12:35:57 +04:00
Katarzyna Mitrus 7204b0b78d
[Spec][Opset13] NMSRotated-13 specification (#19574)
* Init rotated non max suppresion spec

* Add opset13 docs

* Apply minor refactor from review

* Update boxes definition

* Update example format from cpp to xml

* Add version in op list

* Add clockwise attr to the example

* Align indent

* Remove redundant input from example

* Add steps of iou_rotated

* Add default values for attributes

* Drop box encoding attribute

* Rephrase nput description

* Applay grammatical suggestions
2023-09-21 09:22:22 +02:00
Wilson Seok c5843cf5d6
[GPU] use input memory buffer as output memory when input1/2 are empty (#19786)
* use input memory buffer as output memeory when input1/2 are empty

* fix wrong rebase

* add func test

* implement in on_execute()

* remove deleted function definitioin

* remove unused header files

* fix include error

* update condition of empty input check
2023-09-20 22:59:11 -07:00
Luwei Zhou 9dcd66c695
[CPU] Unify oc block to optimize peak memory. (#19575) 2023-09-21 09:54:55 +04:00
Roman Lyamin a800d3e4f4
[GPU] Update weights reorder output shape for fully_connected (#19925) 2023-09-21 09:26:42 +04:00
Wanglei Shen 1786e366a2
Support new format for CPU information on Win7 (#19759) 2023-09-21 09:17:47 +04:00
Ilya Churaev 4a0e3fc77f
Remove ngraph from some sources (#19966) 2023-09-21 06:27:30 +04:00
Oleg Pipikin 69e9124eb7
Refactor ConvolutionBackpropDataLayerTest, ConvolutionLayerTest, DeformableConvolutionLayerTest (#19810)
* Refactor ConvolutionBackpropDataLayerTest

* Refactor ConvolutionLayerTest

* Refactor DeformableConvolutionLayerTest

* Apply comments

* Apply comments

* Fix
2023-09-21 00:50:52 +04:00
Evgenya Nugmanova c1a8380052
Symbolic shape inference and graph optimizations (#19392)
* Symbolic shape inference and graph optimizations
- Prepares a place in CommonOptimizations pipeline for symbolic optimizations
- Introduces symbolic propagation and symbolic optimizations for ChainedMaximum, NopBroadcast and shape sub-graph optimization
- Introduces utility runtime info for TableOfEquivalence passing and disabling of value invalidation during shape inference

* Executes NgramFusion in a symbolic environment. Relaxes Ngram fusion pattern utilizing symbolic knowledge

* Remove debug model visualization

* rt_info copying to new Add operation

* Fix visualization and place validation in nicer place in symbolic transformation

* Fix Slice operation not to propagate labels if input and output dimension is fully dynamic

* Covering Vladislav comments

* Replace value invalidation followed by validation to revalidation since it does the same thing

* Adding back invalidation of cached values to Symbolic Propagation pass

* Fix StridedSlice label propagation. Code style

* Update src/common/transformations/tests/symbolic_transformations/nop_broadcast.cpp
2023-09-20 18:00:07 +04:00
Aleksandr Voron 8558476047
[CPU] [ARM] Enable SoftMax SLT tests on ARM (#19823) 2023-09-20 17:57:34 +04:00
Fang Xu 228ea44743
[CPU] Use omp section instead of task in UpdateNodes logic (#19831) 2023-09-20 17:47:48 +04:00
Ilya Lavrenov f53d880b2c
Updated dependabot config for GHA updates (#19970) 2023-09-20 13:52:05 +04:00
Ilya Lavrenov 604aed1384
Updated Windows build docs (#17631) 2023-09-20 12:24:40 +04:00
Ekaterina Aidova 2c88fbf798
[PT FE]: support mixed precision in aten::min/max (#19936)
* [PT FE]: support mixed precision in aten::min/max

* fix eltwise dtype alignment for float16
2023-09-20 11:26:18 +04:00
Ilya Lavrenov c67c0663fc
Use target python packages (#19928) 2023-09-20 11:16:15 +04:00
Zhang Yi 7fe195a459
[Doc]Update cmake option for MLAS (#19963)
* [Doc]Update cmake option for MLAS

* Update docs/dev/cmake_options_for_custom_compilation.md

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-09-20 10:35:22 +04:00
dependabot[bot] a558ebd4bc
Bump actions/checkout from 3 to 4 (#19964)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-20 10:31:34 +04:00
dependabot[bot] 5d8687ae30
Bump SimenB/github-actions-cpu-cores from 1 to 2 (#19965)
Bumps [SimenB/github-actions-cpu-cores](https://github.com/simenb/github-actions-cpu-cores) from 1 to 2.
- [Release notes](https://github.com/simenb/github-actions-cpu-cores/releases)
- [Commits](https://github.com/simenb/github-actions-cpu-cores/compare/v1...v2)

---
updated-dependencies:
- dependency-name: SimenB/github-actions-cpu-cores
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-20 10:31:01 +04:00
Sofya Balandina 0f18d2a0ea
[template] Add device ro props and fix compile_model props test (#19886) 2023-09-20 06:05:01 +04:00
Andrew Kwangwoong Park 394e58fafb
[GPU] Fix canonicalization for fused dep's shape (#19667)
* [GPU] Fix canonicalization for fused dep's shape

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Update TC to reproducible on the latest master

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Fix custom canonicalize shapes for Gather

---------

Signed-off-by: Andrew Park <andrew.park@intel.com>
2023-09-19 16:57:10 -07:00
Ilya Churaev 631d6d3980
Fixed leftovers after migration to new API (#19941)
* Fixed leftovers after migration to new API

* Fixed tests

* Fixed clang format

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-09-20 01:36:44 +02:00
Anastasia Kuporosova b3ee79520f
[PyOV][Docs] Add docs for if-op (#19899)
* [PyOV][Docs] Add docs for if-op

* code style

* add rtypes

* add dots
2023-09-19 21:35:38 +00:00
Ilya Churaev 52e57e1777
Disable clang-format for legacy C API (#19944) 2023-09-19 22:26:57 +04:00
Evgenya Nugmanova 00bc4436a9
Allow avoiding Constant casting / printing VisualizeTree (#19845)
* Avoid Constant casting / printing when OV_VISUALIZE_TREE_CONST_MAX_ELEMENTS==0
Cast only requested amount of elements in Constant::cast_vector<>

* Refactor

* Revert style back

* Fix signed/unsigned comparison

* test

* Style

* Style
2023-09-19 20:13:19 +02:00