with two schedulers: PNDMScheduler and DDIMScheduler.
A number of better schedulers have been released that can be run with much fewer steps, let’s compare them here:
LMSDiscreteScheduler usually leads to better results:


	Copied
from diffusers import LMSDiscreteScheduler

pipeline.scheduler = LMSDiscreteScheduler.from_config(pipeline.scheduler.config)

generator = torch.Generator(device="cuda").manual_seed(8)
image = pipeline(prompt, generato