← all repositories

mlc-ai/web-stable-diffusion

A browser-based inference runtime that executes Stable Diffusion image generation models entirely client-side using WebAssembly and WebGPU.

3.7k stars Jupyter Notebook Inference · ServingImage · Video · Audio
web-stable-diffusion
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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.