supertone-inc / onnxruntime-build

A build project for ONNX Runtime
32 stars 17 forks source link

Android and iOS builds of onnxruntime #2

Open raphaelmenges opened 1 year ago

raphaelmenges commented 1 year ago

Hello again 👋

According to the availability grid in the onnxruntime repository, onnxruntime is also available as native Android and iOS libraries. Are there any plans (or obstacles) to provide static builds of onnxruntime for these targets?

krazijames commented 1 year ago

Unfortunately, we have no plans to setup build configurations for mobile devices for now because we don't have much time to focus on this project. 😢

csukuangfj commented 11 months ago

@raphaelmenges You can find the ios support in https://github.com/csukuangfj/onnxruntime-libs/blob/master/.github/workflows/ios.yaml

As for Android, I suggest that you download the pre-built libs from Microsoft.


For your convenience, you can download libs for iOS and Android from https://github.com/csukuangfj/onnxruntime-libs/releases

Screenshot 2023-12-12 at 12 25 56

raphaelmenges commented 11 months ago

Great, thanks 🤩

danemadsen commented 3 months ago

@csukuangfj Any chance you know how to create a static lib for android? Im trying to link it for a flutter project

csukuangfj commented 18 hours ago

@csukuangfj Any chance you know how to create a static lib for android? Im trying to link it for a flutter project

You can use shared libs in a flutter project. please see how we do that in sherpa-onnx. https://github.com/k2-fsa/sherpa-onnx/tree/master/flutter

@danemadsen