~/talk

On‑Device LLMs on Android Devices 2025

TalkinJapaneseat DroidKaigi 2025 · 2025-09-10..09-12· [android, large-language-models, machine-learning]
name:daasuu
links:none on file
slides:none on file

An Android Compose app implements and compares three on-device LLM approaches: Google Gemini Nano via AICore (Pixel 9 only) which gives the best response quality and low power use but is device‑limited and can require reboots when it loops; llama.cpp (gguf via JNI) which runs quantized Llama models (e.g., 3.21B ~2.3GB or tinyLlama 1.1B ~640MB) offering model choice and deep customization at the expense of CPU battery use and higher latency; and MediaPipe LLM Inference (LiteRT → NNAPI/GPU) which runs 1B–3.7B models with about 4s summarization latency and good memory efficiency.

AI-written summary · about

  1. 0:00Introduction
  2. 3:36On-device LLM approaches
  3. 7:58Gemini Nano implementation
  4. 13:06Llama.cpp setup
  5. 18:03MediaPipe LLM API
  6. 22:47Benchmarking performance
  7. 30:37Practical use cases
  8. 34:18Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.