How to complie Candle for Native devices (Android, IOS)? #2081
Replies: 1 comment 17 replies
-
I used UniFFI to generate Kotlin bindings to my Rust project and then call the necessary methods from Kotlin. [target.aarch64-linux-android] [target.x86_64-linux-android] [env] Adjust for where the ndk is for you and the installed version. Finally, I also added tokenizers with default-features = false and features = ["onig"] so OpenSSL isn't compiled. |
Beta Was this translation helpful? Give feedback.
-
How can we build candle binaries which can be used in Android or IOS projects?
Beta Was this translation helpful? Give feedback.
All reactions