Building Serverless AI Apps with Spin and WebAssembly
Talkat Cloud Native AI Day Europe 2024 · on Tuesday, 2024-03-19· at 16:25· Pavilion 7 | Level 7.3 | Room S03·
summary
Spin compiles small serverless handlers to WebAssembly so a 2.4 MB wasm module running a LLaMa2 Chat LLM starts in ~0.51 ms locally, swaps transparently from M1/metal to a remote A100/CUDA without rebuilding, and runs on Kubernetes via spin cube while the host assigns fractional GPU slices for just-in-time inference. Demo shows a TypeScript HTTP handler calling a hosted infer() API, achieves fast cold-starts and higher GPU utilization versus multi‑GB container images.
AI-written summary · about
chapters (5)
related talks
01h 59mCreate a First AI Program with TypeScript and Serverless WebAssembly
31m"Serverless AI Inferencing Using Python and WebAssembly"
08mKeynote: How WebAssembly can Power the New Wave of Serverless AI
44mA Greener, Cost-Effective Cloud with Serverless WebAssembly
59mNext generation microservices and serverless apps with WebAssembly & Spin
01h 34mTutorial: Getting Started with Serverless WebAssembly and Spin
24mA Greener, Cost Effective Cloud with Serverless WebAssembly
01h 34mTutorial: Getting Started with Serverless WebAssembly and Spin
