~/talk

WebLLM: A high-performance in-browser LLM Inference engine

Talkat Web AI Summit 2025 · on Friday, 2025-10-17· [web-platform, webassembly]
slides:none on file

WebLLM is a browser-native LLM inference engine that runs models 100% client-side, compiles WebGPU kernels via MLC-LLM/TVM, and uses WebAssembly for CPU/runtime tasks. It exposes an OpenAI-API style interface and a ServiceWorkerMLCEngine for background GPU execution, enforces structured JSON outputs via XGrammar, and supports embeddings and VLMs (Phi-3.5). Measured results show about 85% of native performance and ~30–70 tokens/sec on laptops for 3B 4-bit models.

AI-written summary · about

  1. 0:00Introduction to local AI
  2. 2:19Benefits of local LLMs
  3. 3:20Browser as a platform
  4. 5:38WebLLM design principles
  5. 7:51API features and usability
  6. 11:23WebGPU acceleration
  7. 13:55Browser runtime adaptation
  8. 15:57Future work and conclusion
~/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.