~/talk

Fast And Portable LLM Inference With WebAssembly And Rust

Talkat LambdaConf 2024 · 2024-05-04..05-10· [webassembly, rust]
slides:none on file

Claims a zero python dependency LLM stack built with Rust and WasmEdge that runs the same binary on a 16GB M1 laptop and on an Nvidia cloud GPU without recompilation. Demonstrations show a lightweight runtime and app under 30 megabytes, Llama3 8B loading locally and serving an OpenAI‑style API, a quadrant vector DB knowledge base, and generation speeds around 24 tokens per second. Over 10,000 fine‑tuned models on Hugging Face are supported and the demos run successfully.

AI-written summary · about

  1. 0:00WebAssembly and LLM inference intro
  2. 4:07WebAssembly’s 2024 killer apps
  3. 6:13LLM demo on MacBook
  4. 11:09Avoid cloud LLMs like OpenAI
  5. 12:56WebAssembly benefits for LLM deployment
  6. 15:27Demo: porting to Nvidia GPU
  7. 19:03WebAssembly for LLM apps
  8. 26:47Rust vs Python for LLMs
  9. 27:53Rust LLM inference code
  10. 30:01Demo: RAG app in Rust
  11. 36:49Switch models in one command
  12. 41:57Fine-tuned LLMs ecosystem
  13. 46:51Building local LLM knowledge bases
  14. 47:58Q&A: model formats & privacy
~/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.