Commit Graph

15138 Commits

Author SHA1 Message Date
Ivan Novoselov e56310999c
[Snippets] TPP FP32 MHA support (#22210)
### Details:
 - *Enable FP32 MHA lowering using TPP backend*
- *This PR is a productization of the [TPP integration
POC](https://github.com/openvinotoolkit/openvino/pull/20956)*
### Prerequisites:
- https://github.com/openvinotoolkit/openvino/pull/21303
- https://github.com/openvinotoolkit/openvino/pull/21672

Branch to Branch PR in to review the changes before the Prerequisites
are merged: https://github.com/IvanNovoselov/openvino/pull/18

---------

Co-authored-by: egeorgan <evangelos.georganas@intel.com>
2024-04-22 14:52:42 +00:00
Jan Iwaszkiewicz a19c34a0f7
[PyOV] Limit numpy to major version (#24103)
### Details:

Numpy started preparation to release 2.0 version.
It brings many breaking changes listed below.
Align with these changes it's a plan for further development
(CVS-138766), for today we want to secure users against unintentional
installation of 2.x version of numpy with OV.

This PR has to be ported for 2024/1 branch

- Preparing to restrict OV to not use release of Numpy 2.0 which may
introduce many breaking changes including:
     - required bump of `pybind` to 2.12+
     - API and namespaces clean-ups and deprecations
     - behavior changes of keywords such as `copy`
- changes to existing and introduction of new dtypes (such as
`StringDType` and possibility of adding custom ones)
- more can be found here:
https://numpy.org/devdocs/release/2.0.0-notes.html
- and here:
https://numpy.org/devdocs/numpy_2_0_migration_guide.html#numpy-2-migration-guide
 
### Tickets:
 - CVS-138838

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2024-04-22 13:47:49 +00:00
Maciej Smyk f9f41bd52e
[DOCS] Removal of openvino_ts backend from torch.compile for master (#24074)
Removed information on openvino_ts backend from user documentation.

---------

Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
2024-04-22 12:12:20 +00:00
Haiqi Pan 3b6f3db6af
[API CONFORMANCE] execution_mode and inference_precision as optional properties for SW plugins (#23805)
### Details:
 - *[API][AUTO] Plugin is not supported some mandatory hint properties*

### Tickets:
 - *CVS-137446, CVS-136746, CVS-136754*

---------

Co-authored-by: Chen Peter <peter.chen@intel.com>
2024-04-22 10:56:11 +00:00
Luo Cheng e46b912f78
[CPU] PagedAttention support u8 kv cache (#23908)
### Details:
 - *Support u8 precision of kv cache*
 - *Depend on https://github.com/ilya-lavrenov/vllm/pull/28*

### Tickets:
 - *[137493](https://jira.devtools.intel.com/browse/CVS-137493)*
2024-04-22 10:39:50 +00:00
Wang, Yang 1d8e27c61e
[AUTO] Fix the mismatch issue between AUTO tensor shape and HW tensor shape (#23827)
### Details:
- Correct tensor shape of AUTO before setting it to selected HW infer
request.
- Remove CPU shape.compatible checks when setting output tensor with
dynamic shape

### Tickets:
 - CVS-136756
2024-04-22 09:52:03 +00:00
Ilya Lavrenov 007ed84886
Improved cross-compilation with python (#24160)
### Details:
 - Improved cross-compilation with python
 - It's important for RISC-V enablement 
 - Depends on https://github.com/openvinotoolkit/openvino/pull/24140
2024-04-22 18:33:05 +04:00
Ilya Lavrenov 5b07693667
Updated pybind11 to 2.12.0 (#24140)
### Details:
 - Removed WA for cross-compilation case
- It's possible because fix https://github.com/pybind/pybind11/pull/4856
is included to latest released version
2024-04-22 15:03:02 +04:00
Zhang Yi 147cf78079
[CPU]Fix profile graph (#23699)
### Details:
 - *Fix profile graph construction*

### Tickets:
 - *CVS-136859*
 - https://github.com/openvinotoolkit/openvino.genai/issues/327
2024-04-22 09:09:27 +00:00
Jan Iwaszkiewicz 586065e293
[PyOV] Introduce get_data with copy/view in Constant (#23771)
### Details:
- Constant's function `get_data` is extended to provide both copy and
view of the data.
 - `get_data` can now cast date to desired dtype.
 - Added testcases.

Example:
```python
In [1]: import openvino as ov

In [2]: import numpy as np

In [3]: arr = np.array([1.0, 1012.5, 0.0, 0.1, 0.5], dtype=np.float32)

In [4]: c = ov.runtime.opset13.constant(arr, dtype=np.float32)

In [5]: c.get_data(dtype=np.bool_)
Out[5]: array([ True,  True, False,  True,  True])

In [6]: c = ov.runtime.opset13.constant(arr, dtype=ov.Type.bf16)

In [7]: c.get_data(dtype=np.float32)
Out[7]: 
array([1.0000000e+00, 1.0120000e+03, 0.0000000e+00, 9.9609375e-02,
       5.0000000e-01], dtype=float32)

In [8]: c.get_data(dtype=np.float32, copy=False)
Out[8]: 
array([1.0000000e+00, 1.0120000e+03, 0.0000000e+00, 9.9609375e-02,
       5.0000000e-01], dtype=float32) 
```
### Tickets:
 - CVS-129930
 - CVS-127292
2024-04-22 08:22:05 +00:00
Ilya Lavrenov f28a0bb239
Returned back tests with ONNX RT (#24150)
### Details:
 - Returned back tests with ONNX RT
2024-04-22 08:03:10 +00:00
Roman Kazantsev 81f7129085
[TF FE] Extend layer tests for LookupTableFindV2 with string keys (#24138)
**Details:** Extend layer tests for LookupTableFindV2 with string keys.
Merge after
https://github.com/openvinotoolkit/openvino_tokenizers/pull/120

**Ticket:** TBD

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-04-22 08:02:26 +00:00
Sun Xiaoxia cc00094cc0
Correct the CPU pinning on platforms which P/E Cores are in interleave sequence (#24011)
### Details:
- Fix wrong binding to 6E+1P cores on MTL windows with command "-pin
HYBRID_AWARE -nthreads 7"
 - Correct binding cores: 6P+1E
 - Add test case
 - Add CPU debug on Windows and Mac

### Tickets:
 - *CVS-138630*
2024-04-22 07:53:09 +00:00
Roman Kazantsev 5a18bc1277
[TF FE] Extend StringSplitV2 layer tests and fix warnings (#24148)
**Details:** Extend StringSplitV2 layer tests and fix warnings. Merge
after https://github.com/openvinotoolkit/openvino_tokenizers/pull/121

**Ticket:** TBD

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-04-21 21:23:24 +00:00
Vitaliy Urusovskij 254296e4a0
Remove skip of `RNNSequenceTest` CPU test (#23836)
### Tickets:
 - CVS-123321
2024-04-21 20:42:42 +00:00
Ilya Lavrenov 7255669846
Check Debian job against latest released packages (#23885)
### Details:
- Check Debian job against latest released packages. Currently, 2023
debian repo is used
2024-04-21 01:32:15 +04:00
Zlobin Vladimir 5440a4d35d
Don't upload samples test results (#23251)
I don't see why it's useful. pytest is good at at printing the results
to terminal anyway
2024-04-20 08:25:53 +00:00
Taylor Yeonbok Lee 170a8781a4
[GPU] Optimize FC kernels for INT4 vector * matrix with short output size (#24040)
### Details:
- Currently, in dynamic shape, ofm size is fixed as 2 because it is is
tightly coupled by weight layout (i.e., tile_ofm == 2 requires
os_iyx_osv32 weight format)
- For Vec*Mat case (b==1, used for 2nd+ token generation in LLMs) with
small output size N, this configuration is not good because of the
limited # of gpu threads.
- To increase GPU threads, needed to 1) reduce the ofm size to 1 2) But
still share the weight format with first token case where ofm=2 is good.
- Previously the os_iyx_osv32 weight format was packing int4 weight with
the following order:
k0_f0f16 | k0_f1f17 | .... | k0_f15f31 || k1_f0f16 | k1_f1f17 | ... |
k1_f15f31
- To use common weight format for ofm=1 and ofm=2, implemented a new
weight format for int4 dtype, where the weight is stored int the
following order:
f0_k0k1 | f1_k0k1 | .... | f15_k0k1|| f16_k0k1 | f17_k0k1 | ... |
f31_k0k1

### Tickets:
 - 138296
2024-04-19 23:45:13 +00:00
Mikhail Ryzhov a6265c136b
[GHA] Move tokenizers build to reusable job (#23909)
### Details:
 - Move tokenizers build to reusable job

### Tickets:
 - *132908*

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-04-19 19:12:17 +00:00
Andrei Kashchikhin 05f06192d6
[CI] [GHA] Collect workflow rerunner statistics (#24054)
Based on #23865.

### Tickets:
 - *138639*
2024-04-19 15:38:18 +00:00
Anastasiia Pnevskaia fbac30c538
Fix passing of bf16 and string types to convert model(). (#24113)
### Details:
- Removed internal conversion of all typed passed to `convert_model()`
to `np.dtype`, as some types do not have `numpy` analogs, which causes
errors. Also this step is redundant as we can use `ov.Type` instead.

### Tickets:
 - 138755
2024-04-19 15:31:51 +00:00
Mateusz Mikolajczyk 0360b2e737
[Op][Core] Change ScatterNDUpdate-14 to opset15 (#24094)
### Details:
 - *Upgrade opset for ScatterNDUpdate from 14 to 15*
 - *...*

### Tickets:
 - *138734*
2024-04-19 15:21:49 +00:00
Attila Csok 4316a248ae
[intel-npu] Unpublishing ov::internal properties (#23986)
### Details:
Changes in intel-npu plugin:
- Removing ov::internal properties from public supported_properties list
- publishing model_priority property in supported_properties
2024-04-19 12:51:39 +00:00
Denis Orlov d75a8c01f0
[GHA] Increase timeout for CPU functional tests (#24096)
### Tickets:
 - 138580
2024-04-19 11:46:19 +00:00
Roman Kazantsev a6d64cf3e1
[TF FE] Xfail Mod and FloorDiv tests and correct Conv3D test (#24126)
**Details:** Xfail Mod and FloorDiv tests due to sporadic inference
mismatch results. Correct Conv3D test to decrease workload to pass
timeout.

**Tickets:** 138904, 138713

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-04-19 16:49:09 +02:00
Mikhail Ryzhov f2bd4d36bd
Python bindings build conflict (#24060)
### Details:
custom cmake commands run in parallel and one of them removes the
directory used by another one.

### Tickets:
 - CVS-138323
2024-04-19 10:19:04 +01:00
Paul Youngsoo Ahn 6cc755b025
[GPU] Add runtime_skippable to load / store APIs for model-cache (#24128)
### Details:
 - *Add runtime_skippable to load / store APIs for model-cache*

### Tickets:
 - *137650*
2024-04-19 05:57:53 +00:00
Mikhail Ryzhov dc8db45db4
[GHA] Replace sscache with compressed ccache (#24039)
### Details:
- use custom compressed action to restore/save cache, it should solve
network related issued with sccache and speedup the build from cache
(from 10 to 6 minutes)
 - 
### Tickets:
 - *ticket-id*
2024-04-18 18:49:34 +00:00
Mikhail Ryzhov aa2beefff8
[GHA] Split ccache by branches (#24112)
### Details:
- the both release and master branches use the same caches and may
conflict

### Tickets:
 - *ticket-id*
2024-04-18 18:10:04 +00:00
Roman Kazantsev cfcb6320f9
[MO Tests] Remove unit tests for no longer needed IR Reader (#24090)
**Details:** Sometimes it generates sporadic failures in precommit.

**Ticket:** 138724

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-04-18 16:35:56 +00:00
Bogdan Pereanu 7d56aeb91f
[NPU] Use the friendly name of the tensor instead of the legacy name of it (#23945)
### Details:
 - *Use friendly name of the tensor instead of legacy name of it*
 - *...*

### Tickets:
 - *ticket-id*
2024-04-18 14:26:16 +00:00
Karol Blaszczak fe840924c8
[DOCS] language in Quantization article master (#24075) 2024-04-18 13:16:45 +00:00
Karol Blaszczak 3aa998a078
DOCS-removeGNA-link-from-dev-doc (#24064) 2024-04-18 13:16:39 +00:00
Alicja Miloszewska cac2777c5e
[JS API] Add config param to Core.import_model() (#24023)
### Details:
 - add `Core.import_model(stream, device_name, config[optional})
- add ` ov::AnyMap to_anyMap(const Napi::Env&, const Napi::Value&)`
helper for conversion from Napi::Value to ov::AnyMap and reuse it in
other methods

### Tickets:
 - *136460*
2024-04-18 09:59:03 +00:00
Bartlomiej Bielawa 6029d1012d
[DOCS] Bump Sphinx and Pydata versions (#24083)
Sphinx -> 7.2.6
PyData -> 0.14.4

---------

Co-authored-by: Andrzej Kopytko <andrzejx.kopytko@intel.com>
Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
2024-04-18 09:56:42 +00:00
Steve Yoo 7b7650e86e
[GPU] Add conditions to roll operator== (#24098)
### Details:
 - *Add conditions to roll operator==.*
 - *The conditions affected operations on Windows only.*

### Tickets:
 - *137794*
2024-04-18 09:06:15 +00:00
Irina Efode 2d22b92abd
[ TRANSFORMATIONS ] Support of multi input nodes an optional pattern (#23651)
### Details:
 - *Support of multi-in nodes as optional*
 - *Remove supporting of operations with empty inputs*

### Tickets:
 - *[133317](https://jira.devtools.intel.com/browse/CVS-133317)*
2024-04-18 07:48:57 +00:00
Nikolay Shchegolev 77f69957b1
[CPU][GPU] Mismatch tensor and port types: i64 vs i32 (#23859)
HETERO plugin ('HETERO:GPU,CPU') raises an error [GPU] Mismatch tensor
and port types: i64 vs i32

### Details:
 - *Do not convert Result element type after Extension if required;*
- *Eliminate converts after the second call of the ConvertPrecisoin
pass;*
 - *Support string input in the `benchmark_app`*.


### Tickets:
 - *136752*
2024-04-18 07:18:15 +00:00
Andrei Kashchikhin a3ababde4d
[CI] [GHA] Introduce external PR labeller (#23961)
### Details:
- This PR introduces a PR labeller for external PRs. It will add the
`ExternalPR` label to a PR whose author is not in the `openvino`
collaborator list.

It will not work from a PR as it has a `pull_request_target` trigger for
the secrets. I've tested it locally.

### Tickets:
 - *135090*
2024-04-18 06:37:18 +00:00
Roman Lyamin 0c0715a3e9
[GPU] Added dynamic check in BroadcastAndPadZeroPointBuffers (#24095)
### Tickets:
 - *[138263](https://jira.devtools.intel.com/browse/CVS-138263)*
2024-04-18 06:32:54 +00:00
Steve Yoo e1753bded6
[GPU] Reshape keeps data padding of padded input (#23880)
### Details:
 - *Fix to keep reshape data padding of padded input*

### Tickets:
 - *137553*
2024-04-18 06:05:17 +00:00
Andrei Gorbachev 659bbd7f9f
[Coverity] fix coverity (#24065)
### Details:
 - *fix coverity*

### Tickets:
 - *CVS-136537, CVS-136539,CVS-136540, CVS-136542*
2024-04-18 06:03:55 +00:00
Mateusz Mikolajczyk d4c7063d17
[Spec][Opset15] Add ScatterNdUpdate-15 specification (#23443)
### Details:
 - *Specification for ScatterNdUpdate-15*
 - *Add reduction attribute*
 - *Improve compatibility with TF TensorScattterUpdate op

### Tickets:
 - *11089*
2024-04-18 05:18:18 +00:00
Roman Kazantsev 176e63c5e9
[TF FE] Fix layer tests for binary operations (#24080)
**Details:** Fix layer tests for binary operations

**Ticket:** TBD

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-04-17 12:47:24 +00:00
Pawel Raasz d199994806
[core] Convert limit NF4 conversion to FP16 -> NF4 (#23806)
### Details:
- Limit NF4 conversion to FP16 -> NF4 in convert operator as values are
correctly quantized, Not support NF4 conversion to/from other types.

### Tickets:
 - [CVS-135304](https://jira.devtools.intel.com/browse/CVS-135304)
2024-04-17 12:35:53 +00:00
Prakash fd59da5dba
[OV JS] Expose Model.setFriendlyName and Model.getFriendlyName methods to Node.js api (#23743)
This fixes #23566   

Implemented Model.setFriendlyName and Model.getFriendlyName in Node.js
api

- Added Parameter Validation
- Added Tests in model.test.js

---------

Co-authored-by: Vishniakov Nikolai <nikolai.vishniakov@intel.com>
2024-04-17 12:12:08 +00:00
adismort14 ef2ca66b8b
Added argument check and corresponding node runner test for the get_shape method (#23637)
This Fixes #23441 issue.

Details:

1. Modified get_shape() method to report error in case any argument is
passed.
2. Added Required Tests for the above in `tensor.test.js`.

---------

Co-authored-by: Vishniakov Nikolai <nikolai.vishniakov@intel.com>
Co-authored-by: Alicja Miloszewska <alicja.miloszewska@intel.com>
2024-04-17 12:11:46 +00:00
Sergey Shlyapnikov e03e716752
[GPU] Add ellipsis mode support for strided slice (#24069)
### Details:
- Add proper handling of ellipsis mask for static and dynamic scenarios
for Strided Slice operation

### Tickets:
 - 138037
2024-04-17 11:59:54 +00:00
David Pava c81f4e194b
[NPU] Adding a check for the input size in zero compiler (#23940)
### Details:
- The compilation of a model without inputs was failing because the
serialization in zero compiler expected at least one input.

### Tickets:
 - EISW-107905
2024-04-17 11:52:16 +00:00
Mateusz Mikolajczyk 345a31ce7e
[Op][Core] Add ScatterNDUpdate-14 core and reference (#23754)
### Details:
 - *Add core implementation for ScatterNDUpdates-14*
 - *Add reference implementation for ScatterNDUpdates-14*

### Tickets:
 - *111098*
 - *111091*
 - *111093*
2024-04-17 10:48:40 +00:00