unning the pipeline is then identical to the code above as it’s the same model architecture.


	Copied
>>> generator.to("cuda")
>>> image = generator("An image of a squirrel in Picasso style").images[0]
>>> image.save("image_of_squirrel_painting.png")
Diffusion systems can be used with multiple different schedulers each with their
pros and cons. By default, Stable Diffusion runs with PNDMScheduler, but it’s very simple to
use a different schedu