Commit Graph

3214 Commits

Author SHA1 Message Date
Taylor Yeonbok Lee ba610e67a6
[GPU] Distributed kv cache allocatio to prevent memory peak (#22665)
### Details:
- If kv caches are reallocated and copied at one time, there will be a
memory peak at that inference.
- Distributed kv cahce allocation period to prevent that issue as a
temporal quick solution

### Tickets:
 - 128982
2024-02-06 06:40:34 +00:00
Katarzyna Mitrus a2818110cc
[Op][Ref][CPU] Extend Gather op with String support (#22465)
### Details:
 - Extend Gather op with String support for data input 
(agreed to do it within the same op version, existing reference
implementation is common for GatherBase and ready to handle strings, ref
changes are not needed, just evaluate supported types updated)
 - Enable fallback to the reference implementation from CPU plugin
- Extend Template and CPU plugin operator tests with string validation
(most of the changes are tests related)
### Tickets:
 - 130688
2024-02-06 06:00:39 +00:00
Sergey Shlyapnikov 0fa8f49884
[GPU] Fix kv_cache optimization for negative concat axis (#22660)
### Details:
 - Fix kv_cache optimization for negative concat axis

### Tickets:
 - 131241

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2024-02-06 05:41:03 +00:00
Vitaliy Urusovskij a4cdec36cf
Remove `ie_*` includes (#22657)
### Tickets:
 - [CVS-130747](https://jira.devtools.intel.com/browse/CVS-130747)
2024-02-05 20:12:50 +00:00
Oleg Pipikin abc2899df8
Add test instantiations for template plugin (#22627)
### Details:
 - Add test instantiations for template plugin

### Tickets:
 - [CVS-130342](https://jira.devtools.intel.com/browse/CVS-130342)
2024-02-05 08:31:34 +00:00
Sun Xiaoxia d97525745c
Change parameters of executor config into private (#22414)
### Details:
 - Refactor executor config structure: 
1.Change some properties into private. Related PR should be changed in
[openvino_contrib
PR856](https://github.com/openvinotoolkit/openvino_contrib/pull/856)
2.Suggest setting executor config property by
`ov::threading::IStreamsExecutor::Config()` constructor.
   3.Update make_default_multi_threaded() based on MT 2.0 
- Threading property migration to OV API 2.0
([PR#21487](https://github.com/openvinotoolkit/openvino/pull/21487))

### Tickets:
 - *130373*
2024-02-05 07:59:51 +00:00
Zhang Yi a13e752042
[CPU]protect import model with header check (#22293)
### Details:
 - *Check model header validity in `ModelDeserializer`*
- *Header's data has intra-dependency, if number not match, throw
exception*

### Tickets:
 - *CVS-126392*
2024-02-05 06:30:31 +00:00
Luo Cheng 8129b7e0e3
[CPU] SDPA supports Mixtral (#22615)
### Details:
 - *SDPA supports Mixtral multi-query pattern*
 - *...*

### Tickets:
 - *[129812](https://jira.devtools.intel.com/browse/CVS-129812)*
2024-02-05 06:25:39 +00:00
Andrew Kwangwoong Park be4fb16417
[GPU] Add SwiGLU internal op, related transformation, primitive, and kernel for SwiGLU decomposition fusion (#22523)
### Details:
- The main models of LLMs use `SwiGLU(Swish-Gated Linear Unit)` instead
of `ReLU` for FFN. and it's necessary to fuse SwiGLU decomposition with
SwiGLU internal op
- Add internal SwiGLU op and related transformation which fuse SwiGLU
decomposition with SwiGLU activation op
 - Add primitive, kernel selector, and kernel for SwiGLU activation
 - Add subgraph func test and unit tests for SwiGLU activation

### Tickets:
 - 128820

---------

Signed-off-by: Andrew Park <andrew.park@intel.com>
2024-02-05 04:50:00 +00:00
River Li a986e255b7
Minor update (#22637)
### Details:
 - *item1*
 - *...*

### Tickets:
 - *ticket-id*
2024-02-04 21:09:19 +00:00
Vitaliy Urusovskij b60526c67e
Aggressive clean of `LayerTestsUtils::LayerTestsCommon` (#22311) 2024-02-03 18:00:55 +00:00
Vitaliy Urusovskij 8eb40fc22b
Delete IE functional tests (#22635)
Most of tests have API2.0 analogs, others doesn't fit API2.0
2024-02-03 08:52:05 +00:00
Xiping Yan 0ea791e9b7
[CPU][LLM] Compressed embeddings support for gather (#22445)
### Details:
 - *Remove const folding for Gather's input weights*
 - *Fuse scale and zeropoint to Gather*
 - *Upgrade Gather, only process the case with fused zp and scale*

### Tickets:
 - *128360*
2024-02-03 02:46:40 +00:00
Vitaliy Urusovskij 710872d256
[core] Remove ngraph shape related API (#22585)
Rebased https://github.com/openvinotoolkit/openvino/pull/22450

---------

Co-authored-by: Raasz, Pawel <pawel.raasz@intel.com>
Co-authored-by: Tomasz Jankowski <tomasz1.jankowski@intel.com>
2024-02-02 22:51:12 +00:00
Egor Duplenskii 5d43002aac
[CPU] Fix sparse compression weights check (#22625)
### Tickets:
 - 131536
2024-02-02 20:11:22 +00:00
Vitaliy Urusovskij 2d9467d247
Delete `single_layer/` folder (#21990) 2024-02-02 18:39:10 +00:00
Luwei Zhou d311e6512a
Migrate to ONEDNN 3.3 release. (#21853)
### Details:
 - *Migrate to onednn 3.3*
- *Enable brgconv on avx2. Fall back on jit legacy zp when having input
zp(even per-tenson) to fix perf regression*

### Tickets:
 - *129816*
2024-02-02 09:47:30 +00:00
Mateusz Mikolajczyk 2990586789
[Opset14] Initialization of opset14 (#22603)
### Details:
- *Initialization of opset14 to reduce number of repeated changes in
each operator*

### Tickets:
 - *N/A*
2024-02-02 08:43:54 +00:00
cecilia peng 50b2342a54
[CPU] fix TensorIterator issue - a static node with dynamic subgraph,… (#22149)
[CPU] fix issue - a static TI node with dynamic subgraph

### Details:
- *When the TI node is a static node and its subgraph is a dynamic
function, the dynamic backedge will resize the corresponding input
memory of subgraph. But this memory primitive is kept by the first
mappers which is not aware of the backedge mapper change. When next
inference executes the original input portmap, memory crashes.*
 - *...*

### Tickets:
 - *126207*

---------

Co-authored-by: Maksim Kutakov <maxim.kutakov@gmail.com>
2024-02-02 08:40:00 +00:00
Luwei Zhou cdb975c665
[CPU] Run with FP32 when compress fp16 is disabled in Ngraph. (#21440)
* [CPU] Run with FP32 on the accuracy aware node.

* Applied review comments.

* Apply review comments.

* Update.

* Add debuglogs to print lowering precision  RTinfo list  for easier debuggging.

* Update RoPE RT info.

* Applied review comments.

* Update.

* Update.

* Applied review comment.

* Applied review comments.
2024-02-02 05:49:52 +00:00
Tomasz Jankowski 9bdd36be9c
[Core] Remove ngraph env_util.hpp graph_util.hpp util.hpp (#22540)
* Delete env_util

* Remove ngraph graph_util (initial)

TODO: remove ngraph/graph_util.hpp and remains from graph_util.cpp

* Remove ngraph util (initial)

TODO: remove ngraph/util.hpp and remains from util.cpp

* Remove ngraph util (onnx fe not finished)

TODO: remove ngraph/util.hpp and util.cpp.

* Use OV in test helpers

* Remove ngraph graph_util

* [ONNX FE] Rename onnx_import::Node class

to ONNX_Node temporarily (to hide conflicts with missing Node from ::ngraph::)

* Remove ngraph graph_util from onnx fe

* [ONNX FE] Rename onnx_import::ONNX_Node class back to Node

* Delete ngraph util

* Update copyright notes

* Update copyright notes

* Fix style

* Fix gpu plugin

* Remove useless macros

---------

Co-authored-by: Pavel Durandin <pavel.durandin@intel.com>
2024-02-02 02:53:20 +00:00
Fang Xu 75ee009acd
add lock for static variable operation (#22423)
* add lock for static variable operation

* initialize properties through lamda function

* fix code style

---------

Co-authored-by: Chen Peter <peter.chen@intel.com>
2024-02-02 02:45:22 +00:00
River Li 54c768467d
[Core] remove ie_memcpy.h and precision_utils.h (#22177)
* [Core] remove ie_memcpy.h and precision_utils.h

* Fix build error

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Pavel Durandin <pavel.durandin@intel.com>
2024-02-01 19:37:48 +00:00
Sergey Shlyapnikov 3c6b8ca84b
[GPU] Exclude fused dependencies from GEMM's output shape canonicalization func (#22543)
Fix zp/scales data types conversion in FC bf tiled kernel
2024-02-01 15:57:25 +00:00
Wang, Yang 10087cccd0
[AUTO plugin] auto minor cleanup (#22583)
* remove redundant code and update the test case.

* Update.
2024-02-01 11:20:58 +00:00
Oleg Pipikin 739207f20c
Add raw data comparison into test utils (#22564) 2024-02-01 10:53:05 +00:00
Aleksandr Voron 4f0b1fe74a
[CPU][ARM] Disable f16 eltwise fusing (#22169)
* init

* check parentNode

* move the check in FuseConvolutionSumAndConvolutionSumActivation

* force f16 everywhere (rollback this commit before merge)

* force f32 deconv and reference on arm

* force f32 in reference node for all float types

* revert changes in reference node and

* remove hardcode

* rename fuse map

* bring f16 infer back

* remove f16 infer prec hardcode
2024-02-01 09:47:11 +00:00
Egor Duplenskii 42972e4d80
[CPU] Introduce new executors architecture for FullyConnected node (#20718) 2024-02-01 09:38:06 +00:00
River Li 6d2d2d8e28
[Core]remove ie plugin config (#22479)
* [Core] remove ie_plugin_config

* Remove ie_internal_plugin_config and ie_plugin_config

* Remove ov::caching_properties and ov::exclusive_async_requests

* Fix failure cases and resolve comments

* Fix build error

* Remove myriad custom_op.cpp

* Fix build warning

* Fix capi auto plugin test failures

---------

Co-authored-by: Pavel Durandin <pavel.durandin@intel.com>
2024-02-01 08:56:31 +00:00
Andrei Gorbachev 3b2db3b9a0
add topk_v11 (#22575) 2024-02-01 08:17:19 +00:00
Zhang Yi 11e0fd6004
[CPU]SDPA uses brgemm to support bf16 multi query in 1st token (#22174)
* [CPU]BF16 MultiQuery Init Support

* [CPU]SKIP test if there is no amx

* [CPU]Fix bug with avx512_bf16

* [CPU]fix throw macro

* [CPU]Fix name typos

* [CPU]Fix unit test compilation

* [CPU]Skip bf16 sdpa test when platform doesn't support bf16

* [CPU]Derive attn_mask precision from template T

* [CPU]brgemm's multi-query only supports BF16

* [CPU]apply review comments

* [CPU]fix brgemm unit test.

* [CPU]Move brgemm kernel under x64

* [CPU]SDPA enables bf16 only when platform supports
2024-02-01 07:24:18 +00:00
Mingyu Kim b20bc81514
[GPU] Update onednn to v3.4 (#22154) 2024-02-01 05:13:48 +00:00
Vitaliy Urusovskij 6d6d332648
Delete `hetero` and `multi` configs (#22416) 2024-02-01 03:21:38 +00:00
Paul Youngsoo Ahn fa58184d9e
[GPU] Add get_shape_info_dependencies() to shape_of_node (#22527) 2024-02-01 02:59:41 +00:00
Pawel Raasz ce876c40d8
Remove ngraph/op API (#22394)
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Tomasz Jankowski <tomasz1.jankowski@intel.com>
2024-02-01 01:47:00 +00:00
Edward Shogulin 2e6d061583
[CPU] [LPT] CPU limitation (#22522)
* [CPU] [LPT] CPU limitation

* tests

* comments fixes

* tests fix

* tests refactoring
2024-01-31 22:27:54 +00:00
Oleg Pipikin 4e302aafca
Move ImportModelWithNullContext test to core tests (#22511)
* Move ImportModelWithNullContext test to core tests

* Apply comments
2024-01-31 18:14:06 +00:00
Egor Duplenskii 1fbfe0aa04
[CPU] Reorganize cpu func tests folder (#22084)
to prepare it for the introduction of the additional test scope build targets
per folder / file
2024-01-31 16:40:15 +00:00
Egor Duplenskii 612392da22
[CPU] Rework accessing node's parent and child edges (#22020)
* [CPU] Rework an access to the node edges and memory

* Apply review comments

* Apply review comments 2
2024-01-31 16:29:05 +00:00
yanlan song 8ee34fb71a
minor clean up (#22536)
Signed-off-by: fishbell <bell.song@intel.com>
2024-01-31 14:06:23 +00:00
guozhong wang 82c5945562
correctly handle core property when query supported properties (#22514)
* Hetero does not pass CACHE_DIR to the CPU plugin

* ov::CoreImpl::query_model filters out ov::cache_dir

* clang format

* clang format

* add a mode to ICore::get_supported_property which is responsible for query_model or compile_model behavior

* add test casse for get_supported_property_test

* clang format

* clang format
2024-01-31 13:58:55 +00:00
Taylor Yeonbok Lee 2a19f9eab2
Fixed a corner case for kv cache when the execution sequence is (#22549)
input shapes => reset variable => same input shapes
2024-01-31 04:31:59 +00:00
Oleg Pipikin 92b1e9f1a3
Remove ngraph::AxisSet and ngraph::AxisVector (#22350) 2024-01-31 04:02:36 +00:00
Yuan Hu 9b1c7dc3f5
[CPU] disable failed test on SPR (#22339)
* disable failed test on SPR

Signed-off-by: HU Yuan2 <yuan2.hu@intel.com>

* narrow down the f16 test case

Signed-off-by: HU Yuan2 <yuan2.hu@intel.com>

* disable anther f16 test case

Signed-off-by: HU Yuan2 <yuan2.hu@intel.com>

---------

Signed-off-by: HU Yuan2 <yuan2.hu@intel.com>
2024-01-31 03:08:48 +00:00
Andrei Gorbachev d321280804
[GPU] Refactor: roi_pooling, matrix_nms, multiclass_nms, proposal, nms_rotated (#22199)
* add roi_pooling

* add matrix_nms

* multicaass_nms

* add proposal, all skipped

* add nms_rotated

* fix after review

* add multinomial

* change model type

* add custom compare for matrix_nms

* add roi_pooling

* add matrix_nms

* multicaass_nms

* add proposal, all skipped

* add nms_rotated

* fix after review

* add multinomial

* change model type

* add custom compare for matrix_nms

* add custom compare for matrix_nms

* custom compare for multiclass_nms

* edit abs_threshold for gpu fp16

* add custom compare for nms_rotated

* Revert "add multinomial"

This reverts commit 971f7e9431.

* move custom compare into multiclass_nms.cpp

* rm check target device == GPU  multiclass_nms.cpp

* reset shared_test_classes multinomial to master

* rm changes in multinomial

* add device check into nms_rotated compare

* refactor nms_rotated

* restore nms_rotated.cpp

* add matrix_nms

* refactored matrix_nms

* refactor roi_pooling

* update matrix_nms

* rm headers in matrix_nms.cpp

* rm m_outStaticShape

* fix after review
2024-01-30 17:37:19 +00:00
Wanglei Shen 930acbbd1e
Create stream on the node running the app for XEON latency mode on Linux (#22402)
* enable feature

* update for comments

* update for comments
2024-01-30 14:28:45 +00:00
Haiqi Pan d2fd6b9503
[Core] remove file_utils.h (#22148)
* remove file_utils.h

* Revert "remove file_utils.h"

This reverts commit 8e03de5593.

* remove file_utils.h

* remove file_utils.h in ov_shared_object_test.cpp

* remove file_utils.h in core.cpp

* remove file_utils.h in ie_extension_test.cpp

* remove file_utils.h in ie_network_reader.cpp

* remove file_utils.h in compilation_context.cpp

* fix conflits

* fix conflits

* fix conflits

* remove file_utils.h in src/frontends/ir/tests/meta_data_tests.cpp

* remove file_utils.h in src/frontends/tests/frontend/shared/include/utils.hpp

* remove file_utils.h in src/tests/functional/plugin/shared/include/behavior/plugin/core_threading.hpp

* Revert "remove file_utils.h in src/tests/functional/plugin/shared/include/behavior/plugin/core_threading.hpp"

This reverts commit 445af3656e.

* remove file_utils.h in src/tests/functional/plugin/shared/include/behavior/plugin/core_threading.hpp

* Revert "remove file_utils.h in src/tests/functional/plugin/shared/include/behavior/plugin/core_threading.hpp"

This reverts commit 6d7e6aecf2.

* fix conflicts in src/inference/src/compilation_context.cpp

* fix code style in src/inference/src/ie_core.cpp

* fix code style in src/inference/src/ie_network_reader.cpp

* fix code style in src/inference/tests/functional/ov_shared_object_test.cpp

* fix code style in src/inference/tests/functional/ov_shared_object_test.cpp

* add make_path

* remove file_utils.h in src/plugins/intel_cpu/tests/functional/extension/extension.cpp

* remove file_util.h in src/tests/test_utils/common_test_utils/include/common_test_utils/unicode_utils.hpp

* remove file_util.h in src/tests/functional/plugin/shared/src/onnx/quantized_models_tests.cpp

* remove file_utils.h in src/frontends/paddle/tests/read_paddle_model_test.cpp

* remove file_utils.cpp in cmake

* fix code style

* remove file_utils.h in src/frontends/onnx/tests/onnx_reader_external_data.cpp

* remove OV_STATIC_DEPENDENT_FILES in cmake
2024-01-30 14:09:15 +00:00
Ilya Lavrenov b0e507c6c3
Removed runtime::Tensor alias (#22429)
* Removed AllocatorImpl, runtime::Tensor alias

* Update OMZ

* Updated submodule
2024-01-30 11:34:21 +00:00
Yury Gaydaychuk cb679a73c9
[Commit Slider] Map of cashed path added as utility + Test infra (#21919)
* extended  as util

* resolver added

* map generating added in config option

* fix minor bug

* test infra added

* minor fixes

* refactoring 1

* minor fix

* tests refactored

* csv builder utility added

* print csv as default

* code review
2024-01-30 10:48:14 +00:00
Tingqian Li 3afad96899
[CPU] keep infer-precision for f32=>i32 convert (#22284)
* fix debug-log, add regex infer-prec pattern, keep infer-prec for convert

* simplify the condition

* add test case
2024-01-30 09:11:52 +00:00