Commit Graph

11722 Commits

Author SHA1 Message Date
Ivan Tikhonov
97fb4ed18c
Update the transformations to use the concrete op versions instead of opsets (#18503)
* codestyle

* update the transformations to use the concrete op versions instead of opsets

* resolve review comments

* codestyle
2023-07-13 16:46:05 +04:00
Sungeun Kim
6913a5effb
[GPU] set fixed random seed (#18144)
* random_generator
* apply random_generator to all tests
2023-07-13 21:13:29 +09:00
bstankix
d6c4e1acc0
[DOCS] Update newsletter (#18529)
* Change trigger to work from iframe

* Add more debug info
2023-07-13 12:50:43 +02:00
Nesterov Alexander
6822eb612e
[CPU][ARM] Add ACL executor for Convert (#17323)
* seaprate executors + add acl executor for convert

* update convert

* enabled tests and lot of changes in acl executor

* fixed different signedness comparison

* added expectedPrimitiveType method

* fixed comments

* fp16 WAs

* enable fp16 convert tests

* Revert "enable fp16 convert tests"

This reverts commit 037af672ce.

* Revert "fp16 WAs"

This reverts commit 3db3d4294e.

* fixed comments

* updated expected privitive to ref

* fixed comments

* getDescWithType name refactoring

* GetPtr to getData refactoring

* GetPtr to getData refactoring

---------

Co-authored-by: Aleksandr Voron <aleksandr.voron@intel.com>
2023-07-13 12:36:49 +02:00
Katarzyna Mitrus
d026ae74ce
[ONNX] Use ov::v12::ScatterElementsUpdate in ONNX FE ScatterElements (enable reduction) (#18462)
* Update ONNX FE scatter_elements to use ScatterElementsUpdate-12

* ONNX tests update

* Set reduction update

* Enable xfailed tests

* Add more onnx tests

* Fix reference implementation to support negative indices

* Style alignment
2023-07-13 12:16:31 +02:00
Orest Chura
355ba34b9e
Fix step numbers in nv12 classification sample (#18530) 2023-07-13 14:03:58 +04:00
Andrey Kashchikhin
a5782e0906
[CI] Introduce Windows pipeline in GitHub Actions (#18487)
* introduce win pipeline

* save only on master

* skip test_if for pytorch tests

* skip pytorch layer tests

* skip one test, execute python tests
2023-07-13 14:03:33 +04:00
yanlan song
77f065e4b1
refactor code (#18475)
Signed-off-by: fishbell <bell.song@intel.com>
2023-07-13 13:58:44 +04:00
Pawel Raasz
2cfd259824
[core]Trim __FILE__ macro by compiler if supported (#18411)
* Trim __FILE__ macro by compiler if supported

* Use file for older version cmake
Debug messages

* Move trim compilation options to os_flags.cmake

* Fix MSVC trimming options

* Add additional trim on runtime

* Update trim function description

* Use ov implementation for ngraph::trim_file_name

* Restore ie_c_api.h

* Remove unused define

* MSVC add trim for CXX language
2023-07-13 13:42:01 +04:00
Katarzyna Mitrus
605be1df07
[ONNX][OV Opset12] Update ONNX FE to use ov::opset12 as default (#18453)
* Update ONNX FE to use ov::opset12 as default

* Adjust other files

* Temp keep pad opset11
2023-07-13 09:24:28 +00:00
Min, Byungil
884006a0cf
[GPU] Optimizing primitives for only batch axis padding (#18163)
+ Optimized out Reshape if only batch axis has padding
+ Not to add Reorder before oneDNN if only batch axis has padding
+ Re-calculate output layout's padding if Reshape is optimized opt
+ Not to apply optimization of stable diffusion iGPU perf to dGPU(#18200)

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2023-07-13 18:19:04 +09:00
Sergey Shlyapnikov
feab0ab75e
[GPU] Memory preallocation optimization (#18181)
* [GPU] Use real layout for cpu impls instead of memory's

* [GPU] Add memory tracking and pre allocation mechanism

* Tests and minor code refactoring

* Apply review comments

* Remove unused include
2023-07-13 07:26:17 +02:00
Andrew Kwangwoong Park
eba1b46719
[GPU] Update ROIPooling to use nGraph shape inference (#18500) 2023-07-13 09:04:13 +04:00
Anastasia Kuporosova
acc13a70e8
[PyOV] py wrappers for clone/deepcopy model (#18502)
* [PyOV] py wrappers for clone/copy model

* -amend

* py wrap for clone_model

* codestyle

* mypy checks

* enable mypy for new file

* apply comment

* deprecate clone_model

* deepcopy removal from cpp
2023-07-13 01:10:38 +00:00
Wang, Yang
7b9f6c47b1
[AUTO] AUTO can't fall back if target device throws the exception before compiling model via AUTO (#18311)
* 1. Update AUTO candidate device filtering logic.
2. Add AUTO handling the exception logic when generating the target device infomation.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Update.

* Update.

* Update.

* Update.

---------

Signed-off-by: Wang, Yang <yang4.wang@intel.com>
Co-authored-by: Chen Peter <peter.chen@intel.com>
2023-07-13 09:09:25 +08:00
Ilya Churaev
63b18adf68
Fixed cases if cast data from Tensor to compatible type (#18479)
* Fixed cases if cast data from Tensor to compatible type

* Allow cast only if both element types are real or not
2023-07-12 22:51:34 +04:00
Anastasiia Pnevskaia
dd45925802
OVC tool leftovers (#18410)
* Made MO cli parser independent from OVC, added OVC Pylint test, minor fixes.

* Small corrections.

* PyLint fixes.

* Added init files.

* PyLint fixes.

* Small correction.

* Removed OVC dependency from MO.

* Fixed MO unit tests.

* PyLint fixes.

* Unit tests fix.

* Returned MO unit tests.

* PyLint configs.

* Small correction.

* Moved offline_transformations to back.

* Moved offline_transformations to back.
2023-07-12 18:18:22 +04:00
Xiping Yan
a396f07421
[CPU][NGraph]Enable node scatter_nd_update support negative indices. (#17219) 2023-07-12 17:04:44 +04:00
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