Commit Graph

195 Commits

Author SHA1 Message Date
Ilya Churaev
7678ab2b18 Move hetero plugin (#8872) 2021-11-29 14:05:08 +03:00
Ilya Churaev
07651aa5c0 Fixed some inference-engine paths (#8878) 2021-11-29 07:17:36 +03:00
Liubov Batanina
2d0ae6028a [POT] Added quantization inside subgraphs (#8530)
* [POT] Support subgraphs

* Add support for inplace statistics

* Fixed cascade models

* Fixed bug

* Fixed import

* Fix name

* Add test

* Fix comments

* Replace test model

* Replace test model

* Add recursively flag

* Fix pylint

* Updated AA node names

* Fix adding results to node

* Disable subgraph quantization

* Disable recursion search in graph

* Skip test with subgraphs quantization
2021-11-26 12:42:33 +03:00
Indira Salyahova
e32a569fb4 fix: quantize only one input mvn operation (#8822) 2021-11-26 12:17:43 +03:00
Indira Salyahova
8db9168d41 [POT] Check node is not None (#8732)
* fix: check the node is not None

* input port is not None
2021-11-26 12:10:33 +03:00
Nikita Malinin
d8d9954ad6 Fix bug with the outputs naming (#8556)
(cherry picked from commit 13c99e8882)
2021-11-26 12:08:01 +03:00
Anton Chetverikov
163bc458db [POT] Transformations to remove and add Convert operations in graph (#8672)
* Added special passes to remove and add Convert operations in POT

* Update passes

* Implement changes to support new FP16 models

* Apply codestyle patch

* Revert Cast inserting and add data parameter

* Update FastBC rule

Co-authored-by: Malinin, Nikita <nikita.malinin@intel.com>
2021-11-25 12:59:39 +03:00
Maxim Vafin
2f612f776b Define common frontend (#8110)
* Rename and reorganize frontend_manager

* Apply codestyle

* Fix installing headers

* Fix codestyle
2021-11-24 18:56:05 +03:00
Nikita Malinin
516d510045 [POT] Added typecast while nodes updating & creation (#8621)
* Update type casting while update

* Fix Pylint

* Update precision setting for FQ values

* Update FQ values precision setting

* Fix scales dump

* Update reference

* Another reference update
2021-11-23 17:13:04 +03:00
Alexey Lebedev
8e46eecac0 fix input files parsing (#8718) 2021-11-22 12:15:00 +03:00
Indira Salyahova
d9241dda72 fix: check int branch while find fqs_to_unify (#8661) 2021-11-19 15:21:27 +03:00
Ilya Churaev
f639e4e902 Moved inference_engine samples to cpp folder (#8615)
* Moved inference_engine samples to cpp folder

* Fixed documentations links

* Fixed installation

* Fixed scripts

* Fixed cmake script

* Try to fix install

* Fixed samples

* Some fix
2021-11-18 10:08:20 +03:00
Mikhail Nosov
2245ea8be2 [FrontEnd] Rename all frontends from "*_ngraph_frontend*" to "_ov_frontend*" (#8645)
* Renaming all frontends from "*_ngraph_frontend*" to "_ov_frontend*"

Also Debug builds on Windows release frontends without "d" suffix will not be loaded

* Fix review comments and add wheels test debug prints

* More debug prints

* Load by absolute path and remove debug prints
2021-11-18 09:26:13 +03:00
Indira Salyahova
29a3f56003 [POT] Add pattern se blocks (#8425)
* fix(patterns): add pattern se_block

* update reference
2021-11-15 12:53:07 +03:00
Milana Shhanukova
700beb7d1f [POT] Update add node name (#8487)
* Update node name to make ports visible

* proxy algo

* m

* mistype for add node name

* undo_utils

* Update utils.py

* Update algorithm.py

* undo
2021-11-11 10:35:00 +03:00
Indira Salyahova
a788dc31e2 fix: delete fq if node precision bool (#8336) 2021-11-10 15:27:45 +03:00
Tagir Rakipov
ac0582c2d9 [POT] get_num_levels function (#8393)
* added function for calculating the number of discret levels in the input tensors and tests for this function

* added function for calculating the number of discret levels in the input tensors and tests for this function

* fixed pylint issues

* changed the function for delta estimation from mean to min

* added empty delta array processing in get_num_levels func and tests for it
2021-11-10 15:27:09 +03:00
Indira Salyahova
dd5efdca85 style(telemetry): change telemetry constructor (#8428) 2021-11-10 15:26:02 +03:00
Artur Paniukov
a9b9e14bf4 Add input to file mappings to python benchmark tool (#8210)
* Add inputs-to-files path to benchmark_tool

* Add inputs-to-files path to benchmark_tool

* Add inputs-to-files path to benchmark_tool

* Remove `<>`

* Fix binary input fill

* Remove redundant checks

Change `:` delimiter to `::`

* Delete print

* Change delimiter to `:`
Add support for list of files

* Add warning if some inputs filled with random values
2021-11-09 16:56:37 +03:00
Sergey Lyubimtsev
6c3e68a8d1 Add openvino-dev wheel build from opensource (#8174)
* Add openvino-dev wheel build from opensource

* fix path to OMZ tools

* fix for working directory

* change order

* pull out requirements to requirements.txt for snyk scans

* fix patterns

* fix patterns

* fix AttributeError: : 'PosixPath' object has no attribute 'startswith'
2021-11-09 14:37:17 +03:00
Nikita Malinin
8cb7824c21 [POT] Update for the Results quantization & tests (#8324)
* Update rule for multi-results quantization

(cherry picked from commit d94fe7d758)

* Update tests with lstm cases

(cherry picked from commit 16fe385117)

* Update lstm reference

* Fix pylint issue
2021-11-08 16:28:54 +03:00
Tagir Rakipov
7db0973ba7 fixed fq scaling bug in layerwise tuning (#8346) 2021-11-08 12:57:13 +03:00
Milana Shhanukova
5d9a76d2f8 Update node name to make ports visible (#8218) 2021-11-03 14:46:33 +03:00
Aleksei Kruglov
4e4e179d67 [VPUX] Updated config's parser (#7974)
Updated config's parser for compile_tool
The parser can read value containing spaces
2021-11-03 12:14:13 +03:00
Julia Kamelina
7c56155dae [Python Tools] Align namespace for cross_check_tool (#7786)
* align openvino namespace

* update README
2021-11-03 01:55:27 +03:00
Artyom Anokhov
f20f4d024c Deployment Manager CFGs: Added paddlepaddle_ngraph_frontend lib as core part (#8322) 2021-11-02 18:23:48 +03:00
Liubov Batanina
6686f3c052 Remove excess content from POT distribution (#8300) 2021-11-02 13:34:27 +03:00
Nikita Malinin
2dadf50a68 [POT] Update AccuracyAware doc (#8261)
* Update AA doc with GNA

* Apply comments

* Update doc with note
2021-11-02 13:31:51 +03:00
Maksim Proshin
b69a371b8f [POT] Updated FAQ (#8320)
* Update FrequentlyAskedQuestions.md

* Update FrequentlyAskedQuestions.md

* Update FrequentlyAskedQuestions.md
2021-11-02 13:13:32 +03:00
Artyom Anokhov
6908023a42 config.py: Updated routing due to new place of DM tool. (#8230)
config/*.json: Updated list of files due to current layout
2021-10-28 10:50:09 +03:00
Nikita Malinin
ce9a968030 [POT] Update tests with new data (#8209)
* Update POT tests with new data

* Revert package changes

* Remove mobinenet-ssd from POT tests

* Update benchmark.py IE Python API usage
2021-10-27 12:40:19 +03:00
Sergey Lyubimtsev
947f00bc56 Fix for openvino.tools.* module load issues. (#8219) 2021-10-27 11:56:17 +03:00
Liubov Batanina
e0f88b7dc5 Change OMZ submodule version (#8170) 2021-10-25 12:58:22 +03:00
Liubov Batanina
b7cfa39fc0 [POT] Added missed file to POT (#8118)
* Added missed file to POT

* Update OMZ submodule
2021-10-21 11:28:26 +03:00
Roman Lyamin
03424849fb [GPU] Add separate config for each device (#7421) 2021-10-19 16:51:38 +03:00
Alexander Kozlov
bbeec714aa Moved Post-training Optimization Tool to open-source (#7940)
* Moved POT to opensource

* Added OMZ as a submodule

* Exclude OMZ from ShellCheck
2021-10-15 16:35:35 +03:00
Ilya Lavrenov
6f69166f37 Removed cross_check_tool from installation (#7804) 2021-10-01 21:58:12 +03:00
Gleb Kazantaev
07d9b51121 Replace IR Reader With IR Frontend (#7249)
* Replace IR Reader With IR Frontend
2021-09-20 23:17:22 +03:00
Roman Donchenko
8598ce89a3 Add missing spaces between words in string literals (#7540)
And in one case, a missing period.
2021-09-20 15:38:49 +03:00
Ilya Lavrenov
0df7dab345 New IRC package structure (#6255)
* OV new package structure

* Fixes

* More fixes

* Fixed code style in ngraph tests

* Fixes

* Paths to setupvars inside demo scripts

* Fixed demo_security_barrier_camera.sh

* Added setupvars.sh to old location as well

* Fixed path

* Fixed MO install path in .co

* Fixed install of public headers

* Fixed frontends installation

* Updated DM config files

* Keep opencv in the root

* Improvements

* Fixes for demo scripts

* Added path to TBB

* Fix for MO unit-tests

* Fixed tests on Windows

* Reverted arch

* Removed arch

* Reverted arch back: second attemp

* System type

* Fix for Windows

* Resolve merge conflicts

* Fixed path

* Path for Windows

* Added debug for Windows

* Added requirements_dev.txt to install

* Fixed wheel's setup.py

* Fixed lin build

* Fixes after merge

* Fix 2

* Fixes

* Frontends path

* Fixed deployment manager

* Fixed Windows

* Added cldnn unit tests installation

* Install samples

* Fix samples

* Fix path for samples

* Proper path

* Try to fix MO hardcodes

* samples binary location

* MO print

* Added install for libopencv_c_wrapper.so

* Added library destination

* Fixed install rule for samples

* Updated demo scripts readme.md

* Samples

* Keep source permissions for Python samples

* Fixed python

* Updated path to fast run scripts

* Fixed C samples tests

* Removed debug output

* Small fixes

* Try to unify prefix
2021-09-15 16:49:11 +03:00
Maxim Shevtsov
3bec32449f OV Performance Hints (CPU and GPU logic for selecting the actual configs), while AUTO/MULTI are passing them thru) (#6993)
* rebasing the perf-modes-2021.3 to the 2021.4

Caveats:
the (explicit) setting #streams is not disabled (as it was before for experiments with DLBenchmark), and the logic slighlty differ (streamsSet)

(cherry picked from commit 1ae1edc0ed)

* overriding streams (to force the TPUT mode to the DLBenchnark)

(cherry picked from commit 7f506cda31)

* disabling reducing #streams to fully mimic baseline c4df94d42d of the 2021.3 (before experiments)

(cherry picked from commit 85073dd1dd)

* clang/identation

(cherry picked from commit 050a4155a9)

* splitting the Transformation to general and CPU specific.

Now hopefully,this fully mimics the  baseline c4df94d42d of the 2021.3 (before experiments), as the streams reduce num (as well as early exit on GRU/LSTM/TensorIterator) is deisabled

(cherry picked from commit e98b2c1a67)

* disabling GRU/LSTM/TI + reducing of streams + 5D considered compute-limited only for int8

(cherry picked from commit 32b8d80dee)

* refactored to avoid compute_limited_ratio, reverted the reducing #streams, removed LSTM from limitations

(cherry picked from commit f2b972171b)

* isa-based threshold logic

(cherry picked from commit b218457e1a)

* mode->hint

(cherry picked from commit ec20aa8eca)

* optional PERFORMANCE_HINT_NUM_REQUESTS

(cherry picked from commit 5a3883e3f3)

* moving the perfHints to the common OV config class + initial tests (CPU only, as the actual AUTO/MULTI should be accommodated on the master)

(cherry picked from commit (then fixed)45bafe7d527f466507dea0693aeed51be4ebf776)

* AUTO support for PerfHints

* MULTI support for PerfHints

* Enabling Perf hints for the GPU plugin

* brushing settings output a bit

* disabling "throughput" perf hint being default (until OV 2.0)

* uncommenting the logic which was disabled to force the DLBenchmark to use the throughput mode by default

* removing dead and experimental code, and debug printfs

* clang/code-style

* code-review remarks

* Moved the output of the actual params that the hint produced to the right place

* aligning MULTI's GetConfig beh to HETERO's as captured in the preso (CVS-59960) ratified with the ArchForum

* clang

* benchmark_app brushing

* Update inference-engine/samples/benchmark_app/README.md

* propagating the perf hints thru one more scenario in the merged AUTO-MULTI

* fixed mispint

* Python benchmark_app update for perf hints

* addresssing reviewers comments on the python benchmark_app

* simplifying/brushing logic a bit

* refactor the heuristic to the separate file (to be shared with iGPU soon)

* refactor conversion of modes to the specific GPU config per feedback from Vladimir
2021-09-13 15:40:36 +03:00
Ilya Lavrenov
b373cb844b Removed information about FPGA plugin (#7474) 2021-09-13 14:01:49 +03:00
Andrey Zaytsev
322c874113 Feature/azaytsev/cherry picks from 2021 4 (#7389)
* Added info on DockerHub CI Framework

* Feature/azaytsev/change layout (#3295)

* Changes according to feedback comments

* Replaced @ref's with html links

* Fixed links, added a title page for installing from repos and images, fixed formatting issues

* Added links

* minor fix

* Added DL Streamer to the list of components installed by default

* Link fixes

* Link fixes

* ovms doc fix (#2988)

* added OpenVINO Model Server

* ovms doc fixes

Co-authored-by: Trawinski, Dariusz <dariusz.trawinski@intel.com>

* Updated openvino_docs.xml

* Updated the link to software license agreements

* Revert "Updated the link to software license agreements"

This reverts commit 706dac500e.

* Updated legal info (#6409)

# Conflicts:
#	thirdparty/ade

* Cherry-pick 4833c8db72

[DOCS]Changed DL WB related docs and tips (#6318)

* changed DL WB related docs and tips

* added two tips to benchmark and changed layout

* changed layout

* changed links

* page title added

* changed tips

* ie layout fixed

* updated diagram and hints

* changed tooltip and ref link

* changet tooltip link

* changed DL WB description

* typo fix
# Conflicts:
#	docs/doxygen/ie_docs.xml
#	thirdparty/ade

* Cherry-pick 6405

Feature/azaytsev/mo devguide changes (#6405)

* MO devguide edits

* MO devguide edits

* MO devguide edits

* MO devguide edits

* MO devguide edits

* Experimenting with videos

* Experimenting with videos

* Experimenting with videos

* Experimenting with videos

* Experimenting with videos

* Experimenting with videos

* Experimenting with videos

* Experimenting with videos

* Experimenting with videos

* Additional edits

* Additional edits

* Updated the workflow diagram

* Minor fix

* Experimenting with videos

* Updated the workflow diagram

* Removed  Prepare_Trained_Model, changed the title for Config_Model_Optimizer

* Rolled back

* Revert "Rolled back"

This reverts commit 6a4a3e1765.

* Revert "Removed  Prepare_Trained_Model, changed the title for Config_Model_Optimizer"

This reverts commit 0810bd534f.

* Fixed ie_docs.xml, Removed  Prepare_Trained_Model, changed the title for Config_Model_Optimizer

* Fixed ie_docs.xml

* Minor fix

* <details> tag issue

* <details> tag issue

* Fix <details> tag issue

* Fix <details> tag issue

* Fix <details> tag issue
# Conflicts:
#	thirdparty/ade

* Cherry-pick #6419

* [Runtime] INT8 inference documentation update

* [Runtime] INT8 inference documentation: typo was fixed

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Table of Contents was removed

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
# Conflicts:
#	docs/IE_DG/Int8Inference.md
#	thirdparty/ade

* Cherry pick (#6437)

* Q2 changes

* Changed Convert_RNNT.md

Co-authored-by: baychub <cbay@yahoo.com>
# Conflicts:
#	docs/IE_DG/Int8Inference.md
#	docs/install_guides/installing-openvino-conda.md
#	docs/install_guides/pypi-openvino-dev.md
#	thirdparty/ade

* Cherry-pick (#6447)

* Added benchmark page changes

* Make the picture smaller

* Added Intel® Iris® Xe MAX Graphics

* Changed the TIP about DL WB

* Added Note on the driver for Intel® Iris® Xe MAX Graphics

* Fixed formatting

* Added the link to Intel® software for general purpose GPU capabilities

* OVSA ovsa_get_started updates

* Fixed link
# Conflicts:
#	thirdparty/ade

* Cherry-pick #6450

* fix layout

* 4
# Conflicts:
#	thirdparty/ade

* Cherry-pick #6466

* Cherry-pick #6548

* install docs fixes

* changed video width

* CMake reference added

* fixed table

* added backtics and table formating

* new table changes

* GPU table changes

* added more backtics and changed table format

* gpu table changes

* Update get_started_dl_workbench.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
# Conflicts:
#	thirdparty/ade

* [Runtime] INT8 inference documentation update (#6419)

* [Runtime] INT8 inference documentation update

* [Runtime] INT8 inference documentation: typo was fixed

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Table of Contents was removed

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
# Conflicts:
#	docs/IE_DG/Int8Inference.md
#	thirdparty/ade

* Cherry-pick #6651

* Edits to MO

Per findings spreadsheet

* macOS changes

per issue spreadsheet

* Fixes from review spreadsheet

Mostly IE_DG fixes

* Consistency changes

* Make doc fixes from last round of review

* Add GSG build-all details

* Fix links to samples and demos pages

* Make MO_DG v2 changes

* Add image view step to classify demo

* Put MO dependency with others

* Edit docs per issues spreadsheet

* Add file to pytorch_specific

* More fixes per spreadsheet

* Prototype sample page

* Add build section

* Update README.md

* Batch download/convert by default

* Add detail to How It Works

* Minor change

* Temporary restored topics

* corrected layout

* Resized

* Added white background into the picture

* fixed link to omz_tools_downloader

* fixed title in the layout

Co-authored-by: baychub <cbay@yahoo.com>
Co-authored-by: baychub <31420038+baychub@users.noreply.github.com>
# Conflicts:
#	docs/doxygen/ie_docs.xml

* Cherry-pick  (#6789) [59449][DOCS] GPU table layout change

* changed argument display

* added br tag to more arguments

* changed argument display in GPU table

* changed more arguments

* changed Quantized_ models display
# Conflicts:
#	thirdparty/ade

* Sync doxygen-ignore

* Removed ref to FPGA.md

* Fixed link to ONNX format doc

Co-authored-by: Trawinski, Dariusz <dariusz.trawinski@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
Co-authored-by: Edward Shogulin <edward.shogulin@intel.com>
Co-authored-by: Nikolay Tyukaev <nikolay.tyukaev@intel.com>
2021-09-07 19:21:41 +03:00
Ilya Lavrenov
72fb7d207c Merge tools and inference_engine/tools folders (#7359)
* Merge tools folders

* Fixed docs

* Moved deployment_manager

* Fixed path to benchmark_tool docs

* python_tools -> python_tools_benchmark
2021-09-07 12:43:33 +03:00
Michał Karzyński
d748f2aa99 Remove references to prototxt from documentation and docstrings (#7346) 2021-09-03 08:32:43 +03:00
Sergey Lyubimtsev
c771b1e2e0 Merge benchmark tools dirs (#6960)
* add missed __init__.py files

* Update __init__.py

empty line

* Merge infirence_engine/tools/benchmark_tool with tools/benchmark_tool

* Update MD links

* remove benchmark_tool  from package_BOM.txt

* add tools folder to the list of Doxygen files

* fix relative paths

* Update index.md

remove extra line
2021-08-12 11:38:03 +03:00
hyunback kim
f00dabc184 Add input image scale option in benchmark App (#5848)
* Add input image scale flag in benchmark app.

- user set input image scale with -iscale.
  input is divided by scale.

Signed-off-by: hyunback <hyunback.kim@intel.com>

* Apply image scale, mean parameter in benchmark APP

Means and sacles values per channel

Signed-off-by: hyunback <hyunback.kim@intel.com>

* Fix clang-format

Signed-off-by: hyunback <hyunback.kim@intel.com>

* fix clang-format issue2.

Signed-off-by: hyunback <hyunback.kim@intel.com>

* Update benchmark tool to align the format of mean and sacle values with MO arguments.

Signed-off-by: hyunback <hyunback.kim@intel.com>

* Remove debug print.

Signed-off-by: hyunback <hyunback.kim@intel.com>
2021-08-04 19:51:46 +03:00
Sergey Lyubimtsev
8d36e8fdef Add missed benchmark tool __init__.py files (#6919)
* add missed __init__.py files

* Update __init__.py

empty line
2021-08-04 10:39:41 +03:00
Ivan Kochin
753fdaee98 Intoduce -latency_percentile flag for the benchmark_app tool (#6479)
* Introduce new -latency_percentile flag for benchmark_app

* Fix syntax
2021-07-23 10:29:55 +03:00
Sergey Lyubimtsev
6e14890972 Align folder structure for Benchmark Tool (#6625)
* openvino namespace for benchmark tool

* change readme wording

* remove duplicated  README.md
2021-07-19 11:57:51 +03:00