Modern diffusion models aren't trained like GANs. GANs failed to scale and generalize. Diffusion models do sometimes use Variational Auto-encoders (VAEs), which are a similar structure but which functions differently.