~/talk

From ML to LLM on device AI in the browser

Talkat React Brussels 2024 · on Friday, 2024-10-18· [webassembly, large-language-models]
slides:none on file

Shows running TensorFlow.js models in-browser with a WebGPU backend: face landmark demo jumps from 6 fps (CPU) to 12 fps (WebGL) to ~32 fps (WebGPU). Trains a custom Swiss‑German wakeword with Teachable Machine (≈50–70 samples) and wires it into a slides extension buzzer. Compiles LLMs with Apache TVM and WebLLM to run Gemma 2B locally after quantization to 4‑bit, achieving ~130 tokens/s encode and ~36 tokens/s decode on an M3 laptop; Windows i9 drops to ~4 tokens/s. Also demos fast on‑device RAG: PDF parse 170 ms, vectorize ~3 s, retrieve 32 ms, generate ~4.2 s.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 2:40Browser-based computer vision
  3. 7:18Hand tracking and input
  4. 9:36Audio and keyword recognition
  5. 12:00Running LLMs in the browser
  6. 16:57Practical AI applications
  7. 20:23RAG for browser-based AI
  8. 24:37Future of web AI
  9. 29:56Closing thoughts
~/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.