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
77ba494b
"src/vscode:/vscode.git/clone" did not exist on "ca60ad8e55e8c2c43c3b88279fd3351918af8c39"
Unverified
Commit
77ba494b
authored
Nov 10, 2023
by
Sayak Paul
Committed by
GitHub
Nov 10, 2023
Browse files
[ConsistencyDecoder] fix: doc type (#5745)
fix: doc type
parent
1328aeb2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/models/consistency_decoder_vae.py
src/diffusers/models/consistency_decoder_vae.py
+1
-1
No files found.
src/diffusers/models/consistency_decoder_vae.py
View file @
77ba494b
...
...
@@ -58,7 +58,7 @@ class ConsistencyDecoderVAE(ModelMixin, ConfigMixin):
>>> import torch
>>> from diffusers import DiffusionPipeline, ConsistencyDecoderVAE
>>> vae = ConsistencyDecoderVAE.from_pretrained("openai/consistency-decoder", torch_dtype=
pipe.torch_dtype
)
>>> vae = ConsistencyDecoderVAE.from_pretrained("openai/consistency-decoder", torch_dtype=
torch.float16
)
>>> pipe = StableDiffusionPipeline.from_pretrained(
... "runwayml/stable-diffusion-v1-5", vae=vae, torch_dtype=torch.float16
... ).to("cuda")
...
...
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