-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
Description
Background
- Onnxruntime is an an open-source, high-performance inference engine that accelerates machine learning models in the Open Neural Network Exchange (ONNX) format.
- Building it for
androidwas a huge challenge. I have followed some patterns fromtermux-packages& after many days of hit-n-try, I was able to build it.
Custom recipe link
- Here is my open-source project on
onnxruntime& here is the recipe link which builds thecmakepart first & then it build the wheel. - You can try my app from releases.
Constraints
- I am currently building on
numpy 1.26.5due to opencv 4.5.1 build fails with numpy 2.3.0 (all from current develop branch) #3203 issue as I also needopencvin my project. - Another one is, currently it is built using
ndk 25band that problem is also written in the above mentioned issue.
My thoughts
I'm not a build expert on cmake, wheel etc. I tried my best to make it work and I am sure that the developers can make it more robust.
Please feel free to let me know your thoughts. Thank you
XcantloadXAndreMiras