ler.compatibles
Let’s use the SchedulerMixin.from_pretrained() method to replace the default PNDMScheduler with a more performant scheduler, EulerDiscreteScheduler. The subfolder="scheduler" argument is required to load the scheduler configuration from the correct subfolder of the pipeline repository.
Then you can pass the new EulerDiscreteScheduler instance to the scheduler argument in DiffusionPipeline:


	Copied
from diffusers import Diffusi