Skip to content

Commit

Permalink
correct pipeline class name (#5652)
Browse files Browse the repository at this point in the history
  • Loading branch information
sayakpaul committed Nov 6, 2023
1 parent d61889f commit aec3de8
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@
>>> from diffusers import PixArtAlphaPipeline
>>> # You can replace the checkpoint id with "PixArt-alpha/PixArt-XL-2-512x512" too.
>>> pipe = StableDiffusionXLPipeline.from_pretrained(
... "PixArt-alpha/PixArt-XL-2-1024-MS", torch_dtype=torch.float16
... )
>>> pipe = PixArtAlphaPipeline.from_pretrained("PixArt-alpha/PixArt-XL-2-1024-MS", torch_dtype=torch.float16)
>>> # Enable memory optimizations.
>>> pipe.enable_model_cpu_offload()
Expand Down

0 comments on commit aec3de8

Please sign in to comment.