We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d61889f commit aec3de8Copy full SHA for aec3de8
src/diffusers/pipelines/pixart_alpha/pipeline_pixart_alpha.py
@@ -51,9 +51,7 @@
51
>>> from diffusers import PixArtAlphaPipeline
52
53
>>> # You can replace the checkpoint id with "PixArt-alpha/PixArt-XL-2-512x512" too.
54
- >>> pipe = StableDiffusionXLPipeline.from_pretrained(
55
- ... "PixArt-alpha/PixArt-XL-2-1024-MS", torch_dtype=torch.float16
56
- ... )
+ >>> pipe = PixArtAlphaPipeline.from_pretrained("PixArt-alpha/PixArt-XL-2-1024-MS", torch_dtype=torch.float16)
57
>>> # Enable memory optimizations.
58
>>> pipe.enable_model_cpu_offload()
59
0 commit comments