hkproj/pytorch-stable-diffusion
Stable Diffusion written from scratch in PyTorch
What
Stable Diffusion (VAE, CLIP encoder, U-Net, DDPM sampler) reimplemented from scratch, with a long companion video.
What's inside: Model code plus a demo notebook that loads the official v1.5 weights.