mlc-ai/web-stable-diffusion

Bringing stable diffusion models to web browsers. Everything runs inside the browser with no server support.

56
/ 100
Established

Leverages Apache TVM Unity's machine learning compilation to transform Hugging Face Stable Diffusion models through TorchDynamo/Torch FX capture, then automatically optimizes them using TensorIR and MetaSchedule for WebGPU execution. The workflow enables Python-first model development that compiles to WebAssembly and JavaScript runtimes, with careful memory management to fit large diffusion models within browser constraints. Integrates with PyTorch, Hugging Face diffusers, Rust tokenizers, and WebGPU for hardware-accelerated inference across diverse client environments.

3,714 stars and 17 monthly downloads. No commits in the last 6 months. Available on PyPI.

Stale 6m No Dependents
Maintenance 0 / 25
Adoption 13 / 25
Maturity 25 / 25
Community 18 / 25

How are scores calculated?

Stars

3,714

Forks

233

Language

Jupyter Notebook

License

Apache-2.0

Last pushed

Mar 12, 2024

Monthly downloads

17

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/diffusion/mlc-ai/web-stable-diffusion"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.