Commit Graph

15599 Commits

Author SHA1 Message Date
Andrei Kashchikhin 52d0a44d3f
[CI] [GHA] Set actions references to specific commit hash; provide explicit top level token permissions for jobs (#24839)
### Details:
- Token permissions docs:
98ec491a88/docs/checks.md (token-permissions)
- Actions by hash docs:
98ec491a88/docs/checks.md (pinned-dependencies)

### Tickets:
 - *142943*
 - *142944*
2024-06-04 18:17:51 +00:00
Roman Kazantsev 65b5b8e1b7
[MOC] Implement EliminateLoopInputsOutputs (#24786)
**Details:** EliminateLoopInputsOutputs transformation helps to avoid an
isolated sub-graphs `Parameter->Result` in a body graph of `Loop` and
`TensorIterator`. Such sub-graphs are useless and can by-pass `Loop`
operation.

**Ticket:** 142440

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Co-authored-by: Evgeny Kotov <evgeny.kotov@intel.com>
Co-authored-by: Tikhonov Ivan <ivan.tikhonov@intel.com>
2024-06-04 12:37:16 +00:00
Andrew Kwangwoong Park 1a70c4002c
[GPU] Optimize RMS kernel (#24831)
### Details:
 - Optimize RMS kernel by subgroup block IO
 - Compute maximum possible LWS and the number of data in subgroups
- Add test cases which covers leftover handling and unaligned data shape

### Tickets:
 - 141845

---------

Signed-off-by: Andrew Park <andrew.park@intel.com>
2024-06-04 11:02:12 +00:00
Luo Cheng d954a80161
[CPU] Add inplace and jit for ROPE (#24788)
### Details:
 - *Add inplace and jit if possible*
 - *...*

### Tickets:
 - *ticket-id*
2024-06-04 10:20:18 +00:00
Karol Blaszczak a23c9d5b5a
[DOCS] benchmark data for LLM master (#24834) 2024-06-04 09:25:38 +00:00
Razvan Apetroaie 1a6ddfff60
[NPU] Add the "create_executor" property inside the Plugin's list as well (#24828)
### Details:
- `ov::intel_npu::create_executor` is declared a supported property only
for the `intel_npu::CompiledModel` class. The current PR adds an entry
inside `intel_npu::Plugin` as well.

### Tickets:
 - *CVS-143060*
2024-06-04 09:19:21 +00:00
Brett Jia f1862e4d20
build: fix Python platform architecture tag for armv7l (#24772)
On arm32 (armv7), the platform tag should be `armv7l` as per
https://peps.python.org/pep-0599/
2024-06-04 12:54:20 +04:00
Roman Lyamin df6a25800d
[GPU] Added RoPE support for ChatGLM and Qwen (#24756)
### Details:
- Added support RoPE for ChatGLM and Qwen models
- Moved and refactored RoPE functional tests

### Tickets:
 - *[119150](https://jira.devtools.intel.com/browse/CVS-119150)*
2024-06-03 10:34:13 +00:00
Sergey Shlyapnikov ba8d6c5de5
[GPU] SDPA minor improvements (#24770)
### Details:
- Change the default softmax accumulator type from FP16 to FP32 (this
doesn't affect performance, as well as accuracy at first glance;
however, let's stick to higher precision here)
- Applied review comments from PR
https://github.com/openvinotoolkit/openvino/pull/24466
- Minor internal operations refactoring (SDPA and IndirectSDPA)
- Add new tests for GQA optimization and for indirect inputs
2024-06-03 10:34:13 +00:00
Taylor Yeonbok Lee cea8e1f5e4
[GPU] Fixed unexpected kv cache optimization turned off (#24805)
### Details:
- kv cache opt was disabled due to the wrongly detected beam table size.
Fixed this issue.
### Tickets:
 - *ticket-id*
2024-06-03 10:34:13 +00:00
Katarzyna Mitrus 142114ccbc
[Op] Squeeze update - no throw on non-squeezable dims (#24715)
### Details:
- Changes needed to enable Squeeze (and models) with axes pointing to
non-squeezable dims (currently ov throws an error for such case) -
considered as backward compatible change
- If agreed to update functionality within the same version of the op,
actual changes are needed only in shape infer related functions to cover
**Template, CPU and GPU plugins**:
    -  src/core/shape_inference/include/squeeze_shape_inference.hpp
    -  src/plugins/intel_cpu/src/shape_inference/custom/reshape.cpp
    -  The rest of the changes are test related.
 - Pytorch FE Squeeze test enabled - passed

### Tickets:
 - 142387
2024-06-03 09:59:07 +00:00
Alicja Miloszewska 56d184dbb1
[OV JS] Add method descriptions for Core (#24693)
### Details:
 - Add method descriptions to TS for Core

### Tickets:
 - *141290*

---------

Co-authored-by: Sebastian Golebiewski <sebastianx.golebiewski@intel.com>
2024-06-03 07:31:07 +00:00
Alexandra Sidorova f859992efe
[Tests] Fixed debug info about ranges (#24790)
### Details:
- *Removed Debug info printing by default from
https://github.com/openvinotoolkit/openvino/pull/23428*
 ```
[ RUN ]
smoke_Snippets_Softmax/Softmax.CompareWithRefImpl/IS=[?.?]_TS=((1.16))_((1.32))_((1.1))_((1.9))_((1.17))_((1.19))_((1.49))_((1.50))_((5.16))_((1.16))_((1.9))_Axis=-1_#N=1_#S=1_targetDevice=CPU

MEM_USAGE=3007144KB
RANGE FOR PARAMETER: Parameter_1590025 start from: 0.000000 range: 8
resolution: 32 seed: 1
RANGE FOR PARAMETER: Parameter_1590025 start from: 0.000000 range: 8
resolution: 32 seed: 1
RANGE FOR PARAMETER: Parameter_1590025 start from: 0.000000 range: 8
resolution: 32 seed: 1
RANGE FOR PARAMETER: Parameter_1590025 start from: 0.000000 range: 8
resolution: 32 seed: 1
RANGE FOR PARAMETER: Parameter_1590025 start from: 0.000000 range: 8
resolution: 32 seed: 1
RANGE FOR PARAMETER: Parameter_1590025 start from: 0.000000 range: 8
resolution: 32 seed: 1
RANGE FOR PARAMETER: Parameter_1590025 start from: 0.000000 range: 8
resolution: 32 seed: 1
RANGE FOR PARAMETER: Parameter_1590025 start from: 0.000000 range: 8
resolution: 32 seed: 1
RANGE FOR PARAMETER: Parameter_1590025 start from: 0.000000 range: 8
resolution: 32 seed: 1
RANGE FOR PARAMETER: Parameter_1590025 start from: 0.000000 range: 8
resolution: 32 seed: 1
RANGE FOR PARAMETER: Parameter_1590025 start from: 0.000000 range: 8
resolution: 32 seed: 1
[ OK ]
smoke_Snippets_Softmax/Softmax.CompareWithRefImpl/IS=[?.?]_TS=((1.16))_((1.32))_((1.1))_((1.9))_((1.17))_((1.19))_((1.49))_((1.50))_((5.16))_((1.16))_((1.9))_Axis=-1_#N=1_#S=1_targetDevice=CPU
(132 ms)
 ```

### Tickets:
 - *N/A*
2024-06-03 10:56:36 +02:00
Roman Kazantsev 3497133dc4
[TF FE] Xfail test for Rint on arm (#24810)
**Details:** In pre-commit we observe sporadic failure of Rint test on
arm

**Tickets:** TBD

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-06-03 12:12:42 +04:00
Evgenya Nugmanova fc0b82c1be
[SDPA] relax restriction on L from query and attention_mask being equal (#24745)
### Details:
 - *relax restriction on L from query and attention_mask being equal*

### Tickets:
 - *CVS-129000*
2024-06-03 05:08:53 +00:00
Jade Cho 5a8d75d076
[GPU] Update oneDNN v3.5 (#24787) 2024-06-03 09:35:28 +04:00
duydl 5ea0e96fc2
[TF FE] Support AdjustHue operation (#24769)
### Details:
- Adapt from #24511 . Converting code repeated. Instead import from
there?
- Converting logic a little different from
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/image/adjust_hue_op.cc
. Maybe less efficient?

### Tickets:
 - #24033 

Sorry, commit history is wrong, should have created branch from latest
upstream.

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-06-03 00:09:09 +04:00
Maciej Smyk 3ffac369f1
[DOCS] Moving images from index.rst for master (#24798)
Moved images included in index.rst article to articles_en/assets folder.
2024-05-31 13:12:31 +00:00
Wanglei Shen ee0a025ca0
[DOCS] introduce performance hint and threads scheduling in CPU inference (#24147)
### Details:
 - *introduce performance hint and threads scheduling in CPU inference*

### Tickets:
 - *CVS-138834*

---------

Co-authored-by: Sun Xiaoxia <xiaoxia.sun@intel.com>
2024-05-31 11:58:30 +00:00
Sofya Balandina b86fbf8951
[ov_api_conformance] Remove hetero tests as it will be covered by sw device run over template (#24752)
### Details:
 - *item1*
 - *...*

### Tickets:
 - *ticket-id*
2024-05-31 11:37:24 +00:00
dependabot[bot] 5f446b5ebb
Bump py-cpuinfo from 7.0.0 to 9.0.0 in /tests (#24696)
Bumps [py-cpuinfo](https://github.com/workhorsy/py-cpuinfo) from 7.0.0
to 9.0.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/workhorsy/py-cpuinfo/blob/master/ChangeLog">py-cpuinfo's
changelog</a>.</em></p>
<blockquote>
<ul>
<li>Release 9.1.0
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/186">#186</a>:
Move to Python 3 style classes and default UTF-8 encoding</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/194">#194</a>:
Add support for LoongArch</li>
</ul>
</li>
</ul>
<p>10/25/2022 Release 9.0.0</p>
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/178">#178</a>:
Changes to lscpu breaks parsing of cache info</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/152">#152</a>:
CPU stepping, model, and family values are blank if 0</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/177">#177</a>:
Officially drop support for Python 2</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/171">#171</a>:
Replace Python 3.11 deprecated unittest.makeSuite</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/173">#173</a>:
Fix lgtm.com alerts</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/165">#165</a>:
Support Wheel</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/167">#167</a>:
Add support for RISC-V</li>
</ul>
<p>04/14/2021 Release 8.0.0</p>
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/161">#161</a>:
Accept arm64 as an alias for aarch64</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/160">#160</a>:
Add MIPS architecture support</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/74">#74</a>:
Add option to trace code paths to file</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/157">#157</a>:
Remove multiple checks for sestatus</li>
</ul>
<p>07/05/2020 Release 7.0.0</p>
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/133">#133</a>:
CPU flags vary between runs on Mac OS X</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/150">#150</a>:
Change 'byte code' to 'machine code'</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/128">#128</a>:
Overhead from generating machine code throws off CPUID HZ</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/136">#136</a>:
On non BeOS systems, calling sysinfo may open GUI program</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/138">#138</a>:
Invalid escape sequences warn when building in Python 3.8</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/147">#147</a>:
Remove extended_model and extended_family fields</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/146">#146</a>:
CPUID family and model is wrong</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/144">#144</a>:
Cache fields should be full ints instead of kb strings</li>
</ul>
<p>06/11/2020 Release 6.0.0</p>
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/140">#140</a>:
The get_cache function has swapped fields</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/142">#142</a>:
Remove empty and zeroed fields</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/115">#115</a>:
Missing data on Ryzen CPUs</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/122">#122</a>:
Rename fields to be more clear</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/125">#125</a>:
Add option to return --version</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/126">#126</a>:
Make test suite also check SELinux</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/120">#120</a>:
Make unit tests also test CPUID</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/69">#69</a>:
Add s390x support</li>
</ul>
<p>03/20/2019 Release 5.0.0</p>
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/117">#117</a>:
Remove PyInstaller hacks</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/108">#108</a>:
Client script runs multiple times without <strong>main</strong></li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/113">#113</a>:
Add option to return results in json</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/110">#110</a>:
Always tries to run wmic in get_system_info.py</li>
</ul>
<p>04/01/2018 Release 4.0.0</p>
<ul>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/80">#80</a>:
Broken when using Pyinstaller</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/77">#77</a>:
Get L1, L2, and L3 cache info from lscpu</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/79">#79</a>:
Byte formats are inconsistent</li>
<li>Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/81">#81</a>:
Byte formatter breaks on non strings</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4824ec0746"><code>4824ec0</code></a>
Release 9.0.0</li>
<li><a
href="45b5144505"><code>45b5144</code></a>
Merge pull request <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/182">#182</a>
from workhorsy/lscpu_changes</li>
<li><a
href="850e2a0817"><code>850e2a0</code></a>
Merge branch 'master' into lscpu_changes</li>
<li><a
href="a93e04dea7"><code>a93e04d</code></a>
Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/178">#178</a>:
Changes to lscpu breaks parsing of cache info</li>
<li><a
href="21e4f3b2af"><code>21e4f3b</code></a>
Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/152">#152</a>:
CPU stepping, model, and family values are blank if 0</li>
<li><a
href="54e62b796d"><code>54e62b7</code></a>
Added new test that breaks from lscpu changes</li>
<li><a
href="635811dcdd"><code>635811d</code></a>
Merge pull request <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/179">#179</a>
from workhorsy/bye_bye_py2</li>
<li><a
href="5dffea059b"><code>5dffea0</code></a>
Fixed Bug <a
href="https://redirect.github.com/workhorsy/py-cpuinfo/issues/177">#177</a>:
Officially drop support for Python 2</li>
<li><a
href="07eab4ddfb"><code>07eab4d</code></a>
Update build script to build python 3 wheel instead of python 2 and 3
wheel</li>
<li><a
href="f7075479e7"><code>f707547</code></a>
Updated info in readme</li>
<li>Additional commits viewable in <a
href="https://github.com/workhorsy/py-cpuinfo/compare/v7.0.0...v9.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=py-cpuinfo&package-manager=pip&previous-version=7.0.0&new-version=9.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-31 09:07:00 +00:00
Edward Shogulin 33bbfd1883
[CPU] [ARM] JIT Floor (#24041)
### Details:
 - *[CPU] [ARM] jit floor*

### Tickets:
 - *CVS-138572*
2024-05-31 05:31:07 +00:00
Mingyu Kim b669e232c8
[GPU] Do not use shape-agnostic kernel for OneDNN FC fp16 (#24702)
### Details:
 - WA of out-of-bound access for fc kernel.
- Use OneDNN FC kernel for fp16 FC when possible. It hides the issue
because the target platform can use OneDNN.
- For shape-agnostic kernel, TILE_B=8 is chosen. It causes out-of-bound
memory access for LLM 2nd token.

### Tickets:
 - 142277
2024-05-31 01:51:40 +00:00
Bo Liu cf08511954
[CPU][FP16] Migrate from EnfornceInferencePrecision to ConvertPrecision (#23950)
### Details:
- *Migrate FP16 operations mark-up from `EnforceInferencePrecision`
utility to `ConvertPrecision` pass*


### Tickets:
 - *128875*

---------

Co-authored-by: Egor Duplensky <egor.duplensky@gmail.com>
2024-05-31 01:27:45 +00:00
Alexandra Sidorova 2d0e0366f7
[Snippets] United Static and Dynamic Loops into one node (#24525)
### Details:
- *United `LoopEndStatic` and `LoopEndDynamic` into one node `LoopEnd`
to avoid extra conditions in the code and improve performance since some
pointer data shifts might be known and compiled in JIT code*
- *Removed dynamic aarch64 loop emitters since they don't work anyway
CVS-141550*
- *Added support dynamism to `IdentifyBuffers` and
`DefineBufferClusters`. It's not efficient algorithm since we don't know
exact values of data pointer shifts and cannot be sure that they will be
proportionally in runtime. It should be implemented as the separate
feature based on some judgments, for example*

### Tickets:
 - *141268*


### Prerequisites:
- *https://github.com/openvinotoolkit/openvino/pull/21922*
2024-05-30 14:07:46 +00:00
Andrei Kashchikhin 5104769953
[CI] [GHA] Add `Unable to fetch some archives` to errors to look for file (#24782)
### Tickets:
 - *130965*
2024-05-30 13:29:40 +00:00
Ivan Tikhonov 817a835f0a
Do not convert Squeeze/Unsqueeze to Reshape in Symbolic transformations (#24771)
### Details:
Disable EliminateSqueeze/EliminateUnsqueeze passes in
SymbolicOptimizations

### Tickets:
 - *CVS-141814*

---------

Co-authored-by: Evgenya Nugmanova <eva.my.link@gmail.com>
Co-authored-by: Evgenya Nugmanova <evgeniia.nugmanova@intel.com>
2024-05-30 11:20:28 +00:00
Ivan Tikhonov ce7db95d8a
Use Slice operation directly on CPU and update RoPE patterns (#24379)
### Details:
 - SliceToStridedSlice was moved from MOC to Common transformations.
 - Updated RoPE fusion patterns
 - 2 new transformations:  EliminateSlice, SliceSequenceToSingleSlice
- Updated EliminateStridedSlice transformation to support int32_max
case, deleted transformation duplicate from CPU
 - Added new unit tests

Tested locally with these models:

- [x] Means that Model compilation passed, and all RoPE related
transformations were applied in the same order
- [x] hf-internal-testing/tiny-random-StableLmForCausalLM
- [x] hf-internal-testing/tiny-random-FalconForCausalLM
- [x] hf-internal-testing/tiny-random-Starcoder2ForCausalLM
- [x] hf-internal-testing/tiny-random-LlamaForCausalLM
- [x] hf-internal-testing/tiny-random-GPTNeoXForCausalLM
- [x] hf-internal-testing/tiny-random-GPTJForCausalLM
- [x] hf-internal-testing/tiny-random-CodeGenForCausalLM
- [x] hf-internal-testing/tiny-random-MistralForCausalLM
- [x] hf-internal-testing/tiny-random-PhiForCausalLM
- [x] Qwen/Qwen1.5-7B
- [x] THUDM/chatglm3-6b
- [x] EleutherAI/gpt-neox-20b
- [x] google/gemma-2b-it
- [x] EleutherAI/gpt-j-6b
- [x] meta-llama/Meta-Llama-3-8B
- [x] mistralai/Mistral-7B-v0.1

### Tickets:
 - *CVS-126971*
2024-05-30 10:33:58 +00:00
Evgenya Nugmanova a5e9737bab
[PyOV] Added symbolic propoagation to model visualization to enhance OV developer experience (#24763)
### Details:

As a result, you can use this code for most of your needs:

- in a Jupiter notebook
- as a cmd tool
- with model weights being far away

```
def configure_visualizer(enable=True, max_const_elements=7):
    # parameter max_const_elements manipulates the number of first elements of a constant that will be serialized
    # to svg. Put 0 if the model is on a share
    import os
    envs_to_set = [
        'OV_VISUALIZE_TREE_IO',
        'OV_VISUALIZE_TREE_OUTPUT_SHAPES',
        'OV_VISUALIZE_TREE_OUTPUT_TYPES',
        'OV_VISUALIZE_TREE_EDGE_LABELS',
        # symbolic information and partial values
        'OV_VISUALIZE_APPLY_SYMBOLIC_PROPAGATION',
        'OV_VISUALIZE_PARTIAL_VALUES_AND_LABELS'
    ]
    for e in envs_to_set:
        os.environ[e] = '1' if enable else '0'
    os.environ["OV_VISUALIZE_TREE_CONST_MAX_ELEMENTS"] = str(max_const_elements) if enable else "7"


def serialize_model_to_svg(model, output_name='serialized_model.svg'):
    from openvino.runtime.passes import VisualizeTree
    configure_visualizer(True)
    VisualizeTree(output_name).run_on_model(model)
    configure_visualizer(False)


def convert_model_to_svg(input_name, output_name=None):
    import openvino as ov
    core = ov.Core()
    model = core.read_model(input_name)
    if output_name is None:
        output_name = os.path.splitext(os.path.basename(input_name))[0] + '.svg'
    serialize_model_to_svg(model, output_name)


if __name__ == "__main__":
    import sys, os

    arguments = sys.argv[1:]
    if len(arguments) not in [1, 2]:
        print(f"Usage {sys.executable} {__file__} /path/to/model [output_file_name.svg]")
        sys.exit(1)
    output_file = os.path.splitext(os.path.basename(arguments[0]))[0] + '.svg' if len(arguments) == 1 else arguments[1]
    convert_model_to_svg(arguments[0], output_file)
```
2024-05-30 10:03:51 +00:00
Andrei Kashchikhin 10177bfb89
[CI] [GHA] Introduce Dockerfiles for test jobs (#24742)
### Tickets:
 - *141574*
2024-05-30 09:46:12 +00:00
Yury Gaydaychuk 522a3c6a7d
[CPU] Nodes errors handling moved to graph (#24161)
### Details:
 - *item1*
 - *...*

### Tickets:
 - *136887*
2024-05-30 09:23:05 +00:00
JJJohnathan 48f64b6086
[AUTO] Fix memory leak in ov_auto_unit_tests (#24372)
SharedPtr mutual reference fix
### Details:
- use lambda function replacing "Return" function of Gmock in ON_CALL
for *mockIExeNet.get()
- use lambda function replacing "Return" function of Gmock in ON_CALL
for *mockIExeNetActual.get()

"Retrun" function would cause increment of use account of
inferReqInternal and inferReqInternalActual, thereby causing mutual
reference of SharedPtr between mockIExeNet and inferReqInternal or
mockIExeNetActual and inferReqInternalActual.

### Ticket:
   - [CVS-134423](https://jira.devtools.intel.com/browse/CVS-134423)
2024-05-30 09:01:07 +00:00
Andrii Staikov be5fd8b6d4
Add PagedAttention tests to Precommit (#24634)
### Details:
Add tests for the SPDAToPagedAttention transformation to Precommit
1) Check if PagedAttentionExtension node appeared in the model after the
transformation
2) Check 2 last dimensions of 'key_cache.' and 'value_cache.' inputs to
be static.

### Tickets:
 - [CVS-138943](https://jira.devtools.intel.com/browse/CVS-138943)

Signed-off-by: Andrii Staikov <andrii.staikov@intel.com>
2024-05-30 08:58:09 +00:00
Xuejun Zhai 830f56e343
[Windows][Unicode] wstring to string in windows failed (#24606)
### Details:
- Windows std::wstring convert to std::string some unicode will be ???,
such as L"unicode_Яㅎあ" -> "unicode_???"

### Tickets:
 - CVS-141444
 - CVS-141729

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
2024-05-30 08:52:58 +00:00
Mingyu Kim ed09df8adf
[GPU] Reduce the condition for not-using usm-host input buffer (#24761)
### Details:
 - Reduce the condition for not-using usm-host input buffer
- This is to reduce the overhead in next-gen GPU performance where
usm_host is the input buffer

### Tickets:
 - 141493
2024-05-30 05:55:00 +00:00
Taylor Yeonbok Lee cb9c5216ab
[GPU] Fixed beam search scenario for first input is not batched (#24625)
### Details:
- Fixed crash & accuracy issue in beam search scenario when initial
input is not batched

### Tickets:
 - 140755
2024-05-30 01:10:00 +00:00
Sofya Balandina bcd96048b3
[ov_subgraphs_dumper_tests] Fix memory leaks (#24751)
### Details:
 - *item1*
 - *...*

### Tickets:
 - *CVS-134419*
2024-05-29 17:16:34 +00:00
Sergey Shlyapnikov cfb5d4ee84
[GPU] Enable SDPA optimization by default (#24767)
### Details:
This PR is a copy of
https://github.com/openvinotoolkit/openvino/pull/24757 from release
branch, it includes:
- Enabled SDPA by default
- Updated SDPA decomposition rule to cover only well-checked cases
- Updated functional tests accordingly
2024-05-29 16:36:42 +00:00
Edward Shogulin 45e219b450
[LPT] EliminateFakeQuantizeTransformation: bf16 support (#24755)
### Details:
 - *[LPT] EliminateFakeQuantizeTransformation: bf16 support*

### Tickets:
 - *CVS-138910*
2024-05-29 15:21:19 +00:00
Ivan Tikhonov b16108df27
Fix TransposeElimination transformation (#24762)
### Details:
Handle the case when 2nd input of Transpose op is empty

### Tickets:
https://github.com/openvinotoolkit/openvino/pull/23950
2024-05-29 12:56:54 +00:00
Oleg Pipikin 8e0a646eed
Fix coverity 1544154 (#24753)
### Details:
 - Fix coverity 1544154

### Tickets:
 - CVS-140934
2024-05-29 12:21:29 +00:00
Sofya Balandina ae01c973d5
[ov conformance] Enable input range propagation via function (#23428)
### Details:
 - *item1*
 - *...*

### Tickets:
 - *ticket-id*
2024-05-29 11:12:19 +00:00
Chenhu Wang feb0c7eff0
GN decomposition/tokenization test and snippets func test (#23903)
### Details:
 - *GroupNormalization decomposition test*
 - *GroupNormalization tokenization test*
 - *GroupNormalization snippets func test*

### Tickets:
 - *[CVS-136159](https://jira.devtools.intel.com/browse/CVS-136159)*
 - *[CVS-137359](https://jira.devtools.intel.com/browse/CVS-137359)*
2024-05-29 10:45:07 +00:00
Aleksandr Voron 4dfca61bd2
[CPU][ARM] Remove `acl_dw_convolution` from oneDNN (#24636)
This change was reverted by
https://github.com/openvinotoolkit/oneDNN/pull/230 because performance
degradation.

Degradation happens because ACL kernel was not selected due to
convolution check.
It was discussed with ACL team that this check could be removed and ACL
team removed this check in oneDNN.
Then I deleted this check in oneDNN fork:
https://github.com/openvinotoolkit/openvino/pull/24422

Since the check does not prevent us from selecting ACL kernel, we may
remove custom kernel again.

oneDNN PR: https://github.com/openvinotoolkit/oneDNN/pull/251

CVS-142130

TODO:
- [x] do performance check
2024-05-29 09:48:15 +00:00
Maciej Smyk 84cd71a71b
[DOCS] 2024.2 version update for master (#24746)
Docs version update to 2024.2
2024-05-29 09:04:29 +00:00
Mateusz Tabaka 229ce5839b
[NPU] Zero-initialize NpuInferProfiling::_dev_properties (#24758)
ze_device_properties_t has pNext pointer and if it's not nullptr then
it's assumed that it points to a different structure. pNext being
uninitialized can lead to a crash during zeDeviceGetProperties.
2024-05-29 08:52:04 +00:00
Roman Kazantsev 2ec64af350
[DOC][TF FE] Mark new operations for latest release (#24759)
**Details:** Mark new operations for latest release and unmark old ones.

**Ticket:** TBD

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-05-29 07:07:56 +00:00
duydl 3e3bea8985
[TF FE] Support AdjustSaturation operation (#24511)
### Details:
- Parse logic from
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/image/adjust_saturation_op.cc
to openVINO ops

### Tickets:
 - #24034

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-05-29 06:40:23 +00:00
Zhang Yi b66c43a11d
[CPU]Fix Qwen Rope Fusion (#24750)
### Details:
 - *Extend Qwen Rope Fusion*
- *PR to 2024.2 release
https://github.com/openvinotoolkit/openvino/pull/24727*
- *Migrate from original PR
https://github.com/openvinotoolkit/openvino/pull/24725*

### Tickets:
 - *CVS-142523*
2024-05-29 06:22:29 +00:00
Georgy Krivoruchko 60b2068c36
[TFLite] Fixed Densify reading implementation (#24707)
### Details:
 - Fixed Densify reading implementation
 - Added test for Densify
 - Added test for Dequantize
 - Removed unnecessary model test

### Tickets:
 - 127943

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-05-29 06:09:45 +00:00