Skip to content

onnxruntime-mobile implementation on custom execution provider #24135

Open
@suyash-narain

Description

@suyash-narain

to install onnxruntime-mobile, we usualy follow the method here:
https://onnxruntime.ai/docs/install/#install-on-android

and to deploy, we develop android applications as mentioned here:
https://onnxruntime.ai/docs/tutorials/mobile/

In the build.gradle file in android application, we add the implementation as
implementation("com.microsoft.onnxruntime:onnxruntime-android:latest.release")

Now i have a custom execution provider shared lib and libonnxruntime.so which i have built from source. how do i add to my app?

would this be similar to the below implementation?

implementation(files("libs/libonnxruntime.so"))
implementation(files("libs/libexecution_provider.so"))

or we cannot add .so files directly and it needs some other format to add?

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform:mobileissues related to ONNX Runtime mobile; typically submitted using template

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions