Are there any data science/machine learning/onnx r...
# datascience
s
Are there any data science/machine learning/onnx related libraries that are Kotlin Multiplatform with the Kotlin/native support for iOS implementation.
a
Probably something like https://github.com/icerockdev/moko-tensorflow should help
m
@shaktiman_droid What is your specific use case for mobile machine learning? Are you looking to embed and run an existing ML model in an iOS app? Or are you interested in using Kotlin Multiplatform (KMP) to develop, train, and run ML models across mobile platforms? Are you focused solely on iOS, or do you also need cross-platform functionality? Additionally, what benefits do you expect from using Kotlin Multiplatform? I’m asking because I’m developing an open-source machine learning library in Kotlin, specifically focused on on-device AI. Let me know if you’d like to learn more about it—I’m really curious to hear about your use cases and requirements!
s
@Michal Harakal thanks for the details message. I want to run custom models (onnx file for example) on device in a Kotlin multiplatform library that supports both Android and iOS. A lot of libraries for both Kotlin and Java are available for various ML related work but I couldn't find much for the IOS. TensorFlow for example has both Android and iOS support but then it gets limited that the model has to be tensorflow specific only. Note that I'm very very new to ML side of things so not yet aware of a lot to things but anything I do has to be KMP (Android and iOS)
Main benefit of using KMP for me is to have one code layer shared between android and iOS for on-device processing/handling rather than server side
Please definitely share more information about the library you're developing and I can help testing it for my specific use case. I can share exact details about the models in a week or so when the holiday period is over
👍 1
m
@shaktiman_droid I have written you a DM providing more informations ...