Commit Graph

15615 Commits

Author SHA1 Message Date
Xiping Yan e922edf299
Add test case to verify 4bit precision input model. (#24774)
### Details:
- *Complete the remaining work after the
[PR](https://github.com/openvinotoolkit/openvino/pull/24297) is merged.*
 - *Add test case.*

### Tickets:
 - *141542*

---------

Signed-off-by: xipingya <xiping.yan@intel.com>
Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>
2024-06-06 03:23:26 +00:00
David Nam b1bc59e72d
[GPU] Fix Loop to cover the case where memory is null at the first iteration (#24776)
### Details:
 - Handle the case where from_mem is null at the first iteration 

### Tickets:
 - 141652
2024-06-05 21:49:34 +00:00
Attila Csok 9d208241f0
[intel-npu] Adding new properties to tests (#24865)
### Details:
- Adding missing property tests to npuFuncTests: EXECUTION_MODE_HINT,
DEVICE_TYPE, PCI_INFO and DEVICE_GOPS

### Tickets:
 - none
2024-06-05 18:48:13 +00:00
Tomasz Jankowski a156b69ccc
[Core] Deprecate ambiguous ov::element::Type ctor (#24698)
### Details:
 - Added deprecation mark to ambiguous ov::element::Type ctor

(https://github.com/openvinotoolkit/openvino/pull/11211#discussion_r834939746)
### Tickets:
 - CVS-133840

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2024-06-05 18:30:41 +00:00
Zlobin Vladimir 00d525f5a2
Export OpenVINOGenAI_DIR (#24683) (#24870)
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2024-06-05 22:43:26 +04:00
Mikhail Ryzhov 13922e7515
[GHA] Win-CC decrease build jobs (#24869)
### Details:
Without thread limitation win-cc pipeline fails with run out of memory
error:

https://github.com/openvinotoolkit/openvino/actions/runs/9384908136

set 16 threads

### Tickets:
 - *ticket-id*
2024-06-05 17:10:04 +00:00
rghvsh c87cf86489
[ONNX] Align behavior of ONNX Frontend operator ReduceMean-11, 13, 18 with original framework (#23148)
### Details:
- Align behavior of ONNX Frontend operator ReduceMean-11, 13, 18 with
original framework

### Tickets:
 - Closes https://github.com/openvinotoolkit/openvino/issues/20556

---------

Co-authored-by: Georgy Krivoruchko <georgy.krivoruchko@intel.com>
2024-06-05 13:30:37 +00:00
Tomasz Jankowski de4d00a597
[Core] Fix coverity issues (#24838)
### Details:
 - Used move instead of copy.

### Tickets:
 - CVS-121621
2024-06-05 12:12:57 +00:00
Mikhail Ryzhov 41d460f7ac
[GHA] Pinned MSVC toolset version (#24860)
### Details:
 - Pinned MSVC toolset version
 - removed hardcoded jobs count
 
### Tickets:
 - *ticket-id*
2024-06-05 12:10:14 +00:00
Yamini Nimmagadda 9e662351e8
torch.compile documentation updates for 2024.2 (#24803)
### Details:
 - Updated 'How to Use' and 'Options' sections
 - Added quantization and torchserve sections

---------

Co-authored-by: Mustafa Cavus <mustafa.cavus@intel.com>
Co-authored-by: suryasidd <surya.siddharth.pemmaraju@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
2024-06-05 08:33:04 +00:00
Mikhail Ryzhov aa04a9bcfa
[WIN-CC] Support the latest msvc (19.40) (#24849)
### Details:
 - Aligned build jobs with runner configuration to speed up the build
- added temporary variable data_type to resolve internal compilation
error with the new msvc (19.40)

https://jira.devtools.intel.com/browse/CVS-142993

### Tickets:
 - *ticket-id*
2024-06-05 08:32:25 +00:00
Alicja Miloszewska cf22524dcb
[OV JS] Add methods descriptions for Model, Tensor & InferRequest (#24768)
### Details:
 - Add methods descriptions for Model, Tensor & InferRequest

---------

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2024-06-05 07:37:00 +00:00
Chen Xu dd0846b8d5
[CPU] [Snippets] Fix performance regression in calling parallel_nt (#24832)
### Details:
- *This PR fixes geomean level performance issue caused by
https://github.com/openvinotoolkit/openvino/pull/23180 on platforms with
sufficient cores.*
- *In the PR mensioned above, `parallel_nt` is used for executing
subgraph instead of `parallel_for5d`, becuase the former has performance
advantage for the case where #tasks is more than #threads*. That is
becuase using `parallel_nt`, we can initilize parameters for each
thread, while parameters are initilized for each task in using
`parallel_for5d`. So `parallel_nt` has less overheads.
- *However, for the case where #tasks is less than #threads,
`parallel_nt` brings performance regression. Because compared with
`parallel_for5d`, `parallel_nt` doesn't apply the argument
`tbb::static_partitioner{}` when calling `tbb::parallel_for`. Here we
use `parallel_nt_static` instead to fix the performance regression.*
2024-06-05 07:27:36 +00:00
Vladimir Paramuzov f952f73d6b
[GPU] Fix decompression scales reorder when data is reused (#24842)
### Details:
- In case when scale tensor was used by multiple compressed FCs we had
an exception on attempt to insert reorder between them. This patch
changes reorder name so now multiple reorders are inserted for each
Scale+FC pair, and then on later stages we merge them if they do same
tensor transform.
2024-06-05 06:10:37 +00:00
Roman Lyamin adb590d5f4
[GPU] Added RoPE support for Llama2, Llama3 and Phi-3 (#24829)
### Tickets:
 - *[119150](https://jira.devtools.intel.com/browse/CVS-119150)*
 - *[141777](https://jira.devtools.intel.com/browse/CVS-141777)*
2024-06-04 22:16:48 +00:00
Georgy Krivoruchko c45a46edca
[TFLite] Added implementation details (#24835)
### Details:
 - Added an implementation details for sparse-tensors reading

### Tickets:
 - N/A

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-06-04 18:49:05 +00:00
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