Related Posts
ai startup development
On-device LLM tool calling on Android: MediaPipe, JSON schema, and the 800ms budget
How to implement structured tool-use on-device: defining JSON schemas for function signatures, parsing partial token streams for early dispatch, managing the ro
· 5 min read
ai startup development
CoreML Stable Diffusion on iPhone 16: under 8 seconds
On-device image generation using Apple's Core ML Stable Diffusion package — covering UNet chunking for ANE offload, attention KV-cache reuse across denoising st
· 6 min read
ai startup development
Android MediaPipe LLM: session state & KV-cache
Deep dive into how MediaPipe LLM Inference API handles session tokens across turns — covering LoRA adapter switching, KV-cache invalidation triggers, the prefix
· 6 min read