~/talk

Privacy First: Building LLM-Powered Web Apps with client side WASM

Talkat Wasm I/O 2025 · 2025-03-27..03-28· [large-language-models, web-platform]
slides:none on file

Demonstrates a complete on‑device LLM pipeline: quantize and compile models to run in‑browser, ingest PDFs, embed text into a local vectorstore, and perform retrieval‑augmented generation with an LLM like Ollama and tooling such as Transformers.js and Voy. Shows a Whisper transcription running as a ~1 GB download, an example that indexed 220 entries into IndexedDB and answers queries offline, and explains use of WebAssembly+WebGPU and MLC for performance plus the accuracy/performance tradeoffs and occasional crashes.

AI-written summary · about

  1. 0:00Privacy-first LLM web apps
  2. 4:18Privacy risks of cloud AI
  3. 6:02Cost of cloud AI APIs
  4. 7:07WebGPU and WASM for AI
  5. 10:16Auto-selecting device backends
  6. 13:31TensorFlow.js and Transformers.js
  7. 15:37Live Whisper transcription
  8. 18:27LLMs in the browser
  9. 21:59Quantizing models for browsers
  10. 23:03WebLLM for on-device inference
  11. 24:30Retrieval augmented generation demo
  12. 28:44Chrome’s Gemini Nano
  13. 30:32Hardware and future of on-device AI
  14. 31:34WASM for production AI?
  15. 33:02Conclusion 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.