Commit Graph

337 Commits

Author SHA1 Message Date
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
Jan Iwaszkiewicz
664c196a13 [PyOV] Fix wheel requirements for new package versions (#13871)
* Bump pybind11 to v2.10.1 release tag

* [PyOV] Fix wheel requirements for new package versions
2022-11-05 16:01:45 +04:00
Zlobin Vladimir
28a118be39 Apply improvements I found during https://github.com/openvinotoolkit/openvino/pull/13388 (#13743) 2022-11-04 14:41:15 +04:00
Jan Iwaszkiewicz
9f2489941f Bump pybind11 to v2.10.1 release tag (#13793)
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-11-04 02:12:47 +04:00
Przemyslaw Wysocki
1cc499429a [PyOV] Upgrade ONNX to 1.12.0 (#12847)
* 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

* Fix model importer and reqs

* Add __test__

* Bump OMZ commit

* checkout omz

* Revert omz

* Bump omz

* Bump omz

* Revert omz

* Bump omz

* Change pychecks python version

* Add LayerNorm to expanded ONNX functions

* Apply clang

* Move LayerNorm tests to skip_segfault

* Refactoring

* Minor changes

* Minor changes

* Relax MO reqs
2022-11-03 22:56:57 +04:00
Ilya Lavrenov
e30a935e6f Removed conda option from python build (#13819) 2022-11-03 15:07:20 +04:00
Ilya Lavrenov
a5a969886b Preparation for python debian package (#13800) 2022-11-03 08:19:18 +04:00
Ilya Lavrenov
c40d225b6f Removed duplicated files from OpenVINO wheel (#13725) 2022-11-02 07:58:58 +04:00
Anastasia Kuporosova
bb296fcb11 [PyOV] some fixes and improvements in python tests (#13656)
* [PyOV] mark device dependent test

* fix assert in test

* fix assert error
2022-10-29 08:00:49 +02:00
Ilya Lavrenov
fbd6d14c3b Several fixes for compilation fixes (#13674)
* Added i386 support

* Cross-compiled wheel package

* Fixes

* Try to use cross-env

* Fixed path to crossenv

* Strict dependency

* Removed numpy dependency

* explicitly activate crossenv

* Don't install ONNX for tests conversions during cross-compilation

* Updates

* Extra improvements

* Fixed compilation with strict flags

* Fixes

* Revert changesin .ci/azure/linux_arm64.yml
2022-10-27 17:30:24 +04:00
Pawel Raasz
dd11d57fc5 Fix core tests warnings as errors and ONNX CI (#13648)
* Fix gather type_prop test build issue on windows

* Add pytest-forked to test requirements

* Update src/bindings/python/requirements_test.txt

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

* Remove warning suppression for core tests

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
2022-10-26 22:14:25 +03:00
Bartek Szmelczynski
bdc037adcf Add IsFinite operator (#13441) 2022-10-26 13:24:01 +02:00
Anastasia Kuporosova
9872a34bb9 [PyOV] mark pyopenvino as internal (#13427)
* [PyOV] makrk pyopenvino as internal

* change pyov -> _pyov

* change pyov -> _pyov

* replace impor in py files

* change install path

* undo some changes

* Revert "undo some changes"

This reverts commit 9e5794a394c1b7cd1823f70a0ddd4f8742547edf.

* replace in rest files

* keep folder w/o underscore

* undo changes in ci configs

* improve changes in cmake

* add pyopenvino deprecation warning

Co-authored-by: Adam Tumialis <adam.tumialis@intel.com>
2022-10-26 12:51:31 +02:00
Ilya Churaev
2a344b66cb Update to the latest cmake for Windows (#13604)
* Update to the latest cmake for Windows

* Skip new warnings

* Added compiler flags for old cmake

* Disabled some warnings

* Suppress new warnings

* Fixed some errors

* Disable some warning for lpt

* Fix some warnings

* Disable new warnings

* Fix some warnings

* Disabled Was error for arm

* Fixed some errors

* Fixed some new warnings

* Fixed auto plugin

* Fixed Windows warning

* Fixed Windows

* Disable some warnings

* Some changes

* Small test fixes

* Fixed python build

* Added skip warnings for legacy python API
2022-10-25 18:11:46 +04:00
Ilya Lavrenov
786690a44f Added post-processing for python wheel platform tags (#13584) 2022-10-21 17:42:26 +04:00
Ilya Churaev
5e25341904 Added reading of meta information from IR (#12925)
* Added reading of meta information from IR

* Fixed code style

* Added tests to cover multi-threading and removed file

* Fixed asserts

* Changed parsing of meta information

* Added meta information serialization

* Fixed unit tests

* Support unset_cli_parameters

* Changed get meta API

* Fixed threading tests

* Fixed mutex

* Removed serialization

* Fixed tests

* Fixed build

* Add quantization_parameters

* Use rt_info instead of meta section

* Disable old rt_info serialization

* Try to fix MO Reader for new rt info

* Fixed property name

* Added test to new meta format

* Added tests for new PoT config

* Added tests for new rt_info attributes

* Remove redundant code

* Revert old rt_info style for nodes

* Add get API for python

* Added python tests

* Fixed python code style

* Fixed tests code style

* Fix flake8

* Fixed python tests

* Add has_rt_info to test

* Added more comments

* Extended tests and API

* Changed error message

* Use new API to get model version

* Fixed comments on python API

* Fixed comments

* Fixed comments

* Update src/bindings/python/src/pyopenvino/graph/model.cpp

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

* Update src/bindings/python/src/pyopenvino/graph/model.cpp

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

* Fixed comments

* Fixed python check

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
2022-10-21 12:21:41 +04:00
Przemyslaw Wysocki
27a03948c2 [PyOV] Rewrite map to generator in ie_api.py (#13571) 2022-10-21 09:56:48 +02:00
Jan Iwaszkiewicz
0f0a08cde1 [PyOV] Refine InferRequestWrapper and AsyncInferQueue (#13512) 2022-10-20 21:34:03 +02:00
Mateusz Mikolajczyk
ffc74c8fe2 IsInf operator (#13383) 2022-10-20 20:59:01 +03:00
Przemyslaw Wysocki
a0e2f14790 [PyOV] Upgrade linter Python version (#13531) 2022-10-20 10:01:13 +02:00
Anastasia Kuporosova
2455bb67d4 [PyOV] Fix iteration over AsyncInferQueue (#13496)
* [PyOV] Fix iteration over AsyncInferQueue

* apply comments
2022-10-19 17:45:07 +02:00
Leonard Sikorski
e2b0313785 IsNaN operator (#13369) 2022-10-19 12:20:26 +02:00
Przemyslaw Wysocki
1861609119 [PyOV] Fix nightly pip conflicts (#13387)
Signed-off-by: p-wysocki <przemyslaw.wysocki@intel.com>
2022-10-18 11:24:06 +02:00