uler keyword argument to DiffusionPipeline.from_pretrained(). This works because the StableDiffusionPipeline defines its scheduler with the scheduler attribute. It’s not possible to use a different name, such as sampler=scheduler since sampler is not a defined keyword for StableDiffusionPipeline.__init__()
Not only the scheduler components can be customized for diffusion pipelines; in theory, all components of a pipeline can be customized. In p