explainingai-code/StableDiffusion-PyTorch
This repo implements a Stable Diffusion model in PyTorch with all the essential components.
Supports multiple conditioning mechanisms—class labels, text (via CLIP embeddings), and semantic masks—either independently or in combination, operating on latent space via VQVAE compression. Uses DDPM with linear scheduling for the diffusion process and provides modular training pipelines for autoencoders and diffusion models across MNIST and CelebHQ datasets, with configuration-driven setup for custom data.
246 stars. No commits in the last 6 months.
Stars
246
Forks
56
Language
Python
License
MIT
Category
Last pushed
Nov 24, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/diffusion/explainingai-code/StableDiffusion-PyTorch"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Higher-rated alternatives
siliconflow/onediff
OneDiff: An out-of-the-box acceleration library for diffusion models.
wooyeolbaek/attention-map-diffusers
🚀 Cross attention map tools for huggingface/diffusers
jina-ai/discoart
🪩 Create Disco Diffusion artworks in one line
chengzeyi/stable-fast
https://wavespeed.ai/ Best inference performance optimization framework for HuggingFace...
hkproj/pytorch-stable-diffusion
Stable Diffusion implemented from scratch in PyTorch