~/talk

From ML to LLM: on-device AI in the browser

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [web-platform, large-language-models]
slides:none on file

Browser runs ML end to end: TensorFlow.js and WebAssembly prototype shows CPU at ~5 FPS, WebGL ~13 FPS and a webGPU backend at ~30 FPS for face and hand tracking demos. Transformers.js + ONNX/ONNX Runtime and Apache TVM compile LLMs so a Gemma 2B baseline (2B params ~30 GB) can be quantized to 1.4GB and served as Gemma 2B in-browser. Examples include real‑time captions, MD editor at ~27–30 tokens/sec, and ask‑my‑PDF with 81 ms parsing, 1.25 s vectorizing, 61 ms retrieval, and <10 s answers.

AI-written summary · about

  1. 0:00Introduction to web AI
  2. 3:07TensorFlow.js and hardware
  3. 6:05Interactive browser projects
  4. 9:13Web Neural Network API
  5. 12:30Custom model training
  6. 15:15Real-time speech transcription
  7. 19:29LLMs in the browser
  8. 26:39LLM applications
  9. 29:53RAG for browser documents
  10. 36:44Future of web AI
  11. 44:01Conclusion and Q&A
~/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.