Commit Graph

506 Commits

Author SHA1 Message Date
Andrei Kochin
247675b0bc [MO] Update reminder message for 2022.3 (#13572) 2022-10-21 19:43:38 +04:00
Ilya Lavrenov
786690a44f Added post-processing for python wheel platform tags (#13584) 2022-10-21 17:42:26 +04:00
Evgenya Stepyreva
1047bb7732 Simplify Reshape inserted while converting RNN from mxnet (#13570) 2022-10-21 14:29:39 +04:00
Piotr Krzemiński
d715ecaa32 [CPP/SAMPLES] Samples location independant on script execution directory (#13251) 2022-10-20 10:01:55 +02:00
18582088138
152511daa8 Benchmark sort opt (#12350)
* Benchmark_app python and c/c++ script add op profiling feature

* Fix compile bug about benchmark c/c++ op profiling

* Fix Compile Bug

* Fix issue in PR#12350 : 1. report_type info update; 2. priority of -pc and -pcsort; 3.align format between c++ and python; 4.check 'proportion' for 0 and print N/A; 5.detect the confusing print info

* Fix 8/17 review suggestion

* Fix 8/23 suggestion

* Fix the clang-format issue

* Fix the win-cc issue

* Fix win-cc issue about conversion from 'double' to 'float', possible loss of data

* Push PR by ODT group account

Co-authored-by: Chen Peter <peter.chen@intel.com>
Co-authored-by: Fiona Zhao <fiona.zhao@intel.com>
2022-10-19 22:59:12 +08:00
Mario SAVU
c9b6d69221 Fixing assert when handling iop, iol and ioml (#13526) 2022-10-19 12:14:00 +03:00
Alexander Kozlov
7019afd7ff Fixed versions of POT dependencies (#13497)
* Fixed versions of POT dependencies

* Keep pandas version fixed due to incompatibilities with the numpy
2022-10-18 15:59:54 +04: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
Sebastian Golebiewski
0db641fc51 DOCS: Fixing math equation for master (#13210)
A small fix for math equation that was not rendering properly... further changes required in the future, when build process is simplified.
2022-10-17 11:31:16 +03:00
Ilya Lavrenov
2e336e4bb8 Fixes for brew support on OSX (#13476)
* Fixes for brew support on OSX

* Added new policy

* added quotes

* Used OpenVINODeveloperPackage

* Extra fixes

* Use standard verbose variable

* Fixed pkg-config generation
2022-10-15 00:15:03 +03:00
Maciej Smyk
39abc5368d DOCS: Port to master - NNCF Fix (#13283)
Port from #13215
2022-10-12 17:06:37 +02:00
Ilya Lavrenov
c2911adf94 Conda-forge fixes (#13392) 2022-10-12 12:16:13 +04:00
Wang, Yang
6bd099917a [AUTO plugin] Enable benchmark setting performance hint with none value to hardware device through AUTO/MULTI plugin (#13063)
* Set 'UNDEFINED' as the performancehint default value. Update benchmark app to pass performance hint with none value to MULTI/AUTO plugin.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Using 'UNDEFINED' as the default value of hint in AUTO/MULTI plugin.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Adding a flag instead of adding a default value of hint to check if user configures the performance hint to AUTO/MULTI plugin.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Update benchmark python version.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

Signed-off-by: Wang, Yang <yang4.wang@intel.com>
2022-10-12 10:03:17 +08:00
Liubov Talamanova
968bd6c96b Fix bug with unknown node type (#13406) 2022-10-11 19:05:54 +04:00
Evgenya Stepyreva
abd58eef5c Group Convolution: prevent dyn input shape from making weights dynamic via ShapeOf (#13374)
* GroupConvolution: prevent dynamic input shape to make weights dynamic via ShapeOf

* Minor fix to get rid of deprecation warnings
2022-10-11 18:48:11 +04:00
Nico Galoppo
6e791a021c Fix benchmark perf counter stats output (#13134)
* Fix benchmark_app commandline parsing

Object 'str' does not have a contains() method. Replaced by
"searchstring in object" query.

* Fix perf counter output and use consistent units

When ProfilingInfo was bound by pybind11, those entries turned into
Python timedelta objects. This caused two problems:

1. There was a division by 1000 to go to milliseconds. This caused a lot
   of precision lost, because `timedelta(microseconds=2300)/1000.0 =
   timedelta(2)` and `timedelta(microseconds=33) = timedelta(0)`.
2. When converting those timedelta objects to str, the output is in the
   form of (HH:MM:SS.XXXXXX). This is not very useful microsecond based
   performance counters.

This change simply reverts everything to printing plain microsecond
based integers.

* Align counter output to ms between Python/C++
2022-10-07 02:17:15 +04:00
Ilya Churaev
8a9c19e3eb Warning as error for Windows (#13291)
* parent 6e7016ccda
author Ilya Churaev <ilya.churaev@intel.com> 1664281499 +0400
committer Ilya Churaev <ilya.churaev@intel.com> 1664510018 +0400

Fixed warnings on local machine

* Added CMAKE_COMPILE_WARNING_AS_ERROR usage

* Fixed style

* Fixed merge conflicts

* Fixed typo

* Fixed myriad build for macOS

* Fixed warning

* Fixed tests

* Disabled incorrect test

* Try to fix linux tests

* Revert "Try to fix linux tests"

This reverts commit 29224c93ff.

* Fixed tests

* Revert logic with incorrect cast

* Fixed log softmax

* Disable warning as error for cuda

* Try to fix inference_engine_s

* Fixed cmake

* Revert "Fixed cmake"

This reverts commit 87e9e4e674.

* Revert "Try to fix inference_engine_s"

This reverts commit a1adca8b05.

* WA for static symbols in inference_engine_s test library

* Fixed code style

* Fixed static definition for master

* Revert "Fixed static definition for master"

This reverts commit 20d00d215a.

* Revert "Fixed code style"

This reverts commit 0eb2362543.

* Revert "WA for static symbols in inference_engine_s test library"

This reverts commit 75ef86a79d.

* Fixed linker issue for Windows

* Disable WaE by default

* Disable warning as error in the developer package

* Try to fix dev package

* Try to fix Windows Jenkins

* Revert old behavior for tread_warn_as_err variable
2022-10-06 13:44:21 +04:00
Piotr Krzemiński
29a15e39da [BENCHAMRK_APP/PYTHON] CV2 module required only when loading images (#13113) 2022-10-05 09:50:55 +02:00
Roman Kazantsev
e1545622d3 [TF FE] Switch on fallback for TF FE even for use_new_frontend option (#13321)
* [TF FE] Switch on fallback for TF FE even for use_new_frontend option

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

* Add unit-test for TF FE transformation config fallback

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-10-05 06:28:24 +03:00
Liubov Talamanova
fcfc5c963b [POT] Fixed non-zero zero point value in symmetric quantized weights (#13013)
* Fixed non-zero zero point val in symmquantized weights

* Update references

* Add tests
2022-10-04 12:00:16 +04:00
Nadezhda Ageeva
45052f19be [MO] cleanup fused names after all transformations (#12906)
Add test

Update src/common/transformations/include/transformations/common_optimizations/fused_names_cleanup.hpp

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>

Review comments

Cleanup test includes
2022-10-03 18:53:13 +04:00
Liubov Talamanova
9f2564670f [POT] Support SoftSign quantization for GNA (#13140)
* Add SoftSign to GNA HW config

* Add test

* Update gna3 HW config
2022-10-02 10:43:51 +00:00
Roman Kazantsev
5fef222bce [TF FE] WA: Support Non-frozen Formats (#13289)
* [TF FE] WA: Support Non-frozen Formats

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

* Normalize path to the intermediate model

* Apply feedback: add path to return and correct tests

* Check that the file is not empty in the test

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-10-01 01:37:27 +03:00
Liubov Talamanova
f68b6e27b0 Update references (#13245) 2022-09-30 18:10:01 +04:00
Roman Kazantsev
52cf4eacd1 [MO, Common] Fix SplitConcatPairToInterpolateFusion transformation (#13286)
* [MO, Common] Fix SplitConcatPairToInterpolateFusion transformation

It fixes a case when Split go with disconnected output port.
For this case, this transformation must not be applied.

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

* Fix grammar mistake in the comment

* Remove ref_function from the test

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-09-29 17:41:55 +00:00
Jan Iwaszkiewicz
2aead0dc3f [PyOV] Making offline_transformations a private module (#13213) 2022-09-28 18:38:52 +02:00
Sebastian Golebiewski
329835cdce DOCS: Fixing formatting issues and broken links - port to master (#13143)
Porting:
https://github.com/openvinotoolkit/openvino/pull/13101
https://github.com/openvinotoolkit/openvino/pull/13103
https://github.com/openvinotoolkit/openvino/pull/13104
https://github.com/openvinotoolkit/openvino/pull/13106
https://github.com/openvinotoolkit/openvino/pull/13107
https://github.com/openvinotoolkit/openvino/pull/13109

Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
2022-09-28 15:35:17 +04:00
Sebastian Golebiewski
0429efb8b8 DOCS: NNCF documentation - port to master (#13183)
* Updating NNCF documentation

* nncf-doc-update-ms

* Merge branch 'nncf-documentation-for-22.2' of https://github.com/sgolebiewski-intel/openvino into nncf-documentation-for-22.2

* Adding python files

* Changing ID of Range Supervision

* Minor fixes

Fixing formatting and renaming ID

* Proofreading

Minor corrections and removal of Neural Network Compression Framework article

Co-authored-by: msmykx <101244365+msmykx-intel@users.noreply.github.com>
Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
2022-09-28 15:34:57 +04:00
Liubov Talamanova
4df8ed881a [POT] Unroll GRUCell for GNA (#12930)
* [POT] Unroll GRUCell for GNA

* Add test
2022-09-23 21:57:10 +03:00
Bartek Szmelczynski
d0af3bb9ee [MO] enable ir_reader read and write Quantico model (#12515) 2022-09-23 15:35:43 +02:00
Anastasia Popova
940844e71f mo.convert() method. (#11347)
* 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.

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

* 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.

* Conflict fix.

* Conflict fix.
2022-09-23 17:29:00 +04:00
Przemyslaw Wysocki
d5a274b0e4 [PyOV] Drop Python 3.6 support (#12280)
* Drop Python 3.6

* Test dropping Python to 3.6 in py_checks.yml

* Allow Python 3.6 for open source

* Add docs on upgrading Python
2022-09-22 11:58:12 +02:00
RICKIE777
9d56cfd79b [Benchmark] benchmark_app need disable auto batching if batch size is set. (#12553)
* When set batch_size, disable auto batching

* auto-batch only supprt auto plugin

* Set property allow_auto_batching for devices

* cancel static

* Clean Code

* Add test case for testing allow_auto_batching

* Fix the issue after merging latest master branch code

* Add allow_auto_batching in python benchmark_app

* Fix the quotes issue

* When load_network is set to allow-auto-batching, there is no need to read the value of global

* Fix the clang-format

* Change the location

Co-authored-by: River Li <river.li@intel.com>
Co-authored-by: Chen Peter <peter.chen@intel.com>
2022-09-22 09:50:30 +08:00
Daniil Lyakhov
6ac2c00f83 Describe pruning transformation in MO help (#13121) 2022-09-21 16:05:48 +04:00
Roman Kazantsev
08e397d571 [MO] Extend support for TF BlockLSTM with the single output, concatenated hidden states (#13095)
* [MO] Extend support for TF BlockLSTM with the single output, concatenated hidden states

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

* Remove extra comments

* Apply the code review feedback: return useful logs, more logs for asserts

* Add unit-test for shape infer

* Add unit-test for transformation

* Fix a bug with adding input port for BlockLSTM

* Apply code-review feedback: no need to create existing port, add more comments and correct

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2022-09-20 15:18:49 +03:00
Pawel Raasz
4f683687de Enable mock fe tests in python api 2.0 tests (#12978)
* Building python frontend tests

* Enable mock tests in new python API:
- Fix mock_py frontend library name
- Set same destination for mock_py frontend as others frontends
- Fix importing mock_py frontend
- Minor changes in mock_py tests

* Fix flake8 issue

* Fix linking issue on windows

* Remove DISABLE_PYBIND11 option

* Build mock_py always as shared library
- put mock_py into ov::frontend namespace
- minor re-factor of mock_py

* Add mock c API fix warning on windows

* Fix installation of mock_py frontend

* Install mock_py frontend library in tests

* More detailed error message in python test
when cannot import frontend

* Restore IMPLEMENT_OPENVINO_API for windows build
of pybind_mock_frontend

* Set env paths for python API test on Azure CI
- skip tensorflow conversion ext test when not installed

* Correct skip tensorflow test decorator

* Add C API macro for mock1 frontend

* Ignore E999 error reported by flake8

* Fix conversion extension name for tf imports

* Fix flake8 issues

* Remove python3.8 path from LD_LIBRARY_PATH
on debian CI

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-09-20 11:56:46 +03:00
Bonhun Koo
572d00eaa2 [POT][GNA] add mixed-precision support for Accuracy Aware Quantization (#12470)
* [POT] add GNA3 mode

* [POT][GNA3] add mixed-precision support for Accuracy Aware Quantization

* [POT] add GNA AAQ sanity test with synthetic data

* [POT][GNA3] add GNA3.5 mode and minimize AAQ option

* [POT] fix pot/ci fails on config test
2022-09-20 08:47:33 +09:00
Piotr Krzemiński
752294d86d [BENCHMARK APP/PYTHON] Fix a bug causing nstreams parameter to behave differently across Python and C++ benchmark_app (#12935) 2022-09-14 09:53:26 +02:00
Ekaterina Aidova
d4d9bb4e88 [master] openvino-dev return opencv-python back (#13002) 2022-09-10 12:18:03 +04:00
Ilya Lavrenov
a092a192d8 Ability to build against oneTBB build RelWithDebInfo (#12940)
* Ability to build against oneTBB build RelWithDebInfo

* Debug TBB issue

* Fixes
2022-09-07 09:58:30 +04:00
Vladimir Paramuzov
734dcc93e9 [GPU] Use oneDNN gemm on DG2 in some cases (#12878)
* [GPU] Enable onednn gemm with some additional restrictions

* f64 support in c++ benchmark_app

* Fixed python benchmark_app
2022-09-07 08:35:14 +04:00
Nikita Malinin
ace759c74c Cherry-pick changes from 6d69a85 (#12931)
Co-authored-by: Indira Salyahova <indira.salyahova@intel.com>
2022-09-06 17:45:46 +00:00
Liubov Talamanova
53319e60fc Fixed insert_fake_quantize() with empty hw_config (#12676) 2022-09-06 17:48:28 +04:00
Ilya Lavrenov
836765874e LTO for frontends and python (#12890) 2022-09-05 08:10:11 +04:00
Anastasia Popova
e0974b1e4c Mo indices fix (#12842)
* Fixed error in indeces processing.

* Small correction

* Small correction
2022-09-01 17:03:09 +04:00
Ilya Lavrenov
8a4cb9b332 Arm cross compilation (#12807)
* Fixed ARM out-of-box cross-compilation

* Improvements

* Fixed HDDL plugin
2022-08-30 22:23:14 +04:00
Bartek Szmelczynski
fc27a6b49f [MO][ONNX FE] Input freezing realized via set_tensor_value method for ONNX FE (#12059) 2022-08-30 14:58:31 +02:00
Daniil Lyakhov
d0d88fa1ec [POT] Skip per channel quantizers allining before concats (#12483)
* Skip per channel quantizers allining before concats

* Test coverage
2022-08-29 13:55:37 +04:00
Nikita Malinin
f2d6248dec Disable LWT tests (#12740) (#12763)
(cherry picked from commit 3980672082)
2022-08-26 12:38:44 +04:00
Ekaterina Aidova
8c1a3bab25 openvino-dev uses opencv-python-headless as default (#12558) 2022-08-26 10:44:38 +03:00