Skip to content

PR #6748: Intel OV: Enable litert execution on linux#6984

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
litert_pr_902671481
Open

PR #6748: Intel OV: Enable litert execution on linux#6984
copybara-service[bot] wants to merge 1 commit intomainfrom
litert_pr_902671481

Conversation

@copybara-service
Copy link
Copy Markdown

PR #6748: Intel OV: Enable litert execution on linux

Imported from GitHub PR #6748

Enable litert execution across all OS using the Openvino buffer.

Verified the compiler plugin with the following steps :

Bazel build commands :

build litert/vendors/intel_openvino/compiler:libLiteRtCompilerPlugin_IntelOpenvino.so
build litert/vendors/intel_openvino/dispatch:libLiteRtDispatch_IntelOpenvino.so
build litert/tools:apply_plugin_main

AOT compilation step:
LD_LIBRARY_PATH=<PATH_TO_OPENVINO_LIBS> bazel-bin/litert/tools/apply_plugin_main --cmd apply --model=<PATH_TO_tflite_MODEL> -o <PATH_TO_AOT_MODEL> --libs bazel-bin/litert/vendors/intel_openvino/compiler --intel_openvino_device_type=cpu --soc_manufacturer "IntelOpenVINO" --soc_model=""

Copybara import of the project:

--
a0a2fc4 by Anoob Anto Kodankandath anoob.anto.kodankandath@intel.com:

Intel OV Enable litert execution on linux

OpenVinoTensorBuffer now has a generic implementation, and is supported
across all platforms. Hence, making that as the default buffer.

Signed-off-by: Anoob Anto Kodankandath anoob.anto.kodankandath@intel.com

--
9910e1f by Anoob Anto Kodankandath anoob.anto.kodankandath@intel.com:

Log the library load error before returning status

When a library loading fails from LiteRtDispatchInitialize, it returns only
LiteRtStatus, and thus the failure error reason is lost here.
Log the error reason for the library load failure before return.

Signed-off-by: Anoob Anto Kodankandath anoob.anto.kodankandath@intel.com

Merging this change closes #6748

FUTURE_COPYBARA_INTEGRATE_REVIEW=#6748 from akodanka:linux_enable 9910e1f

@copybara-service copybara-service Bot force-pushed the litert_pr_902671481 branch from fa2c3a2 to 2e9bc5b Compare April 20, 2026 16:41
Imported from GitHub PR #6748

Enable litert execution across all OS using the Openvino buffer.

Verified the compiler plugin with the following steps :

Bazel build commands :
```
build litert/vendors/intel_openvino/compiler:libLiteRtCompilerPlugin_IntelOpenvino.so
build litert/vendors/intel_openvino/dispatch:libLiteRtDispatch_IntelOpenvino.so
build litert/tools:apply_plugin_main

AOT compilation step:
LD_LIBRARY_PATH=<PATH_TO_OPENVINO_LIBS> bazel-bin/litert/tools/apply_plugin_main --cmd apply --model=<PATH_TO_tflite_MODEL> -o <PATH_TO_AOT_MODEL> --libs bazel-bin/litert/vendors/intel_openvino/compiler --intel_openvino_device_type=cpu --soc_manufacturer "IntelOpenVINO" --soc_model=""
```
Copybara import of the project:

--
a0a2fc4 by Anoob Anto Kodankandath <anoob.anto.kodankandath@intel.com>:

Intel OV Enable litert execution on linux

OpenVinoTensorBuffer now has a generic implementation, and is supported
across all platforms. Hence, making that as the default buffer.

Signed-off-by: Anoob Anto Kodankandath <anoob.anto.kodankandath@intel.com>

--
9910e1f by Anoob Anto Kodankandath <anoob.anto.kodankandath@intel.com>:

Log the library load error before returning status

When a library loading fails from LiteRtDispatchInitialize, it returns only
LiteRtStatus, and thus the failure error reason is lost here.
Log the error reason for the library load failure before return.

Signed-off-by: Anoob Anto Kodankandath <anoob.anto.kodankandath@intel.com>

Merging this change closes #6748

FUTURE_COPYBARA_INTEGRATE_REVIEW=#6748 from akodanka:linux_enable 9910e1f
LiteRT-PiperOrigin-RevId: 902671481
@copybara-service copybara-service Bot force-pushed the litert_pr_902671481 branch from 2e9bc5b to 785b29a Compare April 20, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant