mlc-ai/web-stable-diffusion
A browser-based inference runtime that executes Stable Diffusion image generation models entirely client-side using WebAssembly and WebGPU.

Velocity · 7d
+3.1
★ / day
Trend
→steady
star history
This project ports Stable Diffusion models to web browsers by compiling them to WebAssembly and running inference via WebGPU. All computation happens on the client device with no server communication required. The implementation uses TVM (Tensor Virtual Machine) for model compilation and optimization, targeting the WebGPU compute API to achieve reasonable performance for generative image tasks in a web environment.