d("CompVis/ldm-text2im-large-256")
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 a GPU.
You can move the generator object to a GPU, just like you would in PyTorch:


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


	Copied
>>> image = generator("An image of a s