"src/vscode:/vscode.git/clone" did not exist on "ca60ad8e55e8c2c43c3b88279fd3351918af8c39"
Unverified Commit 77ba494b authored by Sayak Paul's avatar Sayak Paul Committed by GitHub
Browse files

[ConsistencyDecoder] fix: doc type (#5745)

fix: doc type
parent 1328aeb2
......@@ -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")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment