1.1.1
Onde Inference Kotlin SDK 1.1.1
On-device LLM inference for Android and JVM (macOS Apple Silicon).
Add to your project
// build.gradle.kts
dependencies {
implementation("com.ondeinference:onde-inference:1.1.1")
}What's included
| Target | Backend | Default model |
|---|---|---|
Android (arm64-v8a, armeabi-v7a, x86_64, x86) |
CPU (Candle) | Qwen 2.5 1.5B (~941 MB) |
| JVM (macOS Apple Silicon) | Metal | Qwen 2.5 3B (~1.93 GB) |
Usage
// Android
val onde = OndeInference(applicationContext)
// JVM (macOS)
val onde = OndeInference()
// Shared API
val elapsed = onde.loadDefaultModel(systemPrompt = "You are helpful.")
val result = onde.chat("Hello!")
onde.stream("Tell me a story.").collect { chunk -> print(chunk.delta) }See the README for full API docs.
Full Changelog: 1.1.0...1.1.1
Full Changelog: 1.1.0...1.1.1