~/talk

On-Device Machine Learning with Google AI Edge

Talkat droidcon Berlin 2024 · 2024-07-03..07-05· [machine-learning]
slides:none on file

A practical walkthrough showing how to run on‑device inference with MediaPipe Task with TensorFlow Lite, covering image classification, object detection and pose/hand/face landmarks (pose 33 points hand 21 face 468) and about 20 built‑in tasks. Shows training with MediaPipe ModelMaker (example: custom object detector for wooden toys, Rock‑Paper‑Scissors gestures), deployment on Android and Raspberry Pi 4B, and conversion/quantization that cuts model size roughly 4x. Demonstrates image diffusion (~10s on a Galaxy S24) and Gemma 2B LLM on-device with tokenizer, sampler and async APIs.

AI-written summary · about

  1. 0:00Google AI Edge intro
  2. 1:10What is Google AI Edge
  3. 2:53On-device ML benefits
  4. 4:00MediaPipe Tasks evolution
  5. 6:08Image classification with TF Lite
  6. 8:56Image classification with MediaPipe
  7. 12:10MediaPipe Tasks setup
  8. 16:19Object & landmark detection
  9. 19:48Segmentation & face landmarks
  10. 20:32Custom models with Model Maker
  11. 23:59Retraining for gestures
  12. 25:01PyTorch to TFLite conversion
  13. 27:09Generative AI on device
  14. 31:22Guided image generation
  15. 33:25Customizing with LoRA
  16. 34:47LLMs with MediaPipe LLM
  17. 39:01How LLM Inference works
  18. 40:25Implementing LLM Inference
  19. 41:08Resources & feedback
~/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.