Commit Graph

823 Commits

Author SHA1 Message Date
Maciej Smyk 717875cd43
[DOCS] Update of hyperlinks to 2024 + new ov homepage diagram image for 2024 (#23132)
Port from https://github.com/openvinotoolkit/openvino/pull/23091

* Update of links in docs to 2024 in repo.
* Replaced ov homepage diagram with a new version without Kalid, MXNet
and Caffe
2024-02-28 12:27:23 +00:00
Vitaliy Urusovskij 78580d2a4f
[2024.0] Additional cleaning of `InferenceEngine` (#22959) (#22996) 2024-02-22 09:41:21 +00:00
Sebastian Golebiewski 6dbabb9284
[DOCS] Openvino api ref update for 24.0 (#22969)
Changing references from "OpenVINO API 2.0" to "OpenVINO API", as
mentioned in
https://github.com/openvinotoolkit/openvino/pull/22873#discussion_r1492115073
Porting: https://github.com/openvinotoolkit/openvino/pull/22884
2024-02-20 18:35:11 +00:00
Jan Iwaszkiewicz 29bb5571e4
[PyOV] Remote API support for Python (#22883)
### Details:
 - Port of https://github.com/openvinotoolkit/openvino/pull/22629

### Tickets:
 - *N/A*
2024-02-16 16:13:44 +00:00
Jacek Pawlak 5e7e51dc77
Onetbb license alignment (#22838)
Removed old tbb license and added onetbb license

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2024-02-15 15:18:23 +04:00
Surya Siddharth Pemmaraju e68db009c7
Added missed ops to the op_support list (#22825)
### Details:
- Missed adding two ops to the ops list when implementation was already
present


### Tickets:
 - *ticket-id*

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
2024-02-14 17:59:56 +00:00
Gorokhov Dmitriy e28c8dd193
[CPU] Dynamic quantization for compressed FullyConnected (#22738)
### Details:
- *This PR adds activations dynamic quantization support for compressed
FullyConnected*
 - OneDNN PR: https://github.com/openvinotoolkit/oneDNN/pull/229

### Tickets:
 - *[CVS-128361](https://jira.devtools.intel.com/browse/CVS-128361)*
2024-02-14 17:31:59 +00:00
Piotr Krzemiński 5150118e0c
[Ref][Core][CPU][Opset14] Inverse Operation (#22649)
Review of any part is more than welcome!

### Details:
 - Add Core for Inverse Operation
 - Register Inverse Operation in Python API
- Add Reference implementation for Inverse - LU decomposition with
partial pivoting
- Add CPU implementation for Inverse - Parallel LU decomposition with
partial pivoting
- Add tests - Reference, Visitor, Type prop, Shape Inference, Python,
Conformance, CPU, Template

### Tickets:
 - 131143
 - 131144
 - 131145
 - 131147
 - 131148
2024-02-14 11:58:38 +00:00
Roman Kazantsev aca2f76e42
[TF FE] Fix bad cast for tf.TensorShape to ov.PartialShape (#22813)
**Details:** Fix bad cast for tf.TensorShape to ov.PartialShape. The
error occurred in mobile-object-localizer-v1 model.

**Ticket:** CVS-132455

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-02-14 11:48:16 +00:00
Surya Siddharth Pemmaraju 19ba148b4f
Op support 2024.0 (#22745)
### Details:
 - Improved op support for 2024.0 release
 - Includes ops required for enabling customer model lightglue
 - Also added ops for lora fine tuning
 - Added support for options in aot autograd backend
- Added a new option to specify whether to use aot autograd
functionality
 - Added a new option to specify decompositions that need to be added
- Added a new option to specify ops that need to be disabled from
executing on OpenVINO


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

---------

Co-authored-by: ynimmaga <yamini.nimmagadda@intel.com>
2024-02-13 12:13:42 +00:00
Jan Iwaszkiewicz b48b799aa8
[PyOV] Add missing is_shared flag in memory sharing scenarios (#22734)
### Details:
- Add missing flag propagation in containers dispatchers for memory
sharing scenarios.
- Expected boost in cases of already aligned memory storages with
`__array__` interface, i.e. PyTorch tensors.
 - Added testcases.
 
### Tickets:
 - *132092*
2024-02-09 17:02:01 +00:00
Vitaliy Urusovskij dfe0699503
Rename IE to OV (#22733) 2024-02-09 13:36:41 +00:00
Anastasiia Pnevskaia 0affac4c30
[TF FE] Fixed reading of string attributes in TF Decoder (#22752)
### Details:
 - Non utf-8 strings are passed as bytes.
 - String attr type now passed as ov.string.

### Tickets:
 - 131659
2024-02-09 12:46:31 +00:00
Ilya Lavrenov f5154711f7
Added NPU plugin to wheel (#22263)
### Details:
 - Allow to include NPU plugin as part of OpenVINO wheel.

### Tickets:
- CVS-130134
2024-02-07 17:27:57 +00:00
Katarzyna Mitrus a2818110cc
[Op][Ref][CPU] Extend Gather op with String support (#22465)
### Details:
 - Extend Gather op with String support for data input 
(agreed to do it within the same op version, existing reference
implementation is common for GatherBase and ready to handle strings, ref
changes are not needed, just evaluate supported types updated)
 - Enable fallback to the reference implementation from CPU plugin
- Extend Template and CPU plugin operator tests with string validation
(most of the changes are tests related)
### Tickets:
 - 130688
2024-02-06 06:00:39 +00:00
Anastasia Kuporosova 3fb591a0e6
[PyOV] Update imports for properties (#22594)
### Details:
 - *item1*
 - *...*

### Tickets:
 - *ticket-id*
2024-02-02 13:00:07 +00:00
Katarzyna Mitrus 5079abbdb9
[Op] FakeConvert update to use ov::element::Type (#22574)
### Details:
 -  FakeConvert update to use ov::element::Type
- The changes are backward compatible, FakeConvert constructors with
std::string are not removed

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

### Tickets:
 - *N/A*
2024-02-02 08:43:54 +00:00
Anastasia Kuporosova fbfdebc39e
remove flake8-commas requirement (#22546) 2024-02-01 16:29:03 +00:00
Xuejun Zhai f0eca795c8
Deprecated API in openvino/core/validation_util.hpp (#22473)
* [Deprecated API] Remove api get_output_size()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Deprecated API] Remove api has_no_labels()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Deprecated API] Remove api generate_transpose_default_order() & is_valid_axes_order()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Deprecated API] Remove api ov::default_label_evaluator()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Deprecated API] Remove api ov::get_constant_from_source()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Deprecated API] Remove api ov::evaluate_as_partial_shape()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Deprecated API] Remove ov::get_constant_from_source90

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Deprecated API] Remove ov::normalize_axes()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Deprecated API] Remove ov::normalize_axis()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Deprecated API] Remove file openvino/core/validation_util.hpp

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix clang format issue

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix clang format issue

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix error

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix review comment

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix review comment

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix warning as error

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Update scan.cpp

* Fix warning as error

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Pavel Durandin <pavel.durandin@intel.com>
2024-02-01 09:07:10 +00:00
dependabot[bot] bdf5ea7b5d
Update pytest requirement in /src/bindings/python (#22492)
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/5.0.0...8.0.0)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-01 09:06:42 +00:00
River Li 6d2d2d8e28
[Core]remove ie plugin config (#22479)
* [Core] remove ie_plugin_config

* Remove ie_internal_plugin_config and ie_plugin_config

* Remove ov::caching_properties and ov::exclusive_async_requests

* Fix failure cases and resolve comments

* Fix build error

* Remove myriad custom_op.cpp

* Fix build warning

* Fix capi auto plugin test failures

---------

Co-authored-by: Pavel Durandin <pavel.durandin@intel.com>
2024-02-01 08:56:31 +00:00
Maxim Vafin 8225e79413
[PT FE] Reuse constants obtained with prim::GetAttr (#22530)
* [PT FE] Reuse constants obtained with prim::GetAttr

* Better formatting

* Add test and qtensor support

* Fix code
2024-01-30 15:34:49 +00:00
Maxim Vafin d018779add
[PT FE] torch.export support (#22397)
* [PT FE] torch.export support

* Apply code style

* Fix build

* Support torch <2.2

* Support more operations

* Update tests/model_hub_tests/torch_tests/torch_utils.py

* Support for model operations

* Support is_causal as kwarg for SDPA

* Update src/frontends/pytorch/src/op/addcmul.cpp

* Update tests/model_hub_tests/torch_tests/test_timm.py

* Support only decoder passed to convert_model

* Fix tests

* Update src/bindings/python/src/openvino/frontend/pytorch/fx_decoder.py

* Update src/bindings/python/src/openvino/frontend/pytorch/fx_decoder.py

Co-authored-by: Ekaterina Aidova <ekaterina.aidova@intel.com>

* Apply suggestions from code review

* Apply suggestions from code review

* Improve testing with caching model

* Apply suggestions from code review

---------

Co-authored-by: Ekaterina Aidova <ekaterina.aidova@intel.com>
2024-01-30 11:50:18 +00:00
Jan Iwaszkiewicz 831abf98f1
[PyOV] Fix for affix decorator, allow Output instances (#22504) 2024-01-30 07:20:13 +00:00
Sun Xiaoxia 1616f1e849
Add description of deprecated property ov::Affinity (#22029)
* add description of affinity

* add @deprecated
2024-01-29 08:43:27 +00:00
Pawel Raasz 89225640a1
Remove ngraph/opsets API (#22390) 2024-01-28 13:19:51 +00:00
Pawel Raasz 97ea693030
[core] Migrate `FactoryRegistry` to API 2.0 (#22371)
* Migrate `FactoryRegistry` to API 2.0
- remove add custom factory
- remove FactoryAttributeAdapter

* Fix opset name in ONNX FE

* Corrections in include files

* Fix build issues

* Use OpSet in visitor tests instead FactoryRegister

* Integrate `FactoryRegistry` into `OpSet`

* Remove ngraph/factory_adapter.hpp

* Fix auto batch test warning for windows build
2024-01-27 21:51:11 +00:00
Roman Kazantsev d547f77d70
[TF FE] Support TensorFlow 2.15 (#22180)
* [TF FE] Support TensorFlow 2.15

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Use lower version of pylint

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Update tools/constraints.txt

* Update tools/constraints.txt

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-01-27 07:07:45 +00:00
Jan Iwaszkiewicz 27746ce3a5
[PyOV] Adding prefixes and suffixes to FQ operator nodes (#22327)
* Add decorator to apply affixes

* Add new version of FQ to use affixes

* Add testcases

* Fix codestyle

* Make decorator only work on autogenerated Nodes

* remove print
2024-01-26 06:00:57 +00:00
Anastasia Kuporosova 27e01f6d0f
Get rid of distutils (#22281)
* Get rid of distutils

* get rid of LooseVersion

* try to get rid of clean and copy_file

* fix mo tests

* fix warning in mo

* Update src/bindings/python/wheel/setup.py

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>

* add packaging to requirements

---------

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
2024-01-24 21:22:57 +01:00
abhinav231-valisetti 51cbbab2f4
Fixed IndexError list index out of range for Squeeze (#22326)
* fixed list index out of range error in node_decoder.py

* Improved and Modified as per review feedback

- Added a Model in the precommit_models for precommit validation.
- Removed skip and xfail marrks for the issue (129232 IndexError list
  index out of range for Squeeze)
- Added explicilty return None in node_decoder.py

* Update tests/model_hub_tests/tf_hub_tests/nightly_models

* Update tests/model_hub_tests/tf_hub_tests/nightly_models

* Update tests/model_hub_tests/tf_hub_tests/nightly_models

* Apply suggestions from code review

* Update tests/model_hub_tests/tf_hub_tests/precommit_models

* Update tests/model_hub_tests/tf_hub_tests/precommit_models

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-01-24 05:36:19 +00:00
dependabot[bot] 2811209860
Bump pytest-dependency from 0.5.1 to 0.6.0 in /src/bindings/python (#21913)
Bumps [pytest-dependency](https://github.com/RKrahl/pytest-dependency) from 0.5.1 to 0.6.0.
- [Release notes](https://github.com/RKrahl/pytest-dependency/releases)
- [Changelog](https://github.com/RKrahl/pytest-dependency/blob/develop/CHANGES.rst)
- [Commits](https://github.com/RKrahl/pytest-dependency/compare/0.5.1...0.6.0)

---
updated-dependencies:
- dependency-name: pytest-dependency
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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-01-23 00:57:03 +04:00
Pawel Raasz cb6eb83cc1
[core] ROI tensor can set new ROI shape (#22257)
* Allow set_shape for ROI tensor

* Change set ROI shape up to initial ROI size

* Fix test value

* Update ROI tensor expected error message
in python tests

* Minor changes in ROI tensor ctor
2024-01-22 11:57:25 +01:00
Maxim Vafin 92a1f959d6
[PT FE] Save state_dict names in Constant name (#22242)
* Save state_dict names in Constant name

* Fix issue with cert

* Fix cert issue again
2024-01-22 10:40:00 +01:00
Jan Iwaszkiewicz 1545ad08c4
[PyOV] Add optional string decoding for InferRequest and CompiledModel inference calls (#22106) 2024-01-18 13:07:33 +01:00
Jan Iwaszkiewicz 6bd9055440
[PyOV] Align add_extension methods across Python APIs (#22166) 2024-01-17 15:34:06 +01:00
Anastasia Kuporosova 5048299d97
Update year in src/bindings/python folder (#22186)
* Update year in src/bindings/python folder

* fix ci
2024-01-16 18:58:06 +01:00
Katarzyna Mitrus b3c2c386dc
[FP8] Implementation of FP8 element types (ov::element::f8e4m3 and ov::element::f8e5m2) (#21608)
* FP8 element types init

* Remove redundant union

* Replace using ov

* Update fundamental types

* Update class name check

* Update tests

* Remove redundant sign

* Expose f8 types in Python

* Add to py to dtype map

* Style alignment

* Align python style

* Update test values

* Remove constexpr from_bits to fix warning

* Add trivially construcitble asserts and common constrexpr

* Align python tests opset

* Update f8e4m3 <-> float conversion

* f8e5m2 class update

* Add f8e5m2 unit test

* Add to string conversion tests

* Rename class f8e4m3 -> float8_e4m3

* Rename f8e5m2 -> float8_e5m2

* Remove size() and to_string from float8
- size() can be replaced by compile time sizeof
- to_string can be replaced by std::to_string()

* float8 E5M2 remove unused constexpr value

* Fix union initialization and ncc style rules

* Fix test issues

* Use NaN from std::numeric_limits instead macro
- minor refactor of float8_e4m3

* Update nf4 usage in element_type.cpp

* Sync openvino.style with master

* Update f8e5m2 test

---------

Co-authored-by: Raasz, Pawel <pawel.raasz@intel.com>
2024-01-16 15:26:43 +01:00
Ilya Lavrenov a301038694
Updated build docs for Python API (#22134)
* Updated build docs for Python API

* Removed legacy variables

* Update docs/dev/build_windows.md

Co-authored-by: Sebastian Golebiewski <sebastianx.golebiewski@intel.com>

---------

Co-authored-by: Sebastian Golebiewski <sebastianx.golebiewski@intel.com>
2024-01-12 18:55:02 +04:00
Vladimir Paramuzov bd5b3434e7
Added missing cache_mode declarations for python and c API (#22094) 2024-01-12 11:11:26 +01:00
Anastasia Kuporosova d843a33551
[PyOV] clean up after legacy python api removal (#22101) 2024-01-11 20:14:04 +01:00
Anastasia Kuporosova a561a2a484
[PyOV] Legacy IE Python API removal (#20908)
* [PyOV] Legacy IE Python API removal

* clean configs &cmake

* remove ngraph

* remove from yml

* try to fix build

* clean up

* remove old api from python snippets and docs (#170)

* remove old api from python snippets

* pysnippets removal p2

* remove ngraph snippet

* remove old api from docs

* remove migration snippets

* remove compatibility req after refactoring on master

* fix after merge

* fix after merge

* Update docs/articles_en/documentation/openvino_legacy_features/api_2_0_transition_guide/graph_construction.rst
2024-01-11 13:46:49 +01:00
Jan Iwaszkiewicz a4ce11d6d8
[PyOV] Add `get_then_body` to If operator (#22080) 2024-01-11 10:29:14 +01:00
guy-tamir 78e38ddaef
Removed singledispatchmethod from requirements (#22058) 2024-01-10 15:24:47 +01:00
Anastasia Kuporosova 771fdc3d1c
remove old py api from python snippets and docs (#22016)
* remove old api from python snippets and docs (#170)

* remove old api from python snippets

* pysnippets removal p2

* remove ngraph snippet

* remove old api from docs

* remove migration snippets

* remove from init
2024-01-08 16:34:07 +01:00
Maciej Smyk c0d564a465
[DOCS] Hyperlink 23.3 update for master (#21908)
* link update

* link update

* link update

* Update dev_api_references.rst

* Update dev_api_references.rst

* Update apidoc.py

* notebooks links

* notebook link update

* filename update

* link update

* link update api
2024-01-08 12:40:54 +01:00
Vitaliy Urusovskij 7e745c28e4
Delete `ngraph` #1 (#21871)
* Delete `ngraph/visibility.hpp`

* Delete `ngraph/log.hpp`

* Delete `ngraph/file_util.hpp`

* Delete `ngraph/type.hpp`

* Delete `ngraph/dimension.hpp`

* Delete `ngraph/coordinate.hpp`

* ClangFormat

* Fix build

* Fix pyngraph

* Remove comment

* Fix build
2024-01-05 16:37:36 +04:00
Denis Orlov ffcc2962d5
Remove more GNA related code (#21826)
* Remove more GNA related code

* Remove DEVICE_GNA from tests

* Fix according to review comments

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-12-27 16:09:22 +00:00
Anastasia Kuporosova 5da132bdfe
[PyOV] Delete compatibility tests (#21820)
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-12-22 17:13:21 +01:00