Efficient Diffusion Models From Scratch