Add ppc64le (PowerPC) support to onnxruntime-extensions.#1041
Add ppc64le (PowerPC) support to onnxruntime-extensions.#1041sayanshaw24 merged 3 commits intomicrosoft:mainfrom
Conversation
Key updates: - Fix compilation failures due to missing libpng PowerPC sources - Replace dlib bundled libpng with upstream libpng for ppc64le - Handle architecture detection via CMAKE_SYSTEM_PROCESSOR - Built shared library and Python wheel on ppc64le - Used externally built ONNX Runtime via: - ONNXRUNTIME_INCLUDE_DIR - ONNXRUNTIME_LIB_DIR
|
@BODAPATIMAHESH Thanks for adding this! Is there a customer requirement for PowerPC/if so could you please describe what it is and why we need this? |
| endif() | ||
|
|
||
| # PowerPC VSX optimizations | ||
| if(CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64|ppc64le") |
There was a problem hiding this comment.
can we have one if/else here instead of 2 if's in case the processor name is something unexpected (check for ppc and fallback to current arm srcs)?
There was a problem hiding this comment.
Updated it. Please review @https://github.com/sayanshaw24
Our customer is using ONNX Runtime for text and vision embedding generation and plans to integrate onnxruntime-extensions. To support this requirement, we ported onnxruntime-extensions to the Power platform and created a PR. |
Sounds good, what company or organization are you yourself affiliated with? We'd like to track usage, so this does not go stale in the future. |
I’m affiliated with IBM, and we’re using onnxruntime-extensions with ONNX Runtime for text and vision embedding generation on Power architecture. |
Key updates: