Commit Graph

15615 Commits

Author SHA1 Message Date
Sergey Shlyapnikov 1e5f025bdd
[GPU] Add initial SDPA implementation (#24466)
### Details:
- Add initial SDPA implementation, input transpose fusions and GQA
related optimization (broadcast fusion)
2024-05-22 11:54:27 +00:00
KianYong Gan 710568bd58
[NPU] Add logger in src/plugins/intel_npu/src/backend/ (#24019)
[NPU] Add logger in src/plugins/intel_npu/src/backend/ to Increase
verbosity of errors returned

### Details:
 Improve log and debug message
 - src/plugins/intel_npu/src/backend/include/zero_backend.hpp
 - src/plugins/intel_npu/src/backend/src/zero_backend.cpp
 - src/plugins/intel_npu/src/backend/src/zero_device.cpp
 - src/plugins/intel_npu/src/backend/src/zero_executor.cpp
 - src/plugins/intel_npu/src/backend/src/zero_infer_request.cpp
 - src/plugins/intel_npu/src/backend/src/zero_init.cpp
 - src/plugins/intel_npu/src/backend/src/zero_pipeline.cpp

### Tickets:
 - *ticket-id*
2024-05-22 11:28:41 +00:00
River Li 0d95325972
[C API] fix element type mismatch issue (#24608)
### Details:
 - *item1*
 - *...*

### Tickets:
 - *ticket-id*
2024-05-22 09:21:45 +00:00
Sebastian Golebiewski 09c05f12a0
[DOCS] Limitation of BF16 inference precision for LLMs (#24501)
Creating `Limitation of the bf16 inference precision` section to
describe an issue of higher accuracy loss than the pre-determined
threshold of 0.5% and present possible solutions.
This PR addresses JIRA ticket: 138832.
2024-05-22 08:45:26 +00:00
Stefania Hergane 63e043bf00
Extend network precision with `u4`, `i4` for L0 backend (#24432)
### Details:
 - *Update `zero_infer_request.cpp` with `u4` and `i4`* for intel_npu.
 - *...*

### Tickets:
 - *E#121561*
2024-05-22 08:04:57 +00:00
Surya Siddharth Pemmaraju e7c60bb18a
Fixed bug with inlined inputs (#24448)
### Details:
- Fixed bug with inlined inputs for fx decoder which were being added as
parameters and are not needed.

### Tickets:
 - (https://jira.devtools.intel.com/browse/CVS-116702)

---------

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
2024-05-22 07:29:36 +00:00
hyunback kim 7f4e76694b
[GPU] gemm_tile supports block read when leftover with 4byte-size align in dynamic. (#24535)
* Use block read in 4byte aligned left-over case. Static was already
used (https://github.com/openvinotoolkit/openvino/pull/23400) This PR
will apply in dynamic.



### Tickets:
 - *141032*

---------

Signed-off-by: hyunback <hyunback.kim@intel.com>
2024-05-22 07:24:13 +00:00
Mustafa Cavus 19fd28b433
Torchfx gptq pattern replacer (#23700)
Required for GPTQ int4 LLMs. (ChatGLM2, ChatGLM3, Llama2)
Includes the transformations below:
- GPTQ Decompression pattern replacer


![image](https://github.com/openvinotoolkit/openvino/assets/59713154/d68ad0c9-473c-4590-a8fe-e62171b72ab7)


- GPTQ Multiplication pattern replacer


![image](https://github.com/openvinotoolkit/openvino/assets/59713154/954b2f1e-b79c-4eed-b5f8-77d56cd776a9)

Ticket: CVS-139181

---------

Co-authored-by: Surya Siddharth Pemmaraju <surya.siddharth.pemmaraju@intel.com>
2024-05-22 05:55:43 +00:00
Aleksandr Voron a1b9b144ef
[CPU][ARM] Enable NHWC Pooling (#24492)
PR has to be merge after
https://github.com/openvinotoolkit/openvino/pull/24491 since ACL 24.04
contains needed fix for Pooling.
CVS-130054
2024-05-22 05:54:20 +00:00
Tingqian Li d8f5d7bdd3
[CPU] Support weight-compression dt s8 (#24457)
### Details:
- FC with symmetrically quantized/compressed weight may have i8 (instead
of u8) as weight data type (it saves the zero-point subtraction cost),
this change added support to such weight dt.
 - oneDNN fork PR: https://github.com/openvinotoolkit/oneDNN/pull/249

### Tickets:
 - *CVS-131042*
2024-05-22 05:37:03 +00:00
Vishniakov Nikolai 16e8db8023
[OV JS] Electron compatibility (#24558)
### Details:
- Fix Electron compatibility on Windows by specifying flag:
`CMAKE_SHARED_LINKER_FLAGS="/DELAYLOAD:NODE.EXE"`

### Tickets:
 - 141536

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2024-05-22 05:36:44 +00:00
dependabot[bot] c744950582
Update h5py requirement from <3.11.0,>=3.1.0 to >=3.1.0,<3.12.0 in /src/bindings/python (#24413)
Updates the requirements on [h5py](https://github.com/h5py/h5py) to
permit the latest version.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="2c80981022"><code>2c80981</code></a>
Merge pull request <a
href="https://redirect.github.com/h5py/h5py/issues/2405">#2405</a> from
takluyver/rever-3.11</li>
<li><a
href="76afe10048"><code>76afe10</code></a>
Add HDF5 1.14.4 fixes to release notes</li>
<li><a
href="009047936d"><code>0090479</code></a>
Merge pull request <a
href="https://redirect.github.com/h5py/h5py/issues/2406">#2406</a> from
ajelenak/libhdf5-1.14.4</li>
<li><a
href="0f071a4d64"><code>0f071a4</code></a>
Merge pull request <a
href="https://redirect.github.com/h5py/h5py/issues/2407">#2407</a> from
h5py/dependabot/github_actions/actions-45223d3826</li>
<li><a
href="944a4a6967"><code>944a4a6</code></a>
Bump peaceiris/actions-gh-pages from 3 to 4 in the actions group</li>
<li><a
href="8f513ced5e"><code>8f513ce</code></a>
Clean up release notes</li>
<li><a
href="62bd813202"><code>62bd813</code></a>
Rename new whatsnew file, add to index</li>
<li><a
href="9c305e23ce"><code>9c305e2</code></a>
Updated CHANGELOG for 3.11.0</li>
<li><a
href="9e107c4a78"><code>9e107c4</code></a>
bumped version to 3.11.0</li>
<li><a
href="71af64dec8"><code>71af64d</code></a>
Merge pull request <a
href="https://redirect.github.com/h5py/h5py/issues/2360">#2360</a> from
loichuder/visit-links</li>
<li>Additional commits viewable in <a
href="https://github.com/h5py/h5py/compare/3.1.0...3.11.0">compare
view</a></li>
</ul>
</details>
<br />


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>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2024-05-22 00:11:31 +00:00
Asthestarsfalll afc3aac267
【Hackathon 6th No.43】add paddle tril_triu (#23982)
### Details:
add paddle tril and triu

### Reference
Code:
https://github.com/PaddlePaddle/Paddle/blob/release/2.6/python/paddle/tensor/creation.py#L1431
Support data type: int32, int64, float32, float64, float16, complex64,
complex128 (openvino do not support float64, float16, complex64
complex128)

### Python simulation code
```python
import paddle

a = paddle.randn((3, 4))


def func(x, diagonal=0, mode='triu'):
    h, w = x.shape
    horizontal_range = paddle.arange(0, w)
    horizontal_range = paddle.unsqueeze(horizontal_range, 0)
    vertical_range = paddle.arange(0, h)
    vertical_range = paddle.unsqueeze(vertical_range, 1)
    if diagonal != 0:
        vertical_range += diagonal
    if mode == 'triu':
        mask = horizontal_range >= vertical_range
    else:
        mask = horizontal_range <= vertical_range
    print(mask)
    return paddle.where(mask, x, paddle.zeros_like(x))


def tril(x, diagonal=0):
    return func(x, diagonal, 'tril')

def triu(x, diagonal=0):
    return func(x, diagonal, 'triu')



b = paddle.tril(a, -1)
c = tril(a, -1)
print(b)
print(c)
print((b==c).mean())

```

### Test


![240411_19h35m47s_screenshot](https://github.com/openvinotoolkit/openvino/assets/72954905/735e1fa0-cd5f-4b56-b7fd-388b95eb1177)


waiting for:
- https://github.com/openvinotoolkit/openvino/pull/23010

---------

Co-authored-by: mei, yang <yang.mei@intel.com>
2024-05-21 19:09:20 +00:00
Przemyslaw Wysocki fba3ec0d47
[Op] `Col2Im-15` reference implementation (#24548)
### Details:
- Similar in functionality to
https://pytorch.org/docs/stable/generated/torch.nn.Fold.html, Col2Im is
`torch.nn.Fold` restricted to two output spatial dimensions

### Tickets:
 - CVS-138919

### Related PRs:
- https://github.com/openvinotoolkit/openvino/pull/24197
- https://github.com/openvinotoolkit/openvino/pull/23947
- https://github.com/openvinotoolkit/openvino/pull/24569

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2024-05-21 18:46:35 +00:00
Sergey Lyalin 1aa2e178d0
PagedAttention transfomration: SDPA with scale input and implicitly broadcasted KV cache (#24596)
Extended model support in PagedAttention transformation:
 - SDPA with `scale` input
- Case when KV inputs into SDPA are implicitly broadcasted by 2nd
dimension.
- More accurate application of PrevSequenceLengthPattern that now can
track batch dimension as well.

Enables tiiuae/falcon-7b and BAAI/AquilaChat2-7B.

---------

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
2024-05-21 18:41:09 +00:00
Vladislav Golubev c17ea55cac
[Snippets] Ubuntu 24.0 build fix (#24612)
### Tickets:
 - *CVS-141872*
2024-05-21 17:13:58 +00:00
Vladislav Golubev 222ba2e585
[Snippets] TPP build fix (#24610) 2024-05-21 16:35:24 +00:00
Sofya Balandina ba6681ee15
Fix some case with overflow data in fill_data_random (#24418)
### Details:
 - *item1*
 - *...*

### Tickets:
 - *ticket-id*
2024-05-21 16:27:31 +00:00
Jan Iwaszkiewicz 0c65b35bb8
[PyOV] Optimize dtype to Type conversion (#24588)
### Details:
- Remove costly conversion to string by replacing it with unique ids of
each dtype.
- More on `dtype.num`:
https://numpy.org/devdocs/reference/generated/numpy.dtype.num.html#numpy.dtype.num

### Tickets:
 - *...*
2024-05-21 15:50:04 +00:00
oogee c76b5f2776
Use shell parameter expansion to make getting source path work in non-bash shells (#24598)
Currently `BASH_SOURCE[0]` was used, which is only available on bash.

I changed it to `${BASH_SOURCE:-$0}` which is supported by at least
bash, zsh and dash, as explained by
[https://stackoverflow.com/a/68359914/9028340](https://stackoverflow.com/a/68359914/9028340)

It uses shell parameter expansion

https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html

https://zsh.sourceforge.io/Doc/Release/Expansion.html#Parameter-Expansion

Addresses #17392
2024-05-21 15:28:52 +00:00
Sofya Balandina 76d3410a7c
[template] Fix debug build for linux (#24490)
### Tickets:
 - *[CVS-138757](https://jira.devtools.intel.com/browse/CVS-138757)*
2024-05-21 15:23:42 +00:00
Evgenya Nugmanova ffc77d0bcc
WA for pass::Manager bug (#24604)
### Details:
 - *WA for pass::Manager bug*

### Tickets:
 - temporary workarounds CVS-141764
2024-05-21 14:56:07 +00:00
Katarzyna Mitrus b71eab2555
[Spec][Internal][Op] Specification for RMS internal op (#24564)
### Details:
- Dev documentation for the existing
[internal::RMS](70142121c1/src/common/transformations/include/ov_ops/rms.hpp)
op
(specified as is without any additional features, to be developed and
updated if needed)
- RMS was created initially as a [custom gpu
RMS](9fadb5ac64/src/plugins/intel_gpu/include/intel_gpu/op/rms.hpp)
operation, and it's going to be moved to op::internal::RMS to be
available for common transformations
- Similar approach as it was done for AUGRUCell/AUGRUSeqence, so the
place for such documents has been already agreed and it's not a part of
the official web docs tree
 
### Tickets:
 - 134914, dicsussion 129027
2024-05-21 14:20:35 +00:00
Sergey Shlyapnikov 248c841e85
[GPU] Fix U8 weights identification as a quantization case (#24488)
### Details:
- Fix the issue where `conv_params.quantization` was not correctly
identified as a quantization case when using U8 weights data (which is
allowed by ConvertConvolutionToInternal transformation pass)

### Tickets:
 - 139740
2024-05-21 12:10:27 +00:00
Sonder 24137ffdfc
【Hackathon 6th No.44】add paddle rsqrt (#23985)
Add `paddle.rsqrt` op for openvino

paddle.rsqrt(x, name=None)

The rsqrt activation function.

The calculation formula is as follows:

$$
out=\frac{1}{\sqrt{x}}
$$


![image](https://github.com/openvinotoolkit/openvino/assets/55493212/b197c068-96f8-47f4-8d48-913ee93d01a9)

Waiting for:
- https://github.com/openvinotoolkit/openvino/pull/23010

---------

Co-authored-by: mei, yang <yang.mei@intel.com>
2024-05-21 10:20:29 +00:00
Keyon Jie 90139c2b81
[TFL FE]: gelu: fix issue when approximate is not specified (#24356)
Sometimes the approximate attribute is not specified in the .tflite
file, we need to check its availability before retriving it, otherwise
we might hit the 'Check 'opts != nullptr' failed' failure with calling
get_attribute() directly.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
2024-05-21 10:03:20 +00:00
Maksim Kutakov 1007de55fd
[CPU] Support nested internal states (#24247)
### Details:
This patch contains all the necessary changes to support internal states
in the composite nodes (i.e. If, Loop, TensorIterator operations). Main
changes:
1. Move the internal states registry to the graph context, so that all
the nested internal states become accessible on the infer request level.
2. Move the state assing/commit actions to the node execute level, so
that Loop and TensorIterator ops are automatically supported.

### Tickets:
 - CVS-134470
2024-05-21 09:33:55 +00:00
Mateusz Mikolajczyk 23b54736e4
[Opset15] Implementation for EmbeddingBagPacked and EmbeddingBagOffsets ops (#24541)
### Details:
- *Create PoC implementation for EmbeddingBag Offsets and Packed that
introduce mode 'mean'*
 - *Add Core, Reference and CPU implementation for both ops*

Specification will be added in separate PR

### Tickets:
 - *138229*

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2024-05-21 09:07:14 +00:00
Vladislav Golubev 6556567bdd
[Snippets] Extract BrgemmCopyB from M blocking if there are no KN blocking (#24551)
### Details:
- *Extract BrgemmCopyB from M blocking if there are no KN blocking
loops*
 - *Tests will be added after #24152 merge*

### Tickets:
 - *CVS-140751*
2024-05-21 09:06:58 +00:00
Gorokhov Dmitriy b745b23599
[CPU] Merge bf16 weights type conversion with repack stage (#24595)
### Details:
- This PR extends existing weights type conversion + repack optimization
for bf16 precision. This change is needed to minimize memory footprint
on model compilation stage for models with BF16 compressed weights.
2024-05-21 09:05:16 +00:00
barnasm1 d9b0b69871
[CORE] Test opset1::Concat shape inference with op reuse (#24383)
### Details:
 - Add new tests to cover case with reuse of pre-created operator

### Tickets:

 - *[CVS-94507](https://jira.devtools.intel.com/browse/CVS-94507)*
2024-05-21 08:22:33 +00:00
dependabot[bot] fd9a63cffd
Bump requests from 2.31.0 to 2.32.0 in /docs (#24600)
Bumps [requests](https://github.com/psf/requests) from 2.31.0 to 2.32.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/psf/requests/releases">requests's
releases</a>.</em></p>
<blockquote>
<h2>v2.32.0</h2>
<h2>2.32.0 (2024-05-20)</h2>
<h2>🐍 PYCON US 2024 EDITION 🐍</h2>
<p><strong>Security</strong></p>
<ul>
<li>Fixed an issue where setting <code>verify=False</code> on the first
request from a
Session will cause subsequent requests to the <em>same origin</em> to
also ignore
cert verification, regardless of the value of <code>verify</code>.
(<a
href="https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56">https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56</a>)</li>
</ul>
<p><strong>Improvements</strong></p>
<ul>
<li><code>verify=True</code> now reuses a global SSLContext which should
improve
request time variance between first and subsequent requests. It should
also minimize certificate load time on Windows systems when using a
Python
version built with OpenSSL 3.x. (<a
href="https://redirect.github.com/psf/requests/issues/6667">#6667</a>)</li>
<li>Requests now supports optional use of character detection
(<code>chardet</code> or <code>charset_normalizer</code>) when
repackaged or vendored.
This enables <code>pip</code> and other projects to minimize their
vendoring
surface area. The <code>Response.text()</code> and
<code>apparent_encoding</code> APIs
will default to <code>utf-8</code> if neither library is present. (<a
href="https://redirect.github.com/psf/requests/issues/6702">#6702</a>)</li>
</ul>
<p><strong>Bugfixes</strong></p>
<ul>
<li>Fixed bug in length detection where emoji length was incorrectly
calculated in the request content-length. (<a
href="https://redirect.github.com/psf/requests/issues/6589">#6589</a>)</li>
<li>Fixed deserialization bug in JSONDecodeError. (<a
href="https://redirect.github.com/psf/requests/issues/6629">#6629</a>)</li>
<li>Fixed bug where an extra leading <code>/</code> (path separator)
could lead
urllib3 to unnecessarily reparse the request URI. (<a
href="https://redirect.github.com/psf/requests/issues/6644">#6644</a>)</li>
</ul>
<p><strong>Deprecations</strong></p>
<ul>
<li>Requests has officially added support for CPython 3.12 (<a
href="https://redirect.github.com/psf/requests/issues/6503">#6503</a>)</li>
<li>Requests has officially added support for PyPy 3.9 and 3.10 (<a
href="https://redirect.github.com/psf/requests/issues/6641">#6641</a>)</li>
<li>Requests has officially dropped support for CPython 3.7 (<a
href="https://redirect.github.com/psf/requests/issues/6642">#6642</a>)</li>
<li>Requests has officially dropped support for PyPy 3.7 and 3.8 (<a
href="https://redirect.github.com/psf/requests/issues/6641">#6641</a>)</li>
</ul>
<p><strong>Documentation</strong></p>
<ul>
<li>Various typo fixes and doc improvements.</li>
</ul>
<p><strong>Packaging</strong></p>
<ul>
<li>Requests has started adopting some modern packaging practices.
The source files for the projects (formerly <code>requests</code>) is
now located
in <code>src/requests</code> in the Requests sdist. (<a
href="https://redirect.github.com/psf/requests/issues/6506">#6506</a>)</li>
<li>Starting in Requests 2.33.0, Requests will migrate to a PEP 517
build system
using <code>hatchling</code>. This should not impact the average user,
but extremely old
versions of packaging utilities may have issues with the new packaging
format.</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/matthewarmand"><code>@​matthewarmand</code></a>
made their first contribution in <a
href="https://redirect.github.com/psf/requests/pull/6258">psf/requests#6258</a></li>
<li><a href="https://github.com/cpzt"><code>@​cpzt</code></a> made their
first contribution in <a
href="https://redirect.github.com/psf/requests/pull/6456">psf/requests#6456</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/psf/requests/blob/main/HISTORY.md">requests's
changelog</a>.</em></p>
<blockquote>
<h2>2.32.0 (2024-05-20)</h2>
<p><strong>Security</strong></p>
<ul>
<li>Fixed an issue where setting <code>verify=False</code> on the first
request from a
Session will cause subsequent requests to the <em>same origin</em> to
also ignore
cert verification, regardless of the value of <code>verify</code>.
(<a
href="https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56">https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56</a>)</li>
</ul>
<p><strong>Improvements</strong></p>
<ul>
<li><code>verify=True</code> now reuses a global SSLContext which should
improve
request time variance between first and subsequent requests. It should
also minimize certificate load time on Windows systems when using a
Python
version built with OpenSSL 3.x. (<a
href="https://redirect.github.com/psf/requests/issues/6667">#6667</a>)</li>
<li>Requests now supports optional use of character detection
(<code>chardet</code> or <code>charset_normalizer</code>) when
repackaged or vendored.
This enables <code>pip</code> and other projects to minimize their
vendoring
surface area. The <code>Response.text()</code> and
<code>apparent_encoding</code> APIs
will default to <code>utf-8</code> if neither library is present. (<a
href="https://redirect.github.com/psf/requests/issues/6702">#6702</a>)</li>
</ul>
<p><strong>Bugfixes</strong></p>
<ul>
<li>Fixed bug in length detection where emoji length was incorrectly
calculated in the request content-length. (<a
href="https://redirect.github.com/psf/requests/issues/6589">#6589</a>)</li>
<li>Fixed deserialization bug in JSONDecodeError. (<a
href="https://redirect.github.com/psf/requests/issues/6629">#6629</a>)</li>
<li>Fixed bug where an extra leading <code>/</code> (path separator)
could lead
urllib3 to unnecessarily reparse the request URI. (<a
href="https://redirect.github.com/psf/requests/issues/6644">#6644</a>)</li>
</ul>
<p><strong>Deprecations</strong></p>
<ul>
<li>Requests has officially added support for CPython 3.12 (<a
href="https://redirect.github.com/psf/requests/issues/6503">#6503</a>)</li>
<li>Requests has officially added support for PyPy 3.9 and 3.10 (<a
href="https://redirect.github.com/psf/requests/issues/6641">#6641</a>)</li>
<li>Requests has officially dropped support for CPython 3.7 (<a
href="https://redirect.github.com/psf/requests/issues/6642">#6642</a>)</li>
<li>Requests has officially dropped support for PyPy 3.7 and 3.8 (<a
href="https://redirect.github.com/psf/requests/issues/6641">#6641</a>)</li>
</ul>
<p><strong>Documentation</strong></p>
<ul>
<li>Various typo fixes and doc improvements.</li>
</ul>
<p><strong>Packaging</strong></p>
<ul>
<li>Requests has started adopting some modern packaging practices.
The source files for the projects (formerly <code>requests</code>) is
now located
in <code>src/requests</code> in the Requests sdist. (<a
href="https://redirect.github.com/psf/requests/issues/6506">#6506</a>)</li>
<li>Starting in Requests 2.33.0, Requests will migrate to a PEP 517
build system
using <code>hatchling</code>. This should not impact the average user,
but extremely old
versions of packaging utilities may have issues with the new packaging
format.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d6ebc4a2f1"><code>d6ebc4a</code></a>
v2.32.0</li>
<li><a
href="9a40d12778"><code>9a40d12</code></a>
Avoid reloading root certificates to improve concurrent performance (<a
href="https://redirect.github.com/psf/requests/issues/6667">#6667</a>)</li>
<li><a
href="0c030f78d2"><code>0c030f7</code></a>
Merge pull request <a
href="https://redirect.github.com/psf/requests/issues/6702">#6702</a>
from nateprewitt/no_char_detection</li>
<li><a
href="555b870eb1"><code>555b870</code></a>
Allow character detection dependencies to be optional in post-packaging
steps</li>
<li><a
href="d6dded3f00"><code>d6dded3</code></a>
Merge pull request <a
href="https://redirect.github.com/psf/requests/issues/6700">#6700</a>
from franekmagiera/update-redirect-to-invalid-uri-test</li>
<li><a
href="bf24b7d8d1"><code>bf24b7d</code></a>
Use an invalid URI that will not cause httpbin to throw 500</li>
<li><a
href="2d5f54779a"><code>2d5f547</code></a>
Pin 3.8 and 3.9 runners back to macos-13 (<a
href="https://redirect.github.com/psf/requests/issues/6688">#6688</a>)</li>
<li><a
href="f1bb07d39b"><code>f1bb07d</code></a>
Merge pull request <a
href="https://redirect.github.com/psf/requests/issues/6687">#6687</a>
from psf/dependabot/github_actions/github/codeql-act...</li>
<li><a
href="60047ade64"><code>60047ad</code></a>
Bump github/codeql-action from 3.24.0 to 3.25.0</li>
<li><a
href="31ebb8102c"><code>31ebb81</code></a>
Merge pull request <a
href="https://redirect.github.com/psf/requests/issues/6682">#6682</a>
from frenzymadness/pytest8</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/requests/compare/v2.31.0...v2.32.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=requests&package-manager=pip&previous-version=2.31.0&new-version=2.32.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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/openvinotoolkit/openvino/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 06:52:45 +00:00
Andrzej Kopytko 05867f2f63
[DOCS] fix css class (#24602) 2024-05-21 06:46:43 +00:00
Zhang Yi 4a9cd7bd87
[CPU][FP16]Fix GatherCompressed with FP16 scale (#24315)
### Details:
- *This PR https://github.com/openvinotoolkit/openvino/pull/23384
triggers the existing bugs in `GatherCompressed` and `Fullyconnected`*
- *After converting all possible constants to FP16, `GatherCompresssed`
needs to output `FP16` when scale is changed to FP16*
- *After converting all possible constants to FP16, `FullyConnected`
needs to explicitly refuse `FP16` bias since `oneDNN` doesn't support
`FP16` bias.*

### Tickets:
 - *CVS-140154*
2024-05-21 06:45:14 +00:00
Tingqian Li e6667f3bb9
[CPU] Fc support float16 weight (#24155)
### Details:
 - *Add support for (src_f32, weight_f16) case in FC*

oneDNN-fork PR: https://github.com/openvinotoolkit/oneDNN/pull/246

### Tickets:
 - *CVS-133453*
 - *CVS-139274*
2024-05-21 06:44:04 +00:00
Fang Xu 0e6c199db5
set correct numa id for different tbb version (#24532)
### Details:
 - *set correct numa id for different tbb version*
- *numa id has different mapping method in TBBBind since oneTBB
2021.4.0*

### Tickets:
 - *CVS-141067*
2024-05-21 05:09:35 +00:00
Wang, Yang 01de8469a0
[AUTO] Load cached model to target device W/O CPU accelerating (#24211)
### Details:
 - enable AUTO to retrieve the hash id for cached model
- load cached model to GPU only with AUTO if cached blob exists and not
set `ov::intel_auto::enable_startup_fallback` explicitly to AUTO

### Tickets:
 - CVS-140059
2024-05-21 04:39:29 +00:00
Eddy Kim 415ba28201
[GPU] updates to build some selected kernels in separate batches (#24499)
### Details:
- This PR updates the `kernels_cache` to build the selected kernels in
separate batches.
- This is a temporary WA to resolve performance degradation when some
kernels are built with other kernels in the same batch
   - Currently, the selected kernel includes `gemm_tiled_opt`.
- The impacted scenario : Qwen INT4 first token latency for > 1K input
in MTL

### Tickets:
 - GSD-8910
2024-05-21 03:18:01 +00:00
Taylor Yeonbok Lee 7545929163
[GPU] Fix set_state to handle original Tensor's padding (#24579)
### Details:
- In set_state of gpu plugin, the src Tensor can have padding, which has
not handled by set_state
 - Fixed set_state to handle src Tensor's padding properly 

### Tickets:
 - 140418
2024-05-20 21:35:57 +00:00
Maxim Vafin e9d42dd60b
[PT FE] Fix regression in easyocr model (#24586)
### Details:
- *After support for i64 was added in frontend `aten::adaptive_avg_pool`
started to fail if shape input is list.*

### Tickets:
 - *CVS-141335*
2024-05-20 16:51:30 +00:00
Roman Kazantsev 474a77a125
[MO] Remove test-generator dependency (#24576)
**Details:** Remove test-generator dependency. It is removed since this
module seems to be no longer developed and maintained. So it is better
to remove this dependency. `pytest` can substitute `test-generator`.

**Ticket:** TBD

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-05-20 15:55:16 +00:00
Evgenya Nugmanova bb8da80a59
Abs value inference and optimization (#24526)
### Details:
PyTorch semantic of Expand operation requires Abs operation for
translation which is usually a no-op.

1. partial value and symbol propagation for Abs operation
2. optimize out the Abs with nonnegative input
3. for this case Abs(Concat([Gather(ShapeOf), -1, 1, -1])) pulls Abs and
tries to const-fold it. Resulting in Concat([Abs(Gather(ShapeOf)), 1, 1,
1]). Applies (2) to the graph and gets Concat([Gather(ShapeOf), 1, 1,
1]) because ShapeOf's lower bound is 0.

### Tickets:
 - *CVS-141274*
2024-05-20 15:02:26 +00:00
Jan Iwaszkiewicz 380e10e217
[PyOV] Reenable test_cancel (#24590)
### Details:
 - Do not skip the test of `InferReuqest.cancel()`

### Tickets:
 - *CVS-95967*
2024-05-20 14:57:33 +00:00
Alicja Miloszewska 0eb8a42105
[OV JS] Remove acceptable_types parameter from js_to_cpp() template function (#24459)
### Details:
- Remove `const std::vector<napi_types>& acceptable_types` param from
template `TargetType js_to_cpp(const Napi::Value&, const
std::vector<napi_types>& acceptable_types);`
- Remove template specialization `int32_t js_to_cpp<int32_t>(const
Napi::CallbackInfo& info,
                           const size_t idx,
const std::vector<napi_types>& acceptable_types);`

### Tickets:
 - *140428*
2024-05-20 14:51:32 +00:00
Katarzyna Mitrus 05f99642b2
[Op][RMSNorm] Move RMSNorm from opset15 to dev_api (#24567)
### Details:

As ov RMSNorm has been not released yet as a public opset op, it was
proposed to keep it as internal.
RMSNorm is not currently a part of any frontend framework and the
requirements for RMSNorm may change.
There is a corresponding
[`internal::RMS`](70142121c1/src/common/transformations/include/ov_ops/rms.hpp)
op availavble for common transformations (moved from custom GPU).
The goal is to unify this work and tests into single RMS implementation.

---------------------------

The reference implementation is going to be reused for the
internal::RMS:
- https://github.com/openvinotoolkit/openvino/pull/24556

### Tickets:
 - Related to: 129027
2024-05-20 14:19:43 +00:00
Luo Cheng bc9ce91564
[CPU][Core] Update context_lens to the new spec for PageAttention (#24591)
### Details:
 - *Change the context_lens to past_lens*
- *past lens corresponds to first token within subgroup of scheduled
tokens but not includes itself*
 - *...*

### Tickets:
 - *ticket-id*
2024-05-20 19:17:36 +04:00
Andrzej Kopytko 350c021870
[Docs] Button styling (#24593)
### Details:
 - *item1*
 - *...*

### Tickets:
 - *ticket-id*
2024-05-20 13:38:30 +00:00
Michal Miotk 7a009aca63
[GPU] reducing permute_ref usage (#24393)
### Details:
- uncommented 2 divisor gives performance gain and enables models with
f==2 or y==2 to use permute_f_y kernel
### Tickets:
 - 140462
2024-05-20 13:33:43 +00:00
Alexandra Sidorova 80eb61a854
[Snippets] Added Configurator support (#21922)
### Details:
- *Added `RuntimeConfigurator` support to configure runtime arguments
(loop parameters, data offsets) for each static shapes in dynamic case.*
- *Added Shape-Agnostic dynamism for Eltwise subgraphs (disabled by
default)*


### Tickets:
 - *113211*
 - *139795*
 - *136157*
 - *139796*
 - *139785*

### Prerequisites:
- https://github.com/openvinotoolkit/openvino/pull/21934
- https://github.com/openvinotoolkit/openvino/pull/21881
- https://github.com/openvinotoolkit/openvino/pull/21895
- https://github.com/openvinotoolkit/openvino/pull/23710
- https://github.com/openvinotoolkit/openvino/pull/24115
- https://github.com/openvinotoolkit/openvino/pull/24119

### TODO:
- [x] Add `ShapeInfer` caching
- [x] Fix all failed tests
2024-05-20 12:54:06 +00:00
Anastasia Kuporosova 7f99b88420
[PyOV] python op implementation (#24487)
### Details:
 - based on: https://github.com/openvinotoolkit/openvino/pull/23612

### Tickets:
 - CVS-141051

---------

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2024-05-20 12:40:17 +00:00