Files
openvino/tools/pot
Ilya Lavrenov c4eeecfec5 Remove myriad plugin (#15131)
* Removed Intel MYRIAD plugin

* Removed Intel MYIAD from CI files

* Removed Intel MYRIAD from cmake folder

* Removed MYRIAD, HDDL from samples

* Removed MYRIAD, HDDL from scripts folder

* Removed MYRIAD from bindings folder (C and Python API)

* Removed MYRIAD tests

* Removed MYRIAD from tests folder

* Removed MYRIAD from tools folder

* Removed HDDL (VAD), MYRIAD (NSC2) from documentation

* Fixed build for AUTO unit tests

* Fixed clang code style

* Fixed comments and issues

* removed MYRIAD from AUTO tests

* Disabled MULTI tests in CI

* Update docs/OV_Runtime_UG/auto_device_selection.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/get_started/get_started_demos.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/OV_Runtime_UG/deployment/local-distribution.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
2023-01-18 15:19:44 +04:00
..
2023-01-16 11:02:17 +04:00
2023-01-18 15:19:44 +04:00
2023-01-06 13:44:54 +00:00
2021-12-23 11:37:06 +03:00
2023-01-09 09:44:09 +00:00

Post-Training Optimization Tool

Introduction

Post-training Optimization Tool (POT) is designed to accelerate the inference of deep learning models by applying special methods without model retraining or fine-tuning, for example, post-training 8-bit quantization. Therefore, the tool does not require a training dataset or a pipeline. To apply post-training algorithms from the POT, you need:

  • A floating-point precision model, FP32 or FP16, converted into the OpenVINO™ Intermediate Representation (IR) format and run on CPU with the OpenVINO™.
  • A representative calibration dataset representing a use case scenario, for example, 300 samples.

Figure below shows the optimization workflow:

To get started with POT tool refer to the corresponding OpenVINO™ documentation.

Installation

From PyPI

POT is distributed as a part of OpenVINO™ Development Tools package. For installation instruction please refer to this document.

From GitHub

As prerequisites, you should install OpenVINO™ Runtime and other dependencies such as Model Optimizer and Accuracy Checker.

To install POT from source:

  • Clone OpenVINO repository
    git clone --recusive https://github.com/openvinotoolkit/openvino.git
    
  • Navigate to openvino/tools/pot/ folder
  • Install POT package:
    python3 setup.py install
    

After installation POT is available as a Python library under openvino.tools.pot.* and in the command line by the pot alias. To verify it, run pot -h.

Examples

OpenVINO provides several examples to demonstrate the POT optimization workflow:

See Also