Repository navigation
Onde Inference runs LLMs on-device on iOS, macOS, tvOS, Android, Windows and Linux.
One Rust core, with SDKs for Swift, Kotlin, Flutter, React Native and Rust.
Swift (iOS, macOS, tvOS)
.package(url: "https://github.com/ondeinference/onde-swift", from: "1.6.0") · Changelog
- No changes to this SDK. The release moves the Rust crate's browser engine to vectoron and adds
@ondeinference/web, neither of which these bindings use.
Kotlin Multiplatform (Android, JVM)
implementation("com.ondeinference:onde-inference:1.6.0") · Changelog
- No changes to this SDK. The release moves the Rust crate's browser engine to vectoron and adds
@ondeinference/web, neither of which these bindings use.
Flutter
flutter pub add onde_inference · Changelog
- No changes to this SDK. The release moves the Rust crate's browser engine to vectoron and adds
@ondeinference/web, neither of which these bindings use.
React Native
npm install @ondeinference/react-native · Changelog
- No changes to this SDK. The release moves the Rust crate's browser engine to vectoron and adds
@ondeinference/web, neither of which these bindings use.
Rust
cargo add onde · Changelog
The browser engine in the onde crate now runs on vectoron instead of candle, and @ondeinference/web is on npm.
Browser engine
- On
wasm32-unknown-unknown,ChatEngineloads GGUF files with vectoron 0.3 and multiplies quantized weights in integers. candle is no longer a dependency there. The public API and the supported models (Qwen2.5 and Qwen3) are unchanged. - In onde's engine benchmark on GitHub-hosted runners (Qwen2.5-0.5B, a 179-token prompt, headless Chrome and WebKit), reading the prompt went from 31 to 45 s to 7 to 10 s, and generating went from 3.6 to 4.6 tok/s to 7.4 to 12.2 tok/s. Peak Chrome memory fell from about 2.0 to 2.3 GB to 1.0 to 1.3 GB.
- The key/value cache now survives between turns. A follow-up message runs only the tokens after the prefix it shares with the previous prompt, where it used to reread the whole conversation.
- A reply that fills the model's context window now ends with
finish_reason"length". - Replies can differ from earlier releases at near-ties, because activations are rounded to 8 bits.
Web SDK
@ondeinference/webruns Qwen 2.5 0.5B Instruct (Q4_K_M, about 380 MB) in a web page, on the CPU, in a Web Worker, on the same vectoron engine. The model is downloaded once into the same Cache Storage bucket (onde-models-v1) the crate'sweb_storeuses.createOnde()returns anOndewithdownload,load,send,stream,reset,cancelanddispose.loadtakes sampling options, and atemperatureof 0 is greedy.- An experimental WebGPU engine (wllama 3.13.0, llama.cpp's WebGPU backend) lives at
@ondeinference/web/webgpu. It is opt-in.engine: "auto"falls back to the CPU engine if it does not load. It stays experimental until its output is checked on real Apple Silicon. - Version 1.5.1 of the package was published by hand ahead of this release. 1.6.0 is the first one published by the release workflow.
Build and release
sdk-web.ymlbuilds and packs the package, then runs the packed tarball through a Vite app in headless Chrome on GitHub-hosted runners.release-sdk-npm.ymlpublishes@ondeinference/webalongside@ondeinference/react-native, andmake patch/make verifycover its version files.web-smoke.ymlruns the crate'stests/web_smoke.rsin headless Chrome, so the browser engine is exercised in CI.
Packaging
- No native API or behaviour changes. The published
ondecrate surface is identical to1.5.0on every native target, and the dependency change is wasm-only.
Pull requests
- sdk/web: add the @ondeinference/web browser package by @setoelkahfi in #55
- 1.5.1 by @setoelkahfi in #56
- README: even out the Siti AI store badges by @setoelkahfi in #57
- sdk/web: move the wasm engine to vectoron's integer kernels by @setoelkahfi in #64
- ci: run the browser engine's smoke test by @setoelkahfi in #62
- web engine: run inference on vectoron instead of candle by @setoelkahfi in #63
- sdk-releases: record the npm package settings by @setoelkahfi in #67
- WebGPU spike: can the browser engine use the GPU? by @setoelkahfi in #52
- spikes/webgpu: compare candle and vectoron on the CPU by @setoelkahfi in #61
- 1.6.0 by @setoelkahfi in #68
Full changelog: 1.5.0...1.6.0
Install guides and API reference: Onde Inference SDKs for Swift, Kotlin, Flutter, React Native and Rust