Commit Graph

12421 Commits

Author SHA1 Message Date
Anastasia Kuporosova
2bf8d910f6
[Docs][PyOV] update python snippets (#19367)
* [Docs][PyOV] update python snippets

* first snippet

* Fix samples debug

* Fix linter

* part1

* Fix speech sample

* update model state snippet

* add serialize

* add temp dir

* CPU snippets update (#134)

* snippets CPU 1/6

* snippets CPU 2/6

* snippets CPU 3/6

* snippets CPU 4/6

* snippets CPU 5/6

* snippets CPU 6/6

* make  module TODO: REMEMBER ABOUT EXPORTING PYTONPATH ON CIs ETC

* Add static model creation in snippets for CPU

* export_comp_model done

* leftovers

* apply comments

* apply comments -- properties

* small fixes

* rempve debug info

* return IENetwork instead of Function

* apply comments

* revert precision change in common snippets

* update opset

* [PyOV] Edit docs for the rest of plugins (#136)

* modify main.py

* GNA snippets

* GPU snippets

* AUTO snippets

* MULTI snippets

* HETERO snippets

* Added properties

* update gna

* more samples

* Update docs/OV_Runtime_UG/model_state_intro.md

* Update docs/OV_Runtime_UG/model_state_intro.md

* attempt1 fix ci

* new approach to test

* temporary remove some files from run

* revert cmake changes

* fix ci

* fix snippet

* fix py_exclusive snippet

* fix preprocessing snippet

* clean-up main

* remove numpy installation in gha

* check for GPU

* add logger

* iexclude main

* main update

* temp

* Temp2

* Temp2

* temp

* Revert temp

* add property execution devices

* hide output from samples

---------

Co-authored-by: p-wysocki <przemyslaw.wysocki@intel.com>
Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
2023-09-13 21:05:24 +02:00
Maxim Vafin
4f92676c85
[PT FE] Support aten::one_hot (#19779)
* [PT FE] Support aten::one_hot

* Apply code style
2023-09-13 20:37:47 +02:00
Oleg Pipikin
f744869551
Refactor BroadcastLayerTest and GRUSequenceTest (#19486)
* Refactor GRUSequenceTest

* Refactor BroadcastLayerTest

* Temporary disable GRUSequenceTest
2023-09-13 19:18:56 +02:00
Mikhail Ryzhov
0234357869
[GHA] Changed ubuntu build runner to 20.04 (#19790)
* changed OS build runner to 20.04

* fixed PR

* changed version for test jobs

* Updated title

* Update .github/workflows/linux.yml

* Update linux.yml for PT models

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-09-13 18:46:50 +04:00
Ivan Tikhonov
d0213301a5
Transformations: API 2.0 transition part 3 for LPT transformations (#19610)
* lpt transformations: transition to api 2.0, ngraph -> openvino

* use ov namespace for lpt transformations

* fix low_precision usings

* includes refactoring

* delete RecurrentGraphRewrite and RecurrentMatcher as unused classes

* use ov header for itt; delete the disabled test

* delete the unused function

* suppress doxygen warning

* fix link in the documentation
2023-09-13 12:30:31 +00:00
Nadezhda Ageeva
3454139931
[HETERO] Hetero refactor subgraph collector. Adds unit tests. (#19656)
* [HETERO] Refactor subgraph collector. Add unit tests.

* [HETERO] Adds ov_hetero_unit_tests to azure

* [HETERO] Adds ov_hetero_unit_tests to github workflows

* Small updates

* Set CI_BUILD_NUMBER

* Fix cmake

* Fix cpplint

* STATIC -> OBJECT

* Fix .github/workflows/linux.yml

* Fix cmake

* Fix .github/workflows/linux_debian.yml

* Fix win build: separate version file
2023-09-13 12:17:32 +00:00
Vitaliy Urusovskij
972bb73298
TileLayerTest to API2.0 (#19770)
* `TileLayerTest` to API2.0

* Remove `ngraph::` use

* Fix cpplint
2023-09-13 12:10:02 +00:00
Karol Blaszczak
7445f5bea6
[DOCS] release adjustments pass 2 (#19805)
port: https://github.com/openvinotoolkit/openvino/pull/19796
2023-09-13 13:47:20 +02:00
Georgy Krivoruchko
5eff59a2d0
[ONNX] Switched ONNX to 1.14.1 (#18359)
* Switched ONNX to 1.14

* Updated IR_VERSION in the tests

* Assigned an extended tests to issues

* Switched ONNX to 1.14.1

* Slightly relaxed requirements for ONNX 1.14.1 and updated conan.lock
2023-09-13 15:40:08 +04:00
Maxim Vafin
3c762240f3
[PT FE] Add tests for torchvision models (#19702)
* [PT FE] Add tests for torchvision models

* Update tests/model_hub_tests/torch_tests/requirements.txt

* Apply review comments

* Clean tmp directory and make this separate job

* Update .github/workflows/linux.yml

* Update tests/model_hub_tests/torch_tests/test_torchvision_models.py
2023-09-13 15:24:09 +04:00
bstankix
4061b960f4
[DOCS] Add units to benchmark graphs (#19799) 2023-09-13 09:39:18 +00:00
Karol Blaszczak
dcbfbf8411
[DOCS] legacy adjustments pass 1 (#19787) 2023-09-13 11:20:25 +02:00
Andrey Kashchikhin
1f0c98ed8c
[CI] [GHA] Create only build directory for conan build (#19789)
* create only build dir

* rm triggers
2023-09-13 13:08:04 +04:00
Ilya Lavrenov
8cff0697a7
Ability to use RapidJSON as find_package() (#19762)
* Ability to use RapidJSON as find_package()

* Use default features in vcpkg.json
2023-09-13 12:46:40 +04:00
Andrey Kashchikhin
e9f4e4db65
create dirs (#19769) 2023-09-13 00:37:22 +04:00
Ilya Lavrenov
08fb0a2722
Removed CMAKE_INSTALL_LIBDIR from oneDNN GPU configuration (#19716) (#19771) 2023-09-13 00:31:14 +04:00
Vladimir Paramuzov
541f2dc62f
[GPU] Fixed static init order for serialization (#19768) 2023-09-13 00:31:05 +04:00
Roman Kazantsev
d1a8c8f914
[TF Hub] Set seed for input data generation and fix integer input data (#19765)
* [TF Hub] Set seed for input data generation and fix integer input data

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

* Clean-up workflow

* Update precommit model scope

* Avoid legacy generator

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-09-13 00:30:39 +04:00
Pratham Ingawale
9250d17e01
pytest:- extractor_test.py (#19487) 2023-09-12 22:23:09 +04:00
Pawel Raasz
e3f1ff7f2a
Migrate mod op evaluate (#19687) 2023-09-12 15:27:51 +04:00
Pawel Raasz
693c6d7a11
Migrate the Abs operator to new API (#19763) 2023-09-12 15:26:45 +04:00
Pawel Raasz
f3d4665f7b
Api 2.0/migrate shape inference test to new api (#19665)
* Migrate static shape inference test to new API

* Use new API in CPU custom shape inference tests

* Rename range shape inference test file
2023-09-12 15:15:04 +04:00
Pawel Raasz
4af1fd087c
[core] Migrate the Assign operator to new API (#19664)
* Migrate the Assign operator to new API

* Use memcpy instead of tensor copy_to
2023-09-12 15:10:23 +04:00
Sergey Lyalin
adf7a24ec0
[DOCS] OVC/convert_model Documentation (#19555)
* Added OVC and ov.convert_model() description.

* Minor corrections.

* Small correction.

* Include page to toctree.

* WIP: Model Preparation

* Forked OVC/ov.convert_model documentation sub-directory; reworked model_introduction.md

* Reverted ovc-related changes in old MO_DG documentation

* State explicitly that MO is considered legacy API

* Reduced ovc description in model preparation part; added TF Hub exampe (via file)

* Grammar check; removed obsolexte parts not relevant to ovc; better wording

* Removed a duplicate of mo-to-ovc transition

* Fixed links and some other errors found in documentation build

* Resolved XYZ placeholder to the transition guide

* Fixed technical issues with links

* Up-to-date link to PTQ chapter (instead of obsolete POT)

* Fixed strong text ending

* Update docs/OV_Converter_UG/prepare_model/convert_model/MO_OVC_transition.md

Co-authored-by: Anastasiia Pnevskaia <anastasiia.pnevskaia@intel.com>

* Update docs/OV_Converter_UG/prepare_model/convert_model/MO_OVC_transition.md

Co-authored-by: Anastasiia Pnevskaia <anastasiia.pnevskaia@intel.com>

* Update docs/OV_Converter_UG/prepare_model/convert_model/MO_OVC_transition.md

Co-authored-by: Anastasiia Pnevskaia <anastasiia.pnevskaia@intel.com>

* Renamed Legacy conversion guides

* Fixed links and styles for inlined code

* Fixed style for code references

* Fixing technical syntax errors in docs

* Another attempt to fix docs

* Removed all unreferenced images

* Better content for Additional Resources in model preporation introduction

* MO to OVC transition guide. (#127)

* Examples code correction.

* Change format of example.

* Conflict fix.

* Remove wrong change.

* Added input_shapes example.

* batch example.

* Examples format changed.

* List item removed.

* Remove list for all examples.

* Corrected batch example.

* Transform example.

* Text corrections.

* Text correction.

* Example correction.

* Small correction.

* Small correction.

* Small correction.

* Small correction.

* Text corrections.

* Links corrected.

* Text corrections (#128)

* Text corrections.

* Example corrected.

* Update docs/install_guides/pypi-openvino-dev.md

Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>

---------

Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>

* Many technical fixes, description of recursive flattening of list and tuples

* Reorganized structure of Model Conversion toc tree. Removed fp16 dedicated page, merged to Conversion Parameters.

* Update docs/OV_Converter_UG/prepare_model/convert_model/Convert_Model_From_TensorFlow.md

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Update docs/Documentation/model_introduction.md

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>

* Fixed example from tf hub. Removed input_shape references

* Update docs/Documentation/model_introduction.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/Documentation/model_introduction.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/Documentation/model_introduction.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Removed

* Update docs/OV_Converter_UG/prepare_model/convert_model/Convert_Model_From_ONNX.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/OV_Converter_UG/prepare_model/convert_model/Convert_Model_From_ONNX.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/OV_Converter_UG/prepare_model/convert_model/Convert_Model_From_ONNX.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/OV_Converter_UG/prepare_model/convert_model/Convert_Model_From_ONNX.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Fixed links

* Removed TODO for model flow

* Apply suggestions from code review

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Restored lost code-blocks that leaded to wrong rendering of the code snippets in some places

* Apply suggestions from code review

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Update docs/Documentation/model_introduction.md

* Fixed links to notebooks

* Apply suggestions from code review

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

---------

Co-authored-by: Anastasiia Pnevskaia <anastasiia.pnevskaia@intel.com>
Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2023-09-12 14:31:54 +04:00
Oleg Pipikin
0675d9fd8b
Refactor ComparisonLayerTest, ClampLayerTest (#19681)
* Refactor ClampLayerTest

* Refactor ComparisonLayerTest
2023-09-12 11:46:30 +02:00
Vladislav Golubev
faa6b77247
[Snippets] LIR serialization: additional connections between LoopBegin and LoopEnd nodes (#19630)
* [Snippets] LIR serialization improvements

* Minor correction

* Review comments
2023-09-12 11:20:18 +02:00
Anastasia Kuporosova
3c1b384694
[PyOV] Expose missed properties (#19678) 2023-09-12 10:45:10 +02:00
Maxim Vafin
a6bc78dd0f
[PT FE] Separate tracing and scripting modes (#19676)
* [PT FE] Separate scripting and tracing in decoder

* Fix convert_model to accept decoder

* Some fixes

* Fix code style

* Fix preprocessor tests

* Fix tests

* Fix tests

* Fix more tests

* Fix ovc tests
2023-09-12 12:40:20 +04:00
HenryLin-png
514f9864af
CVS-98205 and CVS-114018 (#18592)
* Changed ls calls to /bin/ls, unset python_version before parsing cmd line

* Update setupvars.sh

Unset all temporary variables

---------

Co-authored-by: henry1.lin <linhenry@ttoycron01u.tor.intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-09-12 12:22:24 +04:00
Ilya Lavrenov
58546b2ecb
Use ov_mark_target_as_cc in CPU oneDNN (#19766) 2023-09-12 12:20:49 +04:00
Vitaliy Urusovskij
7bb22b43b3
TopKLayerTest to API2.0 (#19738) 2023-09-12 12:02:01 +04:00
Vladimir Paramuzov
47fe50ca35
[GPU] 2.0 plugin api impl (#18920) 2023-09-12 11:13:59 +04:00
Oleksii Khovan
8e0d8dd36b
[GPU] Pad-12 (#19083)
* GPU primitive and kernel changes to support Pad-12

* Exclude Pad-12 from GPU transformations pipeline

* add unit tests

* add single-layet test for Pad-12
2023-09-12 10:18:04 +04:00
Fang Xu
016c7dea8a
update oneTBB with https://github.com/oneapi-src/oneTBB/releases/tag/v2021.2.3 (#19639) 2023-09-12 13:53:23 +08:00
Ilya Lavrenov
6a1d680f90
Partially fixed github issue 18274 (#19758) 2023-09-12 07:34:45 +04:00
Ilya Churaev
3be8b58d2a
Update classes func tests (#19663)
* Remove legacy classes from functional_test_utils

* Fixed code style

* Fixed build all for macOS

* Suppress warning

* Revert old functions for internal plugins
2023-09-12 07:09:45 +04:00
Ilya Churaev
7becaf8494
Remove legacy API from common test utils (#19647)
* Remove legacy API from common test utils

* Fixed code style

* Fixed build

* Try to fix Windows build

* Fixed GNA build
2023-09-12 07:09:12 +04:00
Nikolay Shchegolev
497f42bd82
Post commit fix for #19521. (#19741) 2023-09-12 01:31:57 +04:00
Roman Kazantsev
fc5696321a
[TF Hub][GA] Separate Workflow for TF Hub Tests Validation (#19754)
* [TF Hub][GA] Use Ubuntu 20.04 for TensorFlow Hub Models validation and Separate job

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

* Apply review comments: ubuntu-20.04 use and install deps

* Simplify validation pipeline for TF Hub Models

* Remove extra deps installations

* Remove not needed code

* Try to fix

* Try 22.04

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-09-12 01:05:50 +04:00
Andrey Kashchikhin
3e95e48309
[CI] [GHA] Remove unnecessary steps and cmake options, use proper # of CPU cores for ARM64 pipeline (#19746)
* address comments

* rm

* use machine's # of cpu core
2023-09-11 22:37:42 +04:00
Bartlomiej Bielawa
2320329a51
[DOCS] Modify dropdowns css 2023-09-11 17:07:28 +02:00
Maciej Smyk
e614b8f69a
[DOCS] Update of model_conversion_diagram.svg for master (#19737)
* Update model_conversion_diagram.svg

* Update model_conversion_diagram.svg

* Update model_conversion_diagram.svg
2023-09-11 18:49:31 +04:00
Mateusz Tabaka
d0dda74fc2
Handle negative values in GroupedSliceToVSplitOptimization (#19495)
* Handle negative values in GroupedSliceToVSplitOptimization

CVS-118897

* change the way of getting slice inputs

* clamp value

---------

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
2023-09-11 18:31:39 +04:00
Vladimir Paramuzov
7e3e1e2480
[GPU] Support of int8 compressed weights for matmul (#19548) 2023-09-11 18:11:34 +04:00
Ilya Lavrenov
a1cc5e6692
Resolve ARM CPU plugin illegal instruction on older Linux systems (like Ubuntu 18.04) (#19717) 2023-09-11 17:15:42 +04:00
Vitaliy Urusovskij
847eb3f4f1
TransposeLayerTest to API2.0 (#19671) 2023-09-11 16:15:53 +04:00
Vitaliy Urusovskij
9f4e918ee2
Gracefully fail if test models weren't generated (#19705)
* Gracefully fail if test models weren't generated

* Add assert instead of return `nullptr`
2023-09-11 15:18:45 +04:00
Sebastian Golebiewski
3d872f14e4
[DOCS] Remove index file from notebooks (#19619) 2023-09-11 10:56:08 +00:00
Vitaliy Urusovskij
fb59d0eb36
VariadicSplitLayerTest refactoring to API2.0 (#19648) 2023-09-11 14:55:36 +04:00
Karol Blaszczak
da79964bd3
[DOCS] banner what's new text (#19730) 2023-09-11 12:15:47 +02:00