Anyone know of a KMP library for loading and runni...
# multiplatform
a
Anyone know of a KMP library for loading and running local ML models?
m
If You find something please let me know, I was thinking about building one 😅
😄 1
Idk if you know this one but here is an example app for running GGUF models on Android. The JNI bindings would work for plain java as well but for Native there should be another wrapper (.framework / .dll / .so ). https://github.com/shubham0204/SmolChat-Android
The actual 'hard' part for this is setting up the build scripts 😄
s
Also in the same boat but I haven’t dug into it yet. I was looking at KInference for ONNX but haven’t tried yet
very nice 1