from_pretrained("runwayml/stable-diffusion-v1-5")
The DiffusionPipeline downloads and caches all modeling, tokenization, and scheduling components.
Because the model consists of roughly 1.4 billion parameters, we strongly recommend running it on GPU.
You can move the generator object to GPU, just like you would in PyTorch.


	Copied
>>> pipeline.to("cuda")
Now you can use the pipeline on your text prompt:


	Copied
>>> image = pipeline("An imag