Commit Graph

1338 Commits

Author SHA1 Message Date
Krzysztof Bruniecki
9ba6e48dbf [GNA] Fix input padding validator (#14607)
* [GNA] Fix input padding validator

   Assert that kernel above padding size
   Add tests
   Simplify compile target handling in graph compiler
   Fix issue 98584
   Swap padding end axes when swaping begin (fix 99008)

* [GNA] Add unit test for ShouldUseOnlyConv2DGnaIface fixed

* Apply review

* Simplify mock for GNA Lib

* Fixup missing includes

* Fix static build issues described in 71010
2022-12-20 15:04:40 +00:00
Gorokhov Dmitriy
fa55306794 [CPU] Extend StridedSlice dynamic shape support (#14541) 2022-12-20 10:50:41 +00:00
Marcin Kusmierski
6bca87a88a [GNA] Fix exception handling on wait and infer (#14578)
* [GNA] Move definition of GNAInferRequest class to source file

* [GNA] Fix handling exception for infer() and wait() gna_infer_request

* fixed handling of exceptions for wait and infer gna_infer_request
* fixed closing ongoing subrequest of divided model in case of exception on
    on enqueueing request or waiting for end of request.

* [GNA] Apply review comments, Removed exceptions from enqueue and wait for Worker

* changed API of request worker to return:
    * erorr in case wait failed instead of
        throw,
    * return true/false for enqueue instead of exception for failure case

* [GNA] Fix review commentd related to gna_infer_request and worker_impl

* [GNA] Add tests for GANInferRequest

* added tests for exception handling of Infer, Wait, StartAsync methods of
    GNAInferRequest class.

* [GNA] Added final fixes for review comments.
2022-12-20 10:15:15 +00:00
Marcin Kusmierski
bc69385093 [GNA] Create new tests for PWL approximation and refactor numerical_u… (#14604)
* [GNA] Small Improvement in PWLApproximation and update of unit test for it.

* added template method for floating pointcomparision
* added new tests for PWLApproximation

* [GNA] Refactor numerical_utils and usage of its method in plugin

* refactor numerical utils use template methods for conversion and comparision
2022-12-20 09:20:09 +00:00
Pawel Raasz
88456e6c3c Review tile class for shape inference aspects (#14673)
* Review tile for shape inference:
- propagate labels and dimension
- template implementation of shape inference
- if repeats is not-positive output dim is always 0

* Refactor Tile shape inference

* Review preserve partial values and labels

* Add support to evaluate bounds from repeats input

* Remove not used code
2022-12-20 12:49:52 +04:00
Sergey Shlyapnikov
f02c663a1d [GPU] Fix eltwise fusions in case of LT_ALIGNED_READ and vec_size>1 (#14275) 2022-12-20 12:13:15 +04:00
Vladimir Paramuzov
6bc4f00695 [GPU] Refactored GPU verbose utils (#14549)
* [GPU] Refactored GPU verbose utils

* [GPU] More refacoring

* Fix build
2022-12-20 11:06:01 +04:00
Egor Duplenskii
e306cbc67a [CPU] [DEBUG CAPS] Extension for snippets and other ngraph transformations (#14223) 2022-12-20 08:49:37 +03:00
Egor Duplenskii
4d44c70c32 [CPU] Improve some error messages (#14668) 2022-12-19 14:56:40 +04:00
Vladimir Paramuzov
ee256e801c [GPU] Removed legacy public gpu config and related processing (#14707) 2022-12-19 11:19:07 +04:00
Taylor Yeonbok Lee
05159b8cfb [GPU] Fixed shape infer dep for blocked format (#14646)
* Fixed shape infer dep for blocked format

* Set preferred format for shape_of to be made from input rank
- ShapeOf should get the original output layout of the previous node, which is not reorderd.
2022-12-18 20:03:23 -08:00
Pawel Raasz
b850f422ba Review logical ops for shape inference aspects (#14393)
* Review dims and labels propagation for logical not

* Review dims and labels propagation
for logical and, or, xor

* Remove duplicated tests

* Expand logical ops tests by numpy broadcast
and inputs order

* Review template shape infer of logical ops
 - add static shape inference test
 - add default ctor test

* Default ctor test for LogicalNot op
2022-12-16 14:37:47 +04:00
Katarzyna Mitrus
e0c21ce302 ScatterUpdate CPU shape_infer by entryFirstPassthrough (#13950)
* ScatterUpdate shape_infer tests

* Add ScatterUpdate to entryFirstPassthrough

* Headers cleanup

* Style update

* namespace update
2022-12-16 14:28:16 +04:00
Mateusz Tabaka
43164a6b25 [CPU] RDFT kernel optimizations (#14060) 2022-12-16 11:18:27 +03:00
Nadezhda Ageeva
539f17df62 [HETERO][nGraph] Fix ConstantFolding fused_names handling (#13766)
* [HETERO][CPU][GPU][TEMPLATE][nGraph] Fix ConstantFolding fused_names propogation. Add tests for QN. Fix for unsupported comsumers in QN

Fix ConvolutionMultiplyFusion for CPU

Enable fused_names check for Constants

Fix memory formats rt info for CPU

* Update src/plugins/intel_cpu/src/utils/rt_info/memory_formats_attribute.hpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* Update src/tests/unit/inference_engine/query_model_test.cpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* Update src/plugins/intel_cpu/src/utils/rt_info/memory_formats_attribute.hpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* Update src/plugins/intel_cpu/src/ngraph_transformations/convert_matmul_to_fc.cpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* Update src/core/src/rt_info.cpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* Update src/core/src/rt_info.cpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* Fix review comments

* Fix test

* Code style

* Review comments

* Don't add Parameters/Inputs/Results to supported due to supported consumers/sours. Add tests for that.

* Fix rt_info propogation for ConstantFolding

* Fix test build

* Code stye

* Review comments. Adds ShapeOfBase.

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
2022-12-16 10:16:50 +04:00
Eddy Kim
b46dd308d6 [GPU] Updated to get lockable memories for device inputs in prepare_input() (#14418)
* updated to get ockable memory for device inputs

* gpuFuncTest to set f64 scalar tensor

* aligned type names

* updated to get lockable memory for some specific precisions

* add a function to get a supported precision
2022-12-16 09:12:47 +04:00
Vladimir Paramuzov
fa1cddf278 [GPU] Use ASSERT_* instead of EXPECT_* in most of the cases (#14535) 2022-12-16 09:09:57 +04:00
Felix Dohyun Kim
cecea2ef99 [GPU] Add device suffix option for functional tests (#13808) 2022-12-13 17:17:44 +04:00
Vladimir Paramuzov
78bd280a30 [GPU] Fix invalid memory access in lrn fsv16 kernel (#14536) 2022-12-13 17:16:13 +04:00
Sergey Shlyapnikov
9f481e8eaa [GPU] Fix Pad Primitive shape inference (#14282) 2022-12-13 16:59:55 +04:00
Egor Duplenskii
43808d9da4 [CPU] [TESTS] Avoid performing extra skip check (#10608) 2022-12-13 15:36:28 +04:00
Jade Cho
347e844153 [GPU] Fix a bug to not apply f-axis offset to oneDNN concat (#14590) 2022-12-13 17:12:59 +09:00
Vladimir Paramuzov
c581bbd6dd [GPU] Fixed invalid offset for tensor with batch padding (#14460) 2022-12-13 09:14:59 +04:00
Szymon Irzabek
8ccabc546f [GNA] Remove internal overload correction algorithm (#14428) 2022-12-13 06:02:03 +01:00
Sofya Balandina
f5a52dd732 [CONFORMANCE] Fix throws tests on KEY_MULTI_DEVICE_PRIORITIES (#14446)
* [CONFORMANCE] Fix throws tests on KEY_MULTI_DEVICE_PRIORITIES

* Update test name in skip configs
2022-12-12 23:39:42 +03:00
Maksim Kutakov
8ba632f690 [CPU] Fix for the convolution node dummy shapes generation (#14520) 2022-12-12 23:09:09 +04:00
Nikolay Shchegolev
ce5c0ff1dc [Tests][CPU] Move is_inf tests to proper place. (#14559) 2022-12-12 11:56:37 +00:00
Pawel Raasz
9e3b2e0b38 Review opset1 stridedslice for shape inference aspects (#14192)
* Review labels and dimension propagation
- check dimensions propagation with partial dimension
- extend testing for labels an dimensions propagation

* Shape inference support bounds evaluation
on begin, end inputs

* Review static shape inference

* Move sequence generator to dev API
to avoid create unnecessary library dependency

* Fix windows build issue

* Use strided slice in scatter update test
of partial value propagation

* Remove unused constant from test

* Fix strided dim calculation

* Fix clip lb,ub for strided dim calculation

* Use op strides if absent in input_shapes

* Move back SeqGen to shape inference

Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
2022-12-12 12:14:37 +01:00
Vladislav Golubev
6091b425af [CPU] Convolution shape inference fix (#14548) 2022-12-12 13:59:37 +04:00
Pawel Raasz
45033806fd Review opset7 einsum for shape inference aspects (#14059)
* Review einsum shape and label propagation
- extend type_prop test by check labels and einsum properties

* Review template implementation of shape inference
- rename StaticShape inference test file
- use common fixture and rename test cases
- add default ctor test
- add equation string setter

* Fix einsum label propagation check
due to improvement of dimensions and labels merge

* Remove BWDCMP_RTTI_DEFINITION from einsum op

Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
2022-12-09 17:04:51 +00:00
Wilson Seok
c16cee4624 fix PR14422 regression for using arg_max_min opt kernel (#14487) 2022-12-09 00:37:29 -08:00
Alexandra Sidorova
b1700d97f1 [CPU] Fixed segfault in Generic node creation for dynamic models (#14420) 2022-12-08 17:13:26 +04:00
Aleksandr Voron
d0f183780c Update evaluates_map.cpp (#14475) 2022-12-08 12:59:46 +00:00
Xiping Yan
532000a0ce [CPU] Fix conditional compilation for oneDNN brgemm Convolution primitive 2022-12-08 12:07:22 +04:00
Felix Dohyun Kim
4e85612cfb [GPU][DG2] Change tanh to relu in fusion unit tests (#14325)
* fix tanh activation fusecount error
* expected_fused_primitives_onednn
* add onednn fused to mvn test param
* add onednn fused to pooling test param
2022-12-08 16:53:09 +09:00
Sungeun Kim
b799e3eb91 [GPU] set b_fs_yx_fsv32 for first conv and dt is U8. (#14454)
* set b_fs_yx_fsv32 for first conv and dt is U8.

* check input format is bfyx.
2022-12-08 16:52:30 +09:00
Vladimir Paramuzov
6df011c9f6 [GPU] Use transformed gemm shapes for layout optimizer checks (#14407) 2022-12-08 09:12:02 +04:00
Kelvin Choi
1e75a4b427 [GPU] Update GatherTree Op to use ngraph shape infer (#13626) 2022-12-07 10:18:45 -08:00
Evgeny Kotov
f8b347ecd3 [GNA] Fixed extended debug build (#14355)
* fix build

* move debug define to cmake build options

* using namespace

* add debug build check

* remove build type check
2022-12-07 10:46:13 +01:00
Vladimir Paramuzov
7b7e1d19b0 [GPU] allow softmax_bf for axis=Y && X==1 case (#14443) 2022-12-07 13:04:47 +04:00
Ilya Churaev
ed36ddac55 Removed legacy get_name() from descriptor::Tensor (#13934)
* Removed legacy get_name() from descriptor::Tensor

* Fixed GPU plugin

* One more fix for GPU

* Fixed typo

* Revert constructor changes

* Revert get_name for internal plugins
2022-12-07 12:57:11 +04:00
Ilya Churaev
d5d67b2be8 Removed using of BWDCMP macro (#14292)
* Removed using of BWDCMP macro

* Fixed code style

* Removed type info

* Fixed ONNX tests

* Fixed CPU tests

* Fixed ExecutionNode
2022-12-07 12:47:16 +04:00
Taylor Yeonbok Lee
a47688e593 [GPU] Fix for a corner case for broadcast with dynamic input and static output (#14451) 2022-12-07 09:13:15 +04:00
Nadezhda Ageeva
a21da85eb9 Fix some tests (#14434) 2022-12-06 22:03:09 +04:00
Sun Xiaoxia
f5e6816633 fix compilation of test fails on Android x86 (#14442) 2022-12-06 20:24:18 +04:00
Tomasz Dołbniak
6da95784c7 Unique-10 tests and improvements (#14315) 2022-12-06 19:09:30 +03:00
Luwei Zhou
79f04a704c [CPU] Extend AMX deconv int8 to support oscale+eltwise+eltwise post ops pattern (#14026)
* Extend AMX deconv int8 to support oscale+eltwise+eltwise post ops pattern.

* Add deconv AMX test cases.

* Add multi-eltwise test on deconv AMX int8.

* Applied review comments.

* Update onednn submodule.
2022-12-06 18:32:02 +04:00
Nadezhda Ageeva
23481a5403 Move ReshapePRelu to common transformation to reuse it in NV plugin (#14169) 2022-12-06 16:58:51 +04:00
Luwei Zhou
da5b53e574 [CPU] Fix Deformable Convolution invalid read issue (#14326)
* Fix MACOS compiling issue when enabling CPU_DEBUG_CAPS.

* Fix Deformable Convolution segment fault caused by invalid access offset index.
2022-12-06 15:48:28 +04:00
Wilson Seok
bdcbdf71fc revert PR#12456 - removing arg_max_min and experimental_detectron_topk_rois in whiteof program.cpp (#14422) 2022-12-06 19:38:03 +09:00