mlc-ai/web-stable-diffusion
Bringing stable diffusion models to web browsers. Everything runs inside the browser with no server support.
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.
Stars
3,714
Forks
233
Language
Jupyter Notebook
License
Apache-2.0
Category
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.
Compare
Related models
huggingface/diffusers
🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.
bghira/SimpleTuner
A general fine-tuning kit geared toward image/video/audio diffusion models.
mcmonkeyprojects/SwarmUI
SwarmUI (formerly StableSwarmUI), A Modular Stable Diffusion Web-User-Interface, with an...
nateraw/stable-diffusion-videos
Create 🔥 videos with Stable Diffusion by exploring the latent space and morphing between text prompts
probabilists/azula
Diffusion models in PyTorch