Commit Graph

12204 Commits

Author SHA1 Message Date
Nikolay Shchegolev
98e88bee52
[CPU] Support Pad-12. (#18407) 2023-07-12 16:59:07 +04:00
Katarzyna Mitrus
4c948ab6f8
[Transformations][ONNX FE][GroupNormalization-12] Decomposition transformation and ONNX FE update (#18416)
* Use GroupNormalization in ONNX FE

* Add and enable decomposition transformation

* Add NodeRegistry

* Adjust eps type

* Use Unsqueeze for bias and scale adjustment

* Add transformation tests

* Add Squeeze for bias and scale to ONNX FE

* Simplify get_range helper

* Add cast double to float eps helper

* Adjust reduction axes

* Style alignment

* Add float eps values in tests

* Enable accuracy comparator in transformation tests

* Skip F16 ref test

* Namespace adjustment

* Const ref for shape vec

* Remove nested scopes from transform tests

* Rename function to model in tests

* Add more const to variables

* Use common input shapes and elem type in transform tests

* Add ticket number to the test

* Update tests headers and names

* Use compatible ror rank check

* Use move to insert splits in new shape

* Add docs to cast_eps helper

* Additional test for eps

* Use versions instead of opset

* Include each op separately
2023-07-12 14:37:03 +02:00
Xiuchuan Zhai
5630d3a8b2
enable 1-D axis in cumsum (#17650)
* enable 1-D axis in cumsum

* fix according to comments; add testcases
2023-07-12 11:54:00 +00:00
Ryszard Jezierski
7bdaedf4f8
[GNA] Pre/post-processing optimizations using AVX2 (#18065)
* Added AVX2 optimizations for score preprocessing

* Revert special scaling case for scale factor 1.0f

* changed dimension variables to size_t, fixed warnings

* fixed bug with exporting scores

* Used templates in conversion functions

* Refactor after review

* Linux build fixes

* Review fixes

* Review fixes
2023-07-12 12:16:57 +01:00
bstankix
0e1d006144
[DOCS] Add newsletter popup (#18506)
* Add newsletter modal

* Add icons to message box

* Add debug info
2023-07-12 12:44:20 +02:00
Nadezhda Ageeva
3330cd69a7
[GPU] Introduce ov::config_device_id internal property to the new API (#17820)
* [GPU] Introduce ov::config_device_id internal property to the new API. Fix setting property for specific device

* Introduce ov::internal::supported_properties

* Fix caching tests

* Fix win tests

* Fix Proxy tests

* Replace CONFIG_KEY_INTERNAL(CONFIG_DEVICE_ID) by ov::internal::config_device_id in PROXY plugin

* Review comments
2023-07-12 10:03:35 +00:00
Karol Blaszczak
b30bd0d3e4
[DOCS] GNA disclaimer 2023-07-12 11:46:08 +02:00
Chen Xu
7c1949421f
[CPU] Fix performance issue for some cases of Reduce node (#11456) 2023-07-12 08:48:38 +00:00
Andrei Gorbachev
af6c2b0671
[Coverity] Replace find to count (#18493)
* fix CVS-112761

* fix CVS-112760

* fix CVS-112770

* fix CVS-112763, replace find to count
2023-07-12 11:57:41 +04:00
Ilya Churaev
cd02804d5b
Catch errors in case if some plugin doesn't have environment on the system (#18491)
* Catch errors in case if some plugin doesn't have environment on the
system

* Fixed typo

* Fixed Windows build
2023-07-12 06:58:41 +00:00
Paul Youngsoo Ahn
1e69152d9f
[GPU] Set default format only for the dynamic model with static input shape (#18486) 2023-07-11 23:37:56 -07:00
Taylor Yeonbok Lee
8f513002b6
Disable redundant reset for internal buffer (#18447) 2023-07-12 02:00:11 +02:00
Ilya Churaev
0927e867b0
Implement ov::IInferRequestInternalWrapper::GetPreProcess to recover python GetPrepProcess tests (#18484)
Co-authored-by: River.Li <river.li@intel.com>
2023-07-12 00:02:54 +04:00
Oleg Pipikin
ee50d2d120
Fix deprecation warning for debian build (#18488) 2023-07-11 21:46:20 +04:00
Andrey Kashchikhin
f06e0816f7
add missing stages (#18480) 2023-07-11 21:05:55 +04:00
Jan Iwaszkiewicz
59052d846e
[PyOV] Memory flow control with share_inputs and share_outputs (#18275)
* Added ReturnPolicy and updated common array helpers

* Clean up

* Remove ReturnPolicy initial

* Add share_inputs and share_outputs

* Tests and minor fixes

* Fix docstrings

* Fix whitespace

* Fix typing
2023-07-11 21:05:22 +04:00
Pawel Raasz
56f51135d4
Grey preprocessing yuv nv12 i420 (#18239)
* Add two plane YOV to Grey conversion

* Add i420 to grey conversion

* Add yuv to grey conversion for GPU

* Fix cmakes

* Remove static from local function

* Remove opencv dependency from tests

* Put grey_from_yuv_single_plane into namespace
2023-07-11 12:41:24 +02:00
Nikolay Shchegolev
88703905f4
[CPU] Leftovers for Extension convert I64/U64 to I32. (#16941)
* [CPU] Leftovers for Extension convert I64/U64 to I32.

* Fix as per comments

* Fixes as per commits 2

* Fixes as per commits 3

* Revert "Fixes as per commits 3"

This reverts commit 84022be66f64faccd96a32da5611db0e5137d049.

* Some fixes

* Test fix
2023-07-11 11:42:53 +02:00
Marcin Kacprzak
521c846b72
[GNA] Fix for concat requantization problem (#18008)
* [GNA] Fix for concat requantization problem

* [GNA] Review fixes

* [GNA] Reverted `using namespace std`

* [GNA] Updated transformation description
2023-07-11 10:32:49 +01:00
Mateusz Tabaka
0296008c7e
Add explicit converts for Parameter and Result in ConvertPrecision tr… (#18183)
* Add explicit converts for Parameter and Result in ConvertPrecision transformation

* set friendly name for convert on output

* tests
2023-07-11 13:02:28 +04:00
Mateusz Mikolajczyk
82c65c25da
[PT FE] Add aten::scatter and inplace for aten::sub translation (#18341)
* Add sub inplace

* Add scatter implementation

* Remove debug var

* Add tests for empty index

* Add reduce support

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-07-11 11:00:50 +02:00
Maciej Smyk
0148076ed7
[DOCS] Code block update for master (#18437)
* code-block-1

* Update Convert_Model_From_Paddle.md

* code-block force

* fix

* fix-2

* Update troubleshooting-steps.md

* code-block-2

* Update README.md
2023-07-11 10:43:54 +02:00
Maksim Kutakov
900163c484
[CPU] In place memory for dynamic shapes (#17741)
* InPlace memory direction resolution pass

* Partitioned mem mngr

* Concat reshape pattern has been enabled

* Enhanced in place conflicts detection

* Refactor Concat

* Fix Reshape isExecutable call

* Split node refactoring

* Gather node inPlace special case

* Temporal WA to enable zero copy on Split input

* Process inPlace edges in order

* Fixes

* Remove implicit initialization from Edge::getMemory

* Allow NotAllocated edges call allocate

* extract IMemory interface and implements Memory class.

* IMemory fixes after merge

* Prevent input memory modification

* Minor build fixes

* Fix unittest build

* Fix for variadic concat

* Edge reference fix

* Lock based mem manager

* Return value fix

* Naming refactoring

* Use make_unique

* Split output dims check

* Special processing for empty parts

* Concat null memory fix

* Fix downstream inplace resolution

* Concat allocated edge search fix

* Variadic split clean up tests

* Variadic Split tests update

* Fix make_unique conflict

* Split inPlace tests are back

* Concat inPlace dyn shapes tests

* Add safety checks to isInputTensorAtPortEmpty

* Fix partitioned mem mngr zero size reset

* Introduce Static Memory

* Gather InPlace Tests

* InPlace conflict check in merge Reorder Transpose

* Apply review comments

* fix after rebase

---------

Co-authored-by: jialipen <cecilia.peng@intel.com>
2023-07-11 10:39:29 +02:00
Katarzyna Mitrus
827fb0234b
[Shape Infer] RNN/GRU/LSTM Cell & Sequence - common shape infer and review (#18009)
* rrn seq base common shape infer init

* Update and add shape infer to all seq rnn based ops

* Use shape_infer in lstm seq core op

* Use shape_infer in rnn seq core op

* Unified shape infer for rnn cell base

* Update and add missing cells shape_infer functions

* Use shpe_infer in rnn_cell

* Update shape_infer map

* shape_infer tests

* Move new shape_infer to TA map

* More tests and shape improvements

* Introduce common base tests

* Fix merge conflict

* Missing setters and default ctor tests

* Use RNNCellBase class instead of template type op

* Update v0 LSTMSequence to use RNNCellBase as parent class

* Style

* V0::LSTMSequence update

* Specify opset in shape infer registry

* Move rank check

* Output vec generation refactor

* Update num_dir_validation

* Tests warining fix

* Test types adjustment

* Commented code cleanup

* Move test helpers to test fixture

* Common default ctor tests for Cell

* Update GRU shape infer tests

* Update LSTM shape infer tests

* Update RNN shape infer tests

* File names update

* Functions renaming

* Cast hidden size in test

* Move v0::LSTMSequence conformance test

---------

Co-authored-by: Pawel Raasz <pawel.raasz@intel.com>
2023-07-11 12:38:31 +04:00
Evgeny Kotov
2663b002e8
fix transformation; add unit test (#18346)
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
2023-07-11 10:27:33 +02:00
Andrey Kashchikhin
c738899408
[CI] Introduce Linux pipeline in GitHub Actions (#18355)
* skip validation, always include cmake

* rm unconditional inclusion of zlib

* always include zlib

* correct path for builtin_extensions

* find builtin extensions recursively

* include test_utils always

* add logs for build_samples

* skip tests with dir accessing

* remove platform specification for samples build

* do not pkgconfig on win, use cmake generic on linux for samples

* rm make

* fix num_threads

* use bare numbers

* skip failing

* skip test_lrn_basic

* find zlib

* print error of downloading

* add linux pipeline

* do not save cache from PRs; add skipif only in GHA

* rm caching

* evaluate against a string

* do not include test_utils to the install dir
2023-07-11 11:54:33 +04:00
Maciej Smyk
2ea277fc72
Update installing-openvino-docker-linux.md (#18458) 2023-07-11 09:44:08 +02:00
Irina Efode
b1e250757e
[IE TESTS][CONFORMANCE] Change data_generation initialization to avoid incorrect value (#18193)
* [IE TESTS][CONFORMANCE] Fix data generation

* fix cpu tests

* CPP Lint

* Update ranges.hpp

* change start_from and range according typo

* Update deformable_convolution.cpp

* clenup

* Update activation.cpp

* Update deformable_convolution.cpp

* Update grid_sample.cpp

* Fix tests -> change start_from type
2023-07-11 09:12:25 +03:00
Paul Youngsoo Ahn
ff4ed54bba
[GPU] Fix kernel selecting issue on dynamic model with static input shape (#18448)
* [GPU] disable blocked format for dynamic shape model(#18448)

* [GPU] Return default format for output layout rank when user node is reshape in get_preferred_format
- Rollback code to disable blocked formmat for dynamic shape

* [GPU] Add unit test checking has_reshape_user

* [GPU] remove redundant comments
2023-07-10 22:54:56 -07:00
Evgeny Kotov
ad7caf5d76
Pruning add Pad12 support (#18363)
* fix transformation

* add unit test

---------

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
2023-07-10 23:18:46 +04:00
Ilya Churaev
3278bc1566
Fixed build without proxy (#18442) 2023-07-10 22:38:00 +04:00
Tatiana Savina
d829c8086d
basiq quantization flow changes (#18439) 2023-07-10 18:53:41 +02:00
Pavel Durandin
75696f4545
[GPU] Fix DG2 units tests with null users (#18455)
* [GPU] Fix DG2 units tests with null users

* [GPU] Fix DG2 units tests with null users
2023-07-10 19:32:38 +04:00
Tomasz Dołbniak
975ba2a92b
Optimization of ScatterElementsUpdate ref impl (#18313)
Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-07-10 15:58:37 +02:00
Artyom Anokhov
58de48a491
Temporary block nvidia plugin to enable CPack target first (#18456)
* Temporary block nvidia plugin to enable CPack target first

* rpm.cmake: Added the same block for nvidia
2023-07-10 17:15:59 +04:00
Oleg Pipikin
d6c0289008
Move common test utils (#18339)
* Move common test utils

* Apply comments

* Comments 2
2023-07-10 12:48:24 +00:00
Ilya Churaev
500ac2ab43
Remove vector of so objects from Tensor, Any, VariableState and (#18430)
RemoteContext
2023-07-10 12:41:03 +00:00
River Li
3286a405be
Don't eliminate Transpose when 0 size of order_value (#18130)
* Don't eliminate Transpose when 0 size of order_value

* Remove invalid test for transpose
2023-07-10 14:58:02 +04:00
Przemyslaw Wysocki
6c55937119
[PyOV] Add get_compiled_model binding for InferRequest (#18386) 2023-07-10 12:08:10 +02:00
Andrei Gorbachev
8f529df763
[Coverity] Fix coverity (#18420)
* fix CVS-112761

* fix CVS-112760

* fix CVS-112770
2023-07-10 09:49:59 +04:00
Pavel Esir
1cb4595727
[MO] add support for scalar shapes into cli_parser.py (#18312)
* add support for scalar shapes into cli_parser.py

* add test-case with scalar shapes for convert_model

* reordered inputs in test-case with scalar shapes for convert_model

* minor clarifications

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-07-08 17:27:07 +00:00
Pavel Esir
af9a8cbbd7
fix GitHub Actions failing tests (#18357)
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-07-08 18:21:59 +02:00
Andrew Kwangwoong Park
eb3bb52a08
[GPU] Update DepthToSpace to use nGraph shape inference (#18422)
* Update DepthToSpace to use ngraph shape infer

* Remove legacy block_size limitation for static shape

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

* Add TCs for ov_gpu_func_tests and ov_gpu_unit_tests

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

---------

Signed-off-by: Andrew Park <andrew.park@intel.com>
2023-07-07 15:13:48 -07:00
Paul Youngsoo Ahn
f940333a1c
[GPU] Apply ngraph shape infer for ROIAlign (#18424) 2023-07-07 11:37:21 -07:00
Tomasz Jankowski
e81bcacf33
[Ref_Impl] Add GroupNormalization-12 reference implementation (#18343)
* Add GroupNorm reference implementation

* Clean up

* Handle GroupNorm in ov namespace only

* Simplify the flow

* Add various scale and bias tests

* Fix batches case

* Add more float tests

* Set output shape

* Set output shape

* Fix missing includes

* Move to ov namespace

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2023-07-07 20:04:44 +02:00
Evgeny Kotov
0cd4ea29ce
fix ReverseShapeAndTypeInfer; add unit test (#18319)
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
2023-07-07 17:49:47 +02:00
Ilya Churaev
79c37882aa
Add variable state for proxy plugin (#18426)
* Added proxy variable state

* Added documentation for some methods

* Fixed code style
2023-07-07 17:44:57 +02:00
Vladislav Golubev
205de6106b
[Snippets] BrgemmEmitter: blocking by K & N dimensions (#18302)
* KN blocking draft

* some fixes

* IdentifyBuffers temporary hack

* Emitter cleanup

* IdentifyBuffers cleanup

* BrgemmCopyB validation: N_blk is taken from the child BrgemmCPU

* Added blocking parameters to BrgemCPU

* accuracy fixes

* Buffers insertion removed from BrgemmToBrgemmCPU

* Added blocking parameters to BrgemmCopyB

* blocking parameters

* Blocking params configuration removed from brgemm_to_brgemm_cpu transformation

* Introduced a transformation for blocking parameters configuration

* MHA tokenization alligned with blocking matmul requirements

* Alexandra's comments applied

* Alexandra's comments applied: 2nd round

* Ivan's comments applied

* MHA tokenization: removed kernel_buffer_size related heuristics
2023-07-07 17:44:14 +02:00
Ilya Churaev
8e671403b3
Try to fix error: e is outside the range (#18369)
* Try to fix error: e is outside the range

* Fixed code style

* Fixed tests

* Fixed tests

* Fixed code style

* Added error messages

* Fixed code style
2023-07-07 19:36:18 +04:00
Mikhail Ryzhov
df014637c9
[GNA] Fixed concat axis checks (#18281)
* Fixed concat axis checks

* clang fix

* Enabled the rigth concat axis check

* is_concat_supported based on ngraph

* fixed concat patterns checks

* code style fix

* removed unused helpers

---------

Co-authored-by: Marcin Kacprzak <marcin.kacprzak@intel.com>
2023-07-07 14:33:47 +01:00