mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
correct pipeline class name (#5652)
This commit is contained in:
@@ -51,9 +51,7 @@ EXAMPLE_DOC_STRING = """
|
||||
>>> 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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user