Skip to main content

Crate product_os_models_ffi

Crate product_os_models_ffi 

Source
Expand description

product-os-models-ffi: FFI facade for running ONNX, safetensors, and GGUF models on iOS/Android.

Exposes TtsSession, LlmSession, and InferenceSession via uniffi for use from Swift (iOS) and Kotlin (Android). See MOBILE.md for build and integration.

Modulesยง

config
FFI-safe config structs for session creation.
error
FFI-safe error type for the models facade.