Environment variables to control MLIR execution #154
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introducing a few environment variables to control MLIR stack in run-time. All environment variables have the prefix
OV_MLIR_
and are enabled/disabled by setting values1
,true
,ON
and0
,false
,OFF
correspondingly. Values are case insensitive.OV_MLIR
: Enables MLIR stack. When disabled the execution is the same as in vanilla OpenVINO. Default:ON
.OV_MLIR_TPP
: Enables TPP-MLIR. OpenVINO should be built with TPP-MLIR support to be enabled by this variable. Default:ON
if built with TPP-MLIR,OFF
if built without TPP-MLIR. If OpenVINO is built without TPP-MLIR and the variable is set to enable it, a run-time exception will be thrown.OV_MLIR_DEBUG
: Enables debug output in MLIR stack. Default:OFF
. Earlier it was always enabled, now it should be enabled explicitly.