Commit Graph

359 Commits

Author SHA1 Message Date
Ilya Lavrenov
ccd9cadb14 Port to 2022.3 LTS (#15506)
* scripts/install_dependencies/install_NEO_OCL_driver.sh: code style (#15484)

* scripts/install_dependencies/install_NEO_OCL_driver.sh: code style

* scripts/install_dependencies/install_NEO_OCL_driver.sh: code style warnings

* scripts/install_dependencies/install_NEO_OCL_driver.sh: add missing !

* [PyOV] Fix UserWarning in setup.py (#15334)

* [Tools] Support NumPy 1.24 (#14728)

* [Tools] Avoid use of NumPy deprecated types

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

* Revert "[Tools] Avoid use of NumPy deprecated types"

This reverts commit 21ffc167d1.

* Move to 1.24 Numpy

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

* [PyOV] Change default opset9->opset10 (#15238)

* Meiyang/paddle 2.4 (#15177)

* PaddlePaddle 2.4.1 support

* Update src/frontends/paddle/tests/requirements.txt

lowering PDPD version

* update paddlepaddle to 2.4.0

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>

* Update README.md (#15504)

Just a small typo.

* Throw an exceptions in case of incorrect pointers in Model creation (#15492)

* [C++] Fix coverity issues (#15348)

* [C++] Fix coverity issues

* Merge master with this branch

* [C++] Reapply changes that got eaten during merge

* Update samples/cpp/benchmark_app/main.cpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* [C++] Add missing const keyword

---------

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* [Tests] Fix rest of NumPy deprecated types (#15245)

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

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

* Bump paddlepaddle from 2.4.0 to 2.4.1 in /src/frontends/paddle/tests (#15190)

Bumps [paddlepaddle](https://github.com/paddlepaddle/paddle) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/paddlepaddle/paddle/releases)
- [Changelog](https://github.com/PaddlePaddle/Paddle/blob/develop/RELEASE.md)
- [Commits](https://github.com/paddlepaddle/paddle/compare/v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: paddlepaddle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [nGraph]: fix fused names for ShuffleChannelsFusion transformation (#15150)

* [nGraph]: fix fused names for ShuffleChannelsFusion transformation

* Review comments

* [MO] Activate pylint checker in CI (#15012)

* Fixed mo workflow

* Update pylint config with import os

* Update .github/workflows/mo.yml

* Install extras for pylint checker

* Fix pylint reported errors

* Add torch to the environment

* Add torch into whitelist

* Ignore torch

* Localize torch code

* Fix syntax error

* Remove MO unit-test from Pylint flow

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>

* [PyOV] Allow `numpy` patch releases (#15265)

* Update reqs

* test, minor change

* [LPT] clang merge warning fix (#15502)

* Trying to fix debian packages (#15508)

* Trying to fix debian packages

* Added conflicts for samples for RPM

* updated mo/requirements.txt

* updated python/requirements.txt

* updated compatibility/requirements.txt

* Ipdated more places

* Revert "scripts/install_dependencies/install_NEO_OCL_driver.sh: code style (#15484)"

This reverts commit 36106d9c45.

* Apply suggestions from code review

* Added policy

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>
Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com>
Co-authored-by: mei, yang <yang.mei@intel.com>
Co-authored-by: kyo <113977534+kyo-takano@users.noreply.github.com>
Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
Co-authored-by: Piotr Krzemiński <piotr.krzeminski@intel.com>
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nadezhda Ageeva <nadezhda.ageeva@intel.com>
Co-authored-by: Przemyslaw Wysocki <przemyslaw.wysocki@intel.com>
Co-authored-by: Edward Shogulin <edward.shogulin@intel.com>
2023-02-09 15:34:18 +04:00
Ilya Lavrenov
833c2865c3 Generalized OpenCL handling (#15253) (#15507)
* Generalized OpenCL handling (#15253)

* Squashed commit of the following:

commit 62c992f6a0bc3a2f559faac6912be9c5632a359f
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Jan 22 11:38:18 2023 +0400

    Generalized OpenCL handling

* Updates

* Fixes

* Update thirdparty/CMakeLists.txt

test

* Fixed build with CL/cl2.hpp

* Fixes

* Fixes

* Fixed compilation flags

* Fixed build with target OpenCL 120

* Don't use cache

* Added policy

* Fixed with build_interface
2023-02-09 14:52:25 +04:00
Artyom Anokhov
358efd2d06 Updated copyrights with 2023 year (#15148)
* Updated copyrights with 2023 year.

* Updated more files
2023-02-02 16:48:28 +01:00
Ilya Lavrenov
a11ae5b690 Setup minimum supported version for pybind11 (#15405) 2023-02-02 16:04:10 +04:00
Anastasia Kuporosova
3e70387903 [PyOV] Update futureWarning in offline_transformations (#15319) (#15342) 2023-01-28 13:01:28 +04:00
Anastasia Kuporosova
567eac4d8f [PyOV] skip dynamic test for arm (#15257) (#15271)
* [PyOV] skip dynamic test for arm

* Update src/bindings/python/tests/test_runtime/test_infer_request.py

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2023-01-23 23:33:28 +04:00
Anastasia Kuporosova
c939c70f0d [PyOV] Skip tests with bool for arm (#15208) (#15214)
* [PyOV] Skip tests with bool for arm

* exec_net export test rewrite
2023-01-20 01:23:50 +04:00
Jan Iwaszkiewicz
a2dc739da4 [PyOV] Add new types to Any dispatcher (#15194) 2023-01-19 15:38:46 +04:00
Anastasia Kuporosova
cc2c03c95d Port skipped test (#15140)
* [PyOV] Rewriting properties tests as hardware agnostic (#14684)

* [PyOV] Mark replacement of topk in test (#15095)

* undo unwished changes

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
2023-01-17 17:24:19 +04:00
Anastasia Kuporosova
196d01b952 Port changes in python tests to 2022.3 (#15101)
* [PyOV] Rewriting properties tests as hardware agnostic (#14684)

* [PyOV][Tests] Fix some tests for M1 (#14555)

* [PyOV] Make graph tests hardware agnostic - part 1 (#14500)

* Halfway done

* Prepare part 1

* Minor changes

* Minor changes

* [PyOV] Make graph tests hardware agnostic - part 3 (#14639)

* [PyOV] Make graph tests hardware agnostic - part 2 (#14519)

* [PyOV] Make graph tests hardware agnostic - part 4 (#14705)

* [PyOV] Make graph tests hardware agnostic - part 5 (#14743)

* merge conflict resolve

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
Co-authored-by: Przemyslaw Wysocki <przemyslaw.wysocki@intel.com>
2023-01-14 01:39:17 +04:00
Roman Kazantsev
9752fafe8e [Default Install] Recover upper-bound for the default installation openvino-dev (#14734)
Use 1.23.4 to be aligned with extras installation

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

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-12-20 00:14:53 +01:00
Roman Kazantsev
53265f0097 [ONNX FE] Support value freezing without specifying type (#14481) (#14554)
* [ONNX FE] Support value freezing without specifying type

Implement gete_element_type method for ONNX InputModel.
Implement tests with freezing integer input and float models

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

* Update src/frontends/onnx/frontend/src/input_model.cpp

Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>

* Update src/frontends/onnx/frontend/src/input_model.cpp

Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>

* Update src/frontends/onnx/frontend/src/input_model.cpp

Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>

* Return only element type for model inputs and add ONNX FE tests

* Rename variable in the test

* Add syntax mark

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
2022-12-12 10:53:52 +04:00
Mateusz Bencer
7e87923f0c Added support of custom domain for OpExtension (C++/Python) and ConversionExtension (Python) (#14523) 2022-12-09 15:01:07 +01:00
Przemyslaw Wysocki
a96f2af2f4 [PyOV] Upgrade mistune and remove import-order (#14356) 2022-12-05 10:16:24 +01:00
Ilya Lavrenov
6dd8a93735 Made OpenVINO cmake scripts Linux flavors agnostic (#14384)
* Use prebuilt cmake in install-dependencies steps

* Removed building of custom python to save Azure CI time

* Adjusted conditions in cmake

* Download VPU custom kernels compiler only for x86

* Removed -pyver argument

* Improvements

* Detect glibc version

* Usage of new glic variable

* Fixed typo

* Increased glibc version for MYRIAD case

* Made OpenVINO cmake Linux flavors agnostic

* Detect glibc version on RedHat

* Use clcompiler only since ubuntu 18.04

* Universal way to detect glibc version

* Revert some changes

* Apply suggestions from code review

fixes issue with GNA

* Apply suggestions from code review

fixed typo
2022-12-04 22:55:52 +04:00
Anton Voronov
3caebffa5c [CPU] Sparsity weights decompression (#13775) 2022-12-04 22:43:53 +04:00
Nikolay Shchegolev
add3b11880 [CPU] New operations: IsFinite, IsInf, IsNaN. (#14314) 2022-12-01 16:34:39 +04:00
Tomasz Jankowski
64391cdb3f Transformation component transition to OV namespace (phase 3) (#13653)
* Use openvino pass graph_rewrite

* Use openvino pass pattern matcher

* Remove ngraph opsets

* Remove ngraph.hpp

* Remove ngraph includes

* Remove ngraph includes

* Use transformations API

* Remove ngraph includes

* Remove ngraph rt_info

* Remove unused ngraph includes

* Replace ngraph:: scope with ov:: here and there

* Remove serialize proxy header

* Remove proxy include

* Bring back a file for vpu-plugin

* Fix after upstream merge

* Remove nested namespace conflict

Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
Co-authored-by: Mateusz Tabaka <mateusz.tabaka@intel.com>
2022-12-01 12:34:58 +01:00
Roman Kazantsev
38a1783527 [FE] Support freezing Placeholder without specifying type (#13984)
* [FE] Fix freezing placeholder via freeze_placeholder_with_value option

Currently, freezing placeholder via freeze_placeholder_with_value option does not work for any frontends. It happens due to absence of a node in _input_shapes dictionary.

* Add get_element_type method for InputModel

* Revert not needed changes

* Revert not needed changes

* Update freeze_placeholder_test

* Add tests for TF FE with freezing values of different types

* Fix Python API return value

* Correct returned type for get_numpy_ctype

* Apply code-review feedback

* Update src/frontends/tensorflow/src/input_model.hpp

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>

* Apply code-review feedback: no tf legacy specific routine and parameter names

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
2022-12-01 13:37:25 +03:00
Roman Kazantsev
5f06431aec [Install] Remove upper bound for NumPy for default installation and update upper bounds for extras (#13985)
* [Python API][Tools] Top up upper bound version for dependencies: NumPy, TensorFlow, NetworkX

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

* Remove upper-bound for TensorFlow and NumPy

* Revert "Remove upper-bound for TensorFlow and NumPy"

This reverts commit 662085df2e.

* Remove upper-bound for NumPy for default installation

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-11-30 09:53:06 +04:00
Katarzyna Mitrus
13a76a8b72 [Unique-10] ConvertPrecision transformation and new attribute for output type (#14229)
* Add attribute for last output element type

* Add convert precision transformation and tests

* Update Unique python API with new attribute

* Update Unique-10 op specification

* Update docstrings

* Update visitor tests

* Add type prop tests for the new attribute

* Check axis constant before shape, compare with partial shape
2022-11-28 11:56:49 +01:00
Ilya Lavrenov
79c6968024 Added older pugixml version support (#14260)
* Added pugixml finding w/o cmake, pkg-config

* Fixed findings

* Pugixml

* Removed sudo from install_build_dependencies.sh

* Fixed compilation with old pugixml

* Fixed Azure pipelines

* Updated clang-format step

* Add new approach for pugixml find to OpenVINO Developer package

* Fixed compilation with older pugixml

* Added openssl-devel for cmake build

* Fixed finding pugixml in developer package
2022-11-28 11:54:54 +04:00
Anastasiia Pnevskaia
8f17bd6f21 copy() and deepcopy() tests for PartialShape. (#14190)
* Added tests of copy() and deepcopy() for PartialShape.

* Code reformat.
2022-11-24 13:28:20 +04:00
Anastasiia Pnevskaia
74758c0ca5 copy() and deepcopy() methods for PartialShape. (#14136)
* Added copy and deepcopy methods for PartialShape.

* Clang format.
2022-11-23 01:09:30 +04:00
Mateusz Bencer
a693f4efac [ONX FE][Quantize/DeQuantize] Ignore the axis attribute for scalar scale/zero_point (#14049) 2022-11-22 03:34:30 +03:00
Katarzyna Mitrus
adea538ba7 Fix Unique op python tests (#14118) 2022-11-22 02:50:08 +03:00
Jan Iwaszkiewicz
abdcaef36d [PyOV] Add README.md and align structure-showing style (#14093)
* [PyOV] Add README.md and align structure-showing style

* First batch of review changes

* Remove README from compatibility files

* Add note about coding style rules

* Add note about coding style rules pt2

* Update Components

* Apply fixes
2022-11-21 16:42:36 +01:00
Mateusz Tabaka
738d7bb09f Remove ov::JsonConfigExtension (#14087)
Ticket: 96278

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-11-21 15:06:08 +04:00
Anastasiia Pnevskaia
558714ccdd Support of passing model from memory to mo.convert_model() (#13457)
* convert() method added.

* Moved conversion to convert() method.

* Fixed commits.

* Output dir fix.

* Added objects support for extesions param.

* Added support for transformations_config extension objects.

* Input to str unit tests.

* Added tests, added comments.

* Updated BOM.

* Removed commented code.

* Fixed extension passing.

* Small corrections.

* Fixed for python 3.6.

* Small fix.

* Moved dir creating to ov.serialize(), removed mo.serialize(), small fixes.

* Small fix.

* Small correction.

* Removed coping of params, moved convert implemetation to separate module.

* Import fixes.

* Moved hiding of exceptions to main().

* Updated comment.

* Fixed unit tests.

* Comment changed.

* Fixed dir creating.

* Tests fixed.

* Small fixes.

* Test fix.

* Added meta data generation, removed printing of execution time for silent mode.

* Import fix.

* Conflict fix.

* Fixed error.

* Fix for custom config.

* Added version, data_type params to help.

* Added mo.convert() full-functional tests.

* Small corrections.

* Comment correction.

* Moved convert to openvino package, moved LayotMap and InputCutInfo to openvino.convert.

* Added help param.

* Wrong change removed.

* Small fix.

* Removed unnecessary comments.

* Removed .xml extension check from append_ir_info.

* Added missed file.

* Fixed error.

* Fix for bool value in InputCutInfo.

* Moved InputCutInfo, LayoutMap to openvino.tools.mo.

* Moved InputCutInfo, LayoutMap to openvino.tools.mo.

* Moved check and read_model to emit_ir.

* Small correction.

* Added comment.

* Added unit_tests with convert().

* Small corrections.

* Removed convert alias from openvino.

* Fixed conflicting unit tests.

* Removed unnecessary warnings.

* Params check fix.

* Small correction.

* Added paths checks.

* Added negative tests for to_str methods, fixed errors.

* Added tuples support in input parameter.

* Added direct support of BytesIO and TF1 graph def.

* Moved reminders to update OV and use API 2.0 to main().

* Fixed keras loading.

* Returned .mapping file generating.

* Added positional input_model param.

* Added test for unnamed input_model.

* Optimize imports.

* Added more informative error for brackets syntax in --input.

* Keras direct model support.

* Keras direct model support.

* Small fix.

* Conflict fix.

* Conflict fix.

* Added direct support of BytesIO and TF1 graph def.

* Fixed keras loading.

* Keras direct model support.

* Keras direct model support.

* Small fix.

* Tests for importing from memory.

* Support of other tf/pytorch formats.

* Updated mo_convert extensions tests to use ov models.

* Removed debug output.

* Implemented PyTorch converting logic.

* Small corrections.

* Small corrections.

* Added comments.

* Fixed for single input case.

* Added switching between save to file and BytesIO.

* Small fixes.

* Rename convert() to convert_model().

* Added env variable to disable converting to onnx.

* Tests refactoring.

* Add MO Python API tests to precommit.

* Add MO Python API tests to precommit.

* Added PyTorch to layer tests requirements.

* Added supported formats description.

* Fixed errors, added tests.

* Fixed bugs, added support of numpy and ov.Tensor sample_input.

* Added more torch.Size tests.

* Small correction.

* Renamed sample_input->example_inputs.

* Tests refactoring.

* Code style.

* Added support of dict in example_inputs.

* Small correction.

* Added removing of tmp onnx model in case of conversion error.

* Fix for lists of tensors in example_inputs.

* Support of dynamic axes for Keras layer, Keras module.

* Removed disabling of eager execution.

* Tests fixed.

* Added pytest requirement for layer tests.

* Added convert_model to openvino.runtime, fixed test runs.

* Small fix.

* Tests fix.

* Better help message.

* Error fixed.

* Renamed example_inputs->example_input.

* Small fix.

* Added support of list of layouts.

* Removed wrong change.

* Added tuple support for --layout.

* Removed convert_model from openvino.runtime.

* Use of default onnx opset version.

* Added support of dynamic input shapes without example_input.

* Made better error message.

* Removed stack trace from exceptions.

* Fixed tests.

* Small fix.

* Removed wrong change.

* Added import model from memory tests in unit tests.

* Replaced compare_functions() with MO IR reader compare.

* Removed test.

* Removed not needed change.

* Fixed conflicts.
2022-11-19 11:21:44 +03:00
Andrei Kochin
a73fe4e351 Remove test for unqiue op to fix master (#14102)
* Remove test for unqiue op

Signed-off-by: andrei.kochin <andrei.kochin@intel.com>

* Remove test empty line

Signed-off-by: andrei.kochin <andrei.kochin@intel.com>
2022-11-19 01:17:55 +04:00
Katarzyna Mitrus
26bdf1ac63 [Unique-10] Add Unique op to PythonAPI (#14036)
* Add Unique op to PythonAPI

* Add Unique op to the compatibility PythonAPI

* Clean redundant imports and style

* Clean unused type
2022-11-18 16:59:22 +01:00
Anastasia Kuporosova
2142ed9363 [Docs][PyOV] Remove obsolete documentation file (#14098) 2022-11-18 16:30:11 +01:00
Anastasiia Pnevskaia
8f05bab594 PartialShape -> str methods alignment (MO, ov::core). (#13613)
* Added PartialShape from str constructor, added to_string() method.

* Small corrections.

* Moved shape parsing to PartialShape and Dimension classes.

* Fixed errors.

* Added tests for shapes with comma separator.

* Fixed tests.

* Test fixed.

* Fixed test.

* Fixed tests.

* Small fix.

* Removed usage of depricated method.

* Fix in MO IR reader.

* Tests fixed.

* Fix in MO IR reader.

* Test fixed.

* Shape class alignment.

* Code fixes.

* Code fixes.

* Used unnamed namespace.

* Undo change of Shape attribute adapter.

* Undo change of Shape attribute adapter.

* Removed unnecessary includes.

* Removed unnecessary code.

* Test fixed.

* Fix in MO IR reader.

* Moved check_all_digits() to ov::util.

* Moved check_all_digits() to src/core/src/.

* Clang format.

* Apply suggestions from code review

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* Removed dimension_util file.

* Removed wrong change.

* Removed extra spaces from string representation of Shape.

* Test fixed.

* Added support of comma separator for value. Updated help.

* Returned old format shape serializing.

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
2022-11-18 14:38:11 +04:00
Ilya Lavrenov
c51ee524ad Tuned wheels build (#14038) 2022-11-17 00:03:34 +04:00
Mateusz Tabaka
e752ff753b Simplify dequantization sub-graph detection (#13906)
DisableConvertConstantFoldingOnConstPath was renamed to MarkDequantizationSubgraph
and modified such that it also marks Subtract and Multiply from dequantization subgraph
with 'DequantizationNode' attribute.

Ticket: 65489

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2022-11-16 14:30:24 +04:00
Ilya Lavrenov
90427b019e Unbrick TF FE (#13779) 2022-11-16 10:53:10 +04:00
Mateusz Tabaka
985bdc1138 Enable SmartReshape in offline transformations (#13510)
Ticket: 79534
2022-11-16 07:37:15 +01:00
Ilya Churaev
d337f6b16f Add get available opsets (#13920)
* Added doxygen comment for opset10

* Added get_available_opsets method to API

* Fixed build

* Fixed build and typo

* Use constant map

* Removed defines from global opset

* Added const to map
2022-11-15 16:35:09 +03:00
Piotr Krzemiński
d951623027 [BENCHMARK_APP/PYTHON/CPP] Align benchmark_app output across languages (#12814)
* [PYTHON] Pipeline transfer

* [PYTHON] Align python benchmark

* [PYTHON] Align last step

* [PYTHON] Fix innacuracies of the last step - median

* [PYTHON/CPP] Add Core::get_version method to python API, refactor Ben benchmark to print version with this func

* [PYTHON] Remove get_version_string from API

* [PYTHON/CPP] Align output for model input/output info

* [PYTHON/CPP] Step 4,6 alignment of outputs, step 8 dumps all info stored in config parameters

* [CPP] Fix a bug causing nstreams parameter to never be set to AUTO in CPP benchmark_app

* [CPP] Fix clang format errors

* [CPP] Modify print order and data output for 8th step

* [PYTHON] Add verification checks from C++, modify set_thoughtput_streams to match documentation

* [CPP] Revert changes to C++ benchmark_app

* [CPP] Remove additional spacebar

* Update submodules versions on remote

* Update module from master branch

* Redownload submodules from master and override changes from commit

* [PYTHON] Remove unneccesary parse_status from validation function

* [PYTHON] Check for HINT in map, fix circular import

* [PYTHON] Remove artifacts from commit, fix args.perf_hint set to '' instead to 'none'

* [PYTHON] Reverse changes to perf hint, add key in map check, fix validation function throwing error on set hint

* [PYTHON] Fix linter

* [PYTHON] Remove linter spacebar

* [CPP] Fix wait_all exception throw

* [CPP/PYTHON] Clean artifacts and unwanted changes from work process

* [PYTHON] Fix artifacts from merge, clean submodule update

* [C++ CPU] Fix device name string by removing padding NULL characters from the back

* [CPP] Fix ba infer_request_wrap in other throw-catch clauses

* [PYTHON/CPP] Fix missing latencies in final step for shape group, fix minor misaligned messages, add missing report parameter create infer requests time

* [CPP] Clang fix formatting

* [CPP] Reverse clang fix format on plugin.cpp

* [PYTHON/CPP] Fix C++ progressbar printing endl when disabled, fix rounding in python creating infer request message

* [CPP] Fix foramtiing error

* [PYTHON/C++] Refactor network to model based on naming conventions, provide fresh README output example

* [PYTHON/C++] Add example output to C++ README, remove unnecessary device loop

* [BENCHMARK_APP/C++] Fix artifact from refactoring, remove try-catch clause

* Update samples/cpp/benchmark_app/benchmark_app.hpp

Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>

* Update samples/cpp/benchmark_app/main.cpp

Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>

* Update tools/benchmark_tool/openvino/tools/benchmark/main.py

Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>

* Update samples/cpp/benchmark_app/main.cpp

Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>

* [CPP] Fix clang errors

* [CPP/PLUGIN Reverse modification to extract to separate task

* Update tools/benchmark_tool/openvino/tools/benchmark/main.py

Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>

* Update tools/benchmark_tool/openvino/tools/benchmark/parameters.py

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>

* Update tools/benchmark_tool/openvino/tools/benchmark/utils/utils.py

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>

* Update tools/benchmark_tool/openvino/tools/benchmark/main.py

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>

* [PYTHON/C++/BENCHMARK_APP] Fix language inconsistencies, remove unnecessary checks

* Update pyopenvino.cpp

* [CPP/BENCHMARK_APP] Remove unnecessary try-catch, fix linter errors

* [PYTHON/CPP/BENCHMARK_APP] Revert changes to Core, align version prints usin only provided methods

* [DOCS/BENCHMARK_APP] Update README with proper model examples

* Update README.md

Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>
2022-11-14 14:10:36 +01:00
Anastasia Kuporosova
bbd221e6d3 [PyOV] Fix compatibility if-ops test (#13952) 2022-11-14 10:51:27 +01:00
Jan Iwaszkiewicz
2a9ae52ec1 [PyOV] Bump pygments version (#13947) 2022-11-13 14:09:50 +01:00
Ilya Lavrenov
d1c1680a81 Fixed openvino-dev version (#13962) 2022-11-11 22:43:06 +04:00
Jan Iwaszkiewicz
b44eb83551 [PyOV] Fix typo in filename generator (#13948) 2022-11-11 10:11:13 +01:00
Anastasia Kuporosova
96d835244c [PyOV] Fix finding libs on windows (#13902)
* [PyOV] Fix finding libs on windows

* exclude install pkg dirs

* undo changes in setup.cfg

* change the logic
2022-11-10 21:32:47 +01:00
Anastasia Kuporosova
0942c6617b [PyOV] Add function which create unique names for test files (#13929) 2022-11-10 17:04:25 +03:00
Jan Iwaszkiewicz
d6fe686237 [PyOV] Bump version of pytest for compatibility API (#13932) 2022-11-10 16:55:42 +03:00
Mateusz Mikolajczyk
1c03be58ff [CORE] IsFinite, IsInf, IsNan reference implementation (#13621)
* Add reference implementation for Is ops

* FIx test

* Fix typo

* Remove deprecated

* Fix issues with API switch

* Force cast to float for float16/bfloat16 in ref

* Fix style

* Remove BWDCMP_RTTI

* Remove TensorVector helper check

* Remove evaluate functions

* Disable faling tests due to missing eval
2022-11-09 19:17:26 +03:00
Jan Iwaszkiewicz
5ae221e107 [PyOV] Fix mypy after bump, general refactor (#13913)
* Fix mypy errors after bump PEP482, reformat code in general

* Enable checks

* Fix smaller issues

* Revert typo with comments

* Fix indents
2022-11-08 19:26:39 +04:00
Przemyslaw Wysocki
d2871fd52c [PyOV] Enable Python 3.10 on Azure CI (#12578)
* Fix mypy for numpy==1.21.6

* Apply CR changes

* Allow Python 3.6 for open source

* Attempt to silence mypy

* Revert to 3.6 in setup.pys

* Fix merge conflict

* Add newline

* Fix Python version assert

* Test Python 3.10 CI

* Try bumping up pybind to 2.10

* Link default python to python 3.10

* Add sudo to changing default python

* Bump python version in setupvars

* Fix exception in test

* Do the same for compatibility

* Apply same CI changes to other pipelines

* Attempt to fix arm and windows CIs

* Fix win py lib version and links?

* Try to fix CI

* Fix win python path

* Update win path

* Test disable PDPD

* Disable TF for testing CI

* Add sudo to rm

* Test linux

* Update requirements

* RM sudo

* Add debug step to CI on ARM

* build py from source on linux

* Remove debug step from ARM

* Fix err

* Fill num_proc

* Fic py installation

* Bump pdpd to 2.3.1

* Bump np vers

* Try to upgrade onnx to 1.12.0

* Revert onnx upgrade, enable frontends

* Build py shared

* Export library

* activate py env

* Bump scipy for py3.10

* Another scipy bump

* Fix Windows path, add nfs helper for mount

* Attempt to fix win_cc

* Batch of changes

* Try to fix ngraph-onnx-lin

* Install lsb-release for docker on ngraph-onnx-lin

* Link lsb_release

* Try bumping Ubuntu to 22.04

* Revert ubuntu change in dockerfile

* Refactor tests for onnx1.12

* Fix ONNX compatibility and numpy warnings

* Refactor tests for onnx1.12

* Fix ONNX compatibility and numpy warnings

* Upgrade ONNX to 1.12 in cpp

* Skip unsupported ops

* Revert "Fix ONNX compatibility and numpy warnings"

This reverts commit cd8a0e6b8e.

* Small changes

* Remove unnecessary changes

* Bump Python version in github workflows

* Fix flake error

* Another flake error

* Even more flake errors

* Xfail more tests

* Fix mypy errors

* Change onnx version in tests

* Bump ONNX in MO

* Fix onnx utils in comp

* Minor changes

* Import pathlib

* Add xfails to compatibility tests

* Skip segfaulting tests

* Fix onnx nametuple

* Fix flake

* Try to fix py3.6 onnx

* Switch to venv in windows

* Fix model importer and reqs

* Add __test__

* Debug print

* Fix flake

* Update linux.yml

* Update windows.yml

* Update linux.yml

* Update windows.yml

* Install python3.10

* Update windows.yml

* Update windows.yml

* Update windows.yml

* Update windows.yml

* Update windows.yml

* Update windows.yml

* Update windows.yml

* Update windows.yml

* Install py embedded

* Fix dir

* Fix curl

* Add complete file

* CP file

* Bump py ver

* Fix missing venv

* Try to install

* Disable venv

* Bump OMZ commit

* checkout omz

* Revert omz

* Bump omz

* Revert pybind bump

* Update .gitmodules

* Change pybind to fork

* change ssize_t to size_t

* Install bz2 for py build

* Bump omz

* Bump pandas requirement version

* Revert omz

* Install missing clang

* Bump omz

* Bump versions on fork

* Bump numpy in model zoo

* Fix clang

* Skip segfaulting pdpd test

* Skip another pdpd test

* Skip pdpd places.cpp

* Bump py ver in setupvars.bat

* Disable paddle tests

* Use int instead of str

* Fix requirements path

* Enable lin-cc

* Fixes in CI

* lin-cc and ngrpah-onnx changes

* Update num_proc

* Update ngraph-onnx

* Minor change

* Fix env var

* Change ubuntu to 20

* Get compiler on ngraph-onnx

* Add sudo to apt-get

* Add SSL

* Download ssl

* Different way of installing ssl

* Minor changes

* install zlib

* Fix env var

* Fix docker building error

* Revert changes

* Modify dockerfile

* Change pychecks python version

* Cleanup

* Add LayerNorm to expanded ONNX functions

* Revert previous commit

* Add LayerNorm to expanded ONNX functions

* Apply clang

* Move LayerNorm tests to skip_segfault

* Unskip pdpd tests

* Enable pdpd tests on linux

* Refactoring

* Remove 3.6 from reqs

* Refactoring

* Minor changes

* Minor changes

* Relax MO reqs

* Bump torch version

* relax pytest

* Specify pytest version

* Fix pytest pip conflict

* Bump pybind11 to v2.10.1 release tag

* Specify separate pytest version for py3.10

* Bump attrs

* Add py dependency

* Refactor versions

* Add venv activation to tf tests

* Fix fdupes

* Bump OMZ submodule

* Remove find and replace

* Change pybind to upstream fork

* Set pybind to proper commit

* Minor changes

* Try to fix scipy

* Updated exclude patterns for nlohmann json

* [PyOV] Fix wheel requirements for new package versions

* Specify CPU plugin versions

* Bump OMZ version

* Fix linter

* Fix linter 2

* Fix linter 3

* Disable linter

Co-authored-by: Mateusz <mateusz.mikolajczyk@intel.com>
Co-authored-by: jiwaszki <jan.iwaszkiewicz@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-11-08 11:38:39 +04:00
Anastasia Kuporosova
713eb9683f [Pyskip failed tests (#13892) 2022-11-07 14:46:51 +04:00