Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 931 Bytes

feature_disabling.md

File metadata and controls

26 lines (21 loc) · 931 Bytes

Feature disabling

Common way to disable something in CPU plugin is implied by means of environment variable OV_CPU_DISABLE:

    OV_CPU_DISABLE=<space_separated_options> binary ...

Option names are case insensitive and processed from left to right,
so last one overwrites previous ones if duplicated.

Examples:

    OV_CPU_DISABLE="transformations" binary ...
    OV_CPU_DISABLE="transformations=lpt" binary ...
    OV_CPU_DISABLE="transformations=all,-common" binary ...

By means of corresponding options OV_CPU_DISABLE controls disabling of the following features:

Graph transformations

Graph transformation disabling is controlled by the following option inside OV_CPU_DISABLE:

transformations=<comma_separated_tokens>

Filter with main transformation stages to disable specified ones.
See transformation filter for more details.