Commit Graph

375 Commits

Author SHA1 Message Date
Eddy Kim
1552beaab2 Adding missed conversion logics between layout and string for 2022.3 (#15111)
* added missed layout to string conversion

* added an unit test for layout_from_string

* added missing spaces around =

* replaced 95 with SCALAR

* moved layout_to_string into a new file

* changed to parametrized test
2023-01-16 17:30:44 +04:00
Daria Mityagina
827025f8ee Fix some tests (#14434) (#14774)
Co-authored-by: Nadezhda Ageeva <nadezhda.ageeva@intel.com>
2022-12-22 20:57:29 +04:00
Roman Kazantsev
9752fafe8e [Default Install] Recover upper-bound for the default installation openvino-dev (#14734)
Use 1.23.4 to be aligned with extras installation

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

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-12-20 00:14:53 +01:00
Maksim Kutakov
ad0ef56665 [CPU] Fix for the convolution node dummy shapes generation (#14521) 2022-12-12 23:08:15 +04:00
Vladislav Golubev
4911f80f37 [CPU] Convolution shape inference fix (#14550) 2022-12-12 13:59:14 +04:00
Alexandra Sidorova
2d072e8129 [CPU] Fixed segfault in Generic node creation for dynamic models (#14488) 2022-12-08 17:13:34 +04:00
Xiping Yan
8680791ffe [CPU] Fix conditional compilation for oneDNN brgemm Convolution primitive 2022-12-08 12:06:41 +04: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
Luo Cheng
bf0d2cea4b [CPU] Relax threshold for using brgconv1x1 instead of inner product (#14351)
* relax condition

* modify new shape due to threshold changed

* rename M to an exact name

* apply review comments
2022-12-06 09:23:32 +01:00
guozhong wang
796ce53371 change AUTO default hint to Latency (#14236)
* change AUTO default hint to Latency

* Change the comment tput to latency according to wangyang opinion

* fix testcase for MULTI, the hint default value returned by MULTI is throughput

* Remove the redundant testcase and modify the name of the testcase that returns the default value of hint

* Code optimization according to bell opinion, add comments to testcase

* Correct the comments of testcase

* When user sets num_streams, AUTO/MULTI does not set the default hint to HW plugin

* Fix the problem that smoke_AUTO_MULTI_ReturnDefaultHintTest fails to run

* add num_streams and default hint mock testcase

* add auto default perf hint mock testcase
2022-12-06 11:41:43 +08:00
Egor Duplenskii
b585393fee [CPU] Disable memfd kernel memory allocation in oneDNN (#14358)
to avoid segfaults and std::bad_alloc issues
2022-12-05 18:42:53 +04:00
Nikolay Shchegolev
3959890691 [CPU] Unique operation implementation. (#14250) 2022-12-05 17:45:20 +04:00
Anton Voronov
3caebffa5c [CPU] Sparsity weights decompression (#13775) 2022-12-04 22:43:53 +04:00
Chen Xu
541045b0ba [CPU] Ensure mathematical correctness of Convert node (#14174) 2022-12-02 17:10:19 +04:00
yanlan song
3eac2cd613 do not carry batch configs in auto when user does not explicitly set it (#14003)
* temp resolution to support model path for CPU in auto

Signed-off-by: fishbell <bell.song@intel.com>

* disable batch when load through model path

Signed-off-by: fishbell <bell.song@intel.com>

* add mark for future release

Signed-off-by: fishbell <bell.song@intel.com>

* implement step1: donotparse batch config if user not set explictly

Signed-off-by: fishbell <bell.song@intel.com>

* correct typo in case

Signed-off-by: fishbell <bell.song@intel.com>

Signed-off-by: fishbell <bell.song@intel.com>
2022-12-02 10:14:18 +08:00
Vladislav Golubev
a246bdb3a0 [CPU] Unreachable code fix in Interaction fusion transformation (#14353) 2022-12-01 16:12:15 +00:00
Nikolay Shchegolev
add3b11880 [CPU] New operations: IsFinite, IsInf, IsNaN. (#14314) 2022-12-01 16:34:39 +04:00
Tomasz Jankowski
64391cdb3f Transformation component transition to OV namespace (phase 3) (#13653)
* Use openvino pass graph_rewrite

* Use openvino pass pattern matcher

* Remove ngraph opsets

* Remove ngraph.hpp

* Remove ngraph includes

* Remove ngraph includes

* Use transformations API

* Remove ngraph includes

* Remove ngraph rt_info

* Remove unused ngraph includes

* Replace ngraph:: scope with ov:: here and there

* Remove serialize proxy header

* Remove proxy include

* Bring back a file for vpu-plugin

* Fix after upstream merge

* Remove nested namespace conflict

Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
Co-authored-by: Mateusz Tabaka <mateusz.tabaka@intel.com>
2022-12-01 12:34:58 +01:00
Egor Duplenskii
0c6015f669 [CPU][DEBUG_CAPS] Fix build after snippets base class change (#14341) 2022-12-01 12:52:52 +03:00
avoskoboinyk-lohika
62e2a672fb [CPU] Throw an error for LSTMCell-1 with peephole input since it's not supported (#13503) 2022-12-01 11:54:00 +04:00
Maksim Kutakov
1de1029643 [CPU] Dynamic shapes overheads reduction (#13722) 2022-11-30 17:03:47 +04:00
Vladislav Golubev
9eb43bb8b4 [Snippets] [CPU] Serialization/Deserialization enabled (#14064) 2022-11-30 14:37:19 +04:00
Roman Kazantsev
5f06431aec [Install] Remove upper bound for NumPy for default installation and update upper bounds for extras (#13985)
* [Python API][Tools] Top up upper bound version for dependencies: NumPy, TensorFlow, NetworkX

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

* Remove upper-bound for TensorFlow and NumPy

* Revert "Remove upper-bound for TensorFlow and NumPy"

This reverts commit 662085df2e.

* Remove upper-bound for NumPy for default installation

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-11-30 09:53:06 +04:00
Vladislav Golubev
b11adcdde4 [LPT] FQ Decomposition improvement (#14203)
* [LPT] FQ Decomposition modified to create FQ without constants with several consumers

* [LPT] Added subgraph test

* CPUTestsBase: Added the ability to check only fusing results

* [CPU] Added subgraph test

* LPT review comments applied

* CPUTestsUtils: added special string 'anytype' for selectedType check ignore
2022-11-30 01:04:10 +00:00
Irina Efode
48dd92de47 [CONFORMANCE][IE TESTS] Reduce SLT execution time (#14165)
* init

* Reduce time

* remove extra

* try

* dd

* one more try

* Fix mistakes

* skip some cpu tests

* comment

* one more skip
2022-11-29 15:49:03 +04:00
Egor Duplenskii
03583d93cb [CPU] Add option to disable XBYAK_NO_EXCEPTION and fix itt win lib load (#14252)
Two oneDNN changes in scope of single PR
2022-11-29 10:36:29 +04:00
Zhang Yi
ead91d7c2f [CPU] Fixed Concat node performance (#14216) 2022-11-28 10:00:03 +04:00
Luo Cheng
21b09e0ac9 [CPU][TESTS] Added test cases for 3D FC Node: brg, brg<->ip, multiple weights (#14144) 2022-11-25 09:54:52 +04:00
Egor Duplenskii
7f27cd57eb [CPU] Fix ports configuration for bf16 RNN primitives (#14111) 2022-11-24 19:13:22 +04:00
Denis Kotov
b53a5c3aff Added BenchmarkLayerTest class for simplifing of benchmarking (#12552)
* Added BenchmarkLayerTest class for simplifing of benchmarking

* Added example of using BenchmarkLayerTest for GenerateProposals operator

* Added report to file and also updated validate methods

* Switch from using json to xml for BenchmarkLayerTestReporter

* Remove smoke prefix from BenchmarkLayerTest usage example

Co-authored-by: Oleh Kurachenko <oleh.kurachenko@capgemini.com>
Co-authored-by: Irina Efode <irina.efode@intel.com>
2022-11-24 17:20:51 +03:00
Alexandra Sidorova
d6750f8e74 [CPU] Fixed dynamic Loop with explicit Concat Result (#14041) 2022-11-24 16:47:08 +04:00
Tingqian Li
b7d4deb2d8 enable jit debug_trace() only when non-zero ONEDNN_JIT_DUMP is exported (#14058) 2022-11-24 13:11:08 +04:00
Pawel Raasz
a0a6e1c141 Review opset1 equal for shape inference aspects (#14006)
* Review equal shape inference:
- check dimension propagation
- check labels propagation
- check default ctor

* Review equal static shape inference
- add unit test for static shapes

* Correct typo in the variadic split method

* Remove leftovers and fix typos

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

Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
2022-11-24 01:15:58 +03:00
Mateusz Tabaka
e105b3ea37 [LPT] fix weights output channel index in ConvolutionBackpropDataTransformation (#14124)
ConvolutionBackpropData weights have following shape {input channels, output_channels, ...},
so unlike forward convolution, the output channels are on the second dimension.
2022-11-23 09:01:59 +01:00
Wang, Yang
7aac663f4a [AUTO Plugin] Remove/Add some test cases for AUTO/MULTI (#14117)
* Update.

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

* 1. Remove part of AUTO/MULTI test case since they has been coverred in another PR[13738].
2. Move the rest part of AUTO/MULTI test cases into CPU function test suit.

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

* Update.

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

Signed-off-by: Wang, Yang <yang4.wang@intel.com>
2022-11-23 14:56:03 +08:00
Zhang Yi
0b361768ce [CPU] Use common transform for logsoftmax (#14150) 2022-11-23 09:27:44 +04:00
yanlan song
8e4bd92d12 change default value (#14142)
Signed-off-by: fishbell <bell.song@intel.com>

Signed-off-by: fishbell <bell.song@intel.com>
2022-11-23 10:05:32 +08:00
Egor Duplenskii
2d01ad3f18 [CPU] Fix seg fault in oneDNN 'parallel' with ITT built (#14048) 2022-11-21 20:11:03 +04:00
Luo Cheng
cf7b174bf9 [CPU] Use brgconv1x1 instead of inner product in some cases (#13715) 2022-11-21 15:00:49 +04:00
Luo Cheng
40089bdef7 [CPU] MergeTransposeAndReorder incorrectly removed const (#14067) 2022-11-21 11:18:57 +03:00
Xiping Yan
2a7dc5404b [Core/CC]Verify add_matcher scope for Conditinal Compilation. (#13148)
* My verification:
libopenvino.so original size: 10799560
After adding this patch, new size: 10684744

Reduce: (10799560 - 10684744)/1024.0 = 112.125K.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* try to fix clang issue

* Merge xuejun/cc_test

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Test

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* TEST1

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* TEST2

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* Complete Add_matcher wraper.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* register_pass rebase

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* fix clang issue.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* fix some replace error.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* 1: Rename ADD_MATCHER_SCOPE_WITH_OBJ -> ADD_MATCHER_SCOPE;
2: Remove debug info;
3: Fix bug: REGISTER_PASS_WITH_FALSE_

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Add ADD_MATCHER_SCOPE_WITHOUT_NSPACE macro

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* fix macro define issue.

* Add register_pass for cnn_network_ngraph_impl.cpp

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Try to fix vpux plugin fail issue.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Fix clang issue

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Merge macro "REGISTER_PASS_MODEL_SCOPE" and "REGISTER_PASS_FUNCTION_SCOPE" to "REGISTER_PASS_SCOPE"

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Rename "REGISTER_PASS_SCOPE_WITH_FALSE" to "REGISTER_DISABLED_PASS_SCOPE_WITH"

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Rename ADD_MATCHER_SCOPE_WITHOUT_OBJ to ADD_MATCHER_SCOPE_FOR_THIS
ADD_MATCHER_SCOPE_WITHOUT_NSPACE to ADD_MATCHER_SCOPE_FOR_THIS_WITHOUT_NSPACE

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* In order to implement CC, I have to move "StridesOptimization()" constructor to cpp file.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Remove "SCOPE" in macro.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Recover changes to fix clang issue.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Remove "REGISTER_PASS_MODEL_IF"

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* 1: Remove "ADD_MATCHER_FOR_THIS_WITHOUT_NSPACE";
2: Remove param "nspace" in Macro, replace with "using namespace " in local.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* fix missing update.

* For MACRO REGISTER_PASS:
1: Only keep a external macro define;
2: Judge 3 possibilities, if one of them is true, it will be disable;

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Optimize ADD_MATCHER_FOR_THIS.
-#    define ADD_MATCHER_FOR_THIS(region, ...)        add_matcher<region>(__VA_ARGS__);
+#    define ADD_MATCHER_FOR_THIS(region, ...)        ADD_MATCHER(this, region, __VA_ARGS__)

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Update src/common/conditional_compilation/include/openvino/cc/pass/itt.hpp

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

* Update src/common/conditional_compilation/include/openvino/cc/pass/itt.hpp

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

* Update src/common/conditional_compilation/include/openvino/cc/pass/itt.hpp

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

* Update src/common/conditional_compilation/include/openvino/cc/pass/itt.hpp

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

* clang format

* Update OR defiation in MACRO, increasing code scalability.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Fix window compiles error.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
Co-authored-by: xuejun <Xuejun.Zhai@intel.com>
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
2022-11-20 19:02:42 +03:00
guozhong wang
42b816ace7 set cpu affinity to numa in MULTI situation (#13407)
* change gpunum to 3

* hold threads for GPU for MULTI:GPU,CPU

* need to first check if there is a CPU in the device list

* use getNumberOfCPUCores to get CPU cores

* load GPU first

* assign the correct value to multiSContext->_devicePriorities

* load GPU first and load CPU last and set numa for CPU

* MULTI set CPU affinity to “NUMA” during load network

* Load the CPU last while maintaining the original device priority

* not using vector for CPU

* There is no user setting affinity in MULTI, and NUMA is set for the CPU

* pass key ENABLE_HYPER_THREAD to CPU plugin and merge xiaoxia PR

* set ENABLE_HYPER_THREAD to NO

* modify log

* Modify the code according to xiaoxia and wanglei comments

* Modify the code according to bell comments
2022-11-19 02:57:47 +00:00
Sun Xiaoxia
9d8a03f90c Limit the scope of hybrid_aware throughput setting (#14054)
* fix custom setting nstreams doesn't work due to the logic changed in ApplyPerformanceHints

* add same limitation for latency mode

* change bind core method to binding full physical core first, then logical core

* update custom setting streams and threads

* fix corner case when threads_per_stream is 1

* fix with comments

* add condition of big core stream is zero when binding core

Co-authored-by: Shen, Wanglei <wanglei.shen@intel.com>
Co-authored-by: Chen Peter <peter.chen@intel.com>
2022-11-19 02:26:43 +03:00
Evgenya Stepyreva
507086097d Shape Inference: Unary and First-input-shape-Passthrough operators (#13492) 2022-11-18 15:43:48 +03:00
Irina Efode
e075785486 [API CONFORMANCE] Remove skips for ov_plugin (#13749)
* ov_plugin

* fix graphs for cache

* fix build

* CPU + Template

* GNA

* Fix test

* sjkips

* sk

* extrs

* Update skip_tests_config.cpp

* try

* try
2022-11-18 14:46:32 +04:00
Yuan Hu
ee47ffbab6 [CPU] Fixed creating a descriptor for a dilated convolution forward propagation primitive (#12276) 2022-11-18 14:17:02 +04:00
Ilya Lavrenov
0a08cfe2d6 Fixed post-commit on MacOS (#14040)
* Fixed post-commit on MacOS

* Removed unused function
2022-11-17 15:36:19 +04:00
Chenhu Wang
ade90b2043 [CPU] MVN nspc kernel optimization (#13268) 2022-11-17 15:31:08 +04:00