Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
aec3de8b
"vscode:/vscode.git/clone" did not exist on "53e1b61a1e2498e66e4af9ff19e0bc55955b24b0"
Unverified
Commit
aec3de8b
authored
Nov 06, 2023
by
Sayak Paul
Committed by
GitHub
Nov 06, 2023
Browse files
correct pipeline class name (#5652)
parent
d61889fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/diffusers/pipelines/pixart_alpha/pipeline_pixart_alpha.py
...diffusers/pipelines/pixart_alpha/pipeline_pixart_alpha.py
+1
-3
No files found.
src/diffusers/pipelines/pixart_alpha/pipeline_pixart_alpha.py
View file @
aec3de8b
...
...
@@ -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()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment