Pull down to go back
Hybrid on-device inference on Android: llama.cpp + LiteRT + NPU/GPU routing

Hybrid on-device inference on Android: llama.cpp + LiteRT + NPU/GPU routing

Android 混合本機推論:llama.cpp + LiteRT + NPU/GPU 路由

Hi everyone, I'm the maintainer of Box — a fork of Google's AI Edge Gallery that I've been extending into a fully offline AI assistant for Android. Full disclosure: I built this project. It runs entirely on-device (no cloud, no accounts, no external inference), and combines multiple local inference backends in a single app. The goal was to see how far a fully offline mobile AI stack could be pushed using llama.cpp (GGUF LLM inference), whisper.cpp (on-device speech recognition), and intelligent routing between NPU and GPU for optimal performance.