        super().__init__() To ensure your pipeline and its components (unet and scheduler) can be saved with save_pretrained(), add them to the register_modules function:   Copied   from diffusers import DiffusionPipeline