Alexandre Brown
05/04/2022, 10:53 AMaltavir
05/04/2022, 1:10 PMaltavir
05/04/2022, 1:10 PMAlexandre Brown
05/04/2022, 1:18 PMWhy do you need native anyway?We have c++ apps that currently calls our kotlin backend for AI processing/logic. We would like to support offline users by providing a kotlin multiplatform lib in the future. We don't want to ask each c++ apps to handle the inference (adding a c++ runtime + doing the AI planning logic themselves) that's why we'd encapsulate the logic in a lib. Therefore we'd need an inference lib that supports Native. This project is still probably 6months + away but still I prefer to have an intuition as soon as possible. There are probably a lot of ways to go about this, if ONNX has a C api maybe we can use Kotlin C Interop, but the simpler the better. Ideally we'd find a native comliant lib and simply use it, that's why I was curious to know if KMath was native friendly.
altavir
05/04/2022, 1:20 PMAlexandre Brown
05/04/2022, 1:21 PMaltavir
05/04/2022, 1:21 PMIaroslav Postovalov
05/04/2022, 1:24 PMIaroslav Postovalov
05/04/2022, 1:25 PMaltavir
05/04/2022, 1:25 PM