Very nice, short (you will do it in 1h) course by DeepLearning.AI & Sharon Zhou - How Diffusion Models Work.

The sample code to train your own model is built using PyTorch. Includes Sharon showing DDIM - denoising diffusion implicit models sampler, much faster than Denoising diffusion probabilistic models (DDPMs).