PR #6748: Intel OV: Enable litert execution on linux#6984
Open
copybara-service[bot] wants to merge 1 commit intomainfrom
Open
PR #6748: Intel OV: Enable litert execution on linux#6984copybara-service[bot] wants to merge 1 commit intomainfrom
copybara-service[bot] wants to merge 1 commit intomainfrom
Conversation
fa2c3a2 to
2e9bc5b
Compare
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
2e9bc5b to
785b29a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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 :
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