This repo explain how DDPM and Stable Diffusion work Notebook in this repo: From scratch DDPM From scratch DDIM From scratch Stable Diffusion Example of changing VAEs in SD 1.5 Example of appling ControlNet on SD 1.5