~/talk

From useML To useLLM: On Device AI In The Browser

Talkat React Paris 2024 · on Friday, 2024-03-22· [webassembly, machine-learning]
slides:none on file

Claim: full ML and LLM inference runs client-side in the browser using WebGPU, WebAssembly and frameworks like TensorFlow.js, Transformers.js and mlc-llm. Demonstrations show face-landmark detection going from ~5 FPS on CPU to ~13 FPS on WebGL and ~30 FPS on WebGPU, and a local Gemma 2B quantized model (~1.4 GB) generating at about 138 tokens/sec processing and ~32 tokens/sec generation. A live app called MD edit downloads and runs the model on-device; it works well on M3 silicon but is ~10x slower on typical Intel laptops.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 2:43Why on-device AI matters
  3. 4:30How neural networks work
  4. 6:57TensorFlow in the browser
  5. 8:20WebGPU vs WebGL performance
  6. 9:24Live face landmark demo
  7. 11:07Chrome extension with gestures
  8. 12:31Detecting Swiss German words
  9. 14:37From ML to LLMs
  10. 16:25LLM architecture basics
  11. 17:26Model size and quantization
  12. 18:53Running LLMs in browser
  13. 19:34MD Edit demo and features
  14. 22:51Hardware requirements today
  15. 23:54Future of on-device AI
  16. 25:00Progressive enhancement with AI
  17. 25:44Benefits of browser AI
  18. 26:25Closing and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.