consistencydecoder icon indicating copy to clipboard operation
consistencydecoder copied to clipboard

No difference when using consistencydecoder in diffusers

Open howardgriffin opened this issue 1 year ago • 1 comments

Here is my code, however, there seems no difference between gan_vae and cosistency_vae. What's wrong?

import torch from diffusers import StableDiffusionPipeline, ConsistencyDecoderVAE vae = ConsistencyDecoderVAE.from_pretrained("openai/consistency-decoder", torch_dtype=torch.float16) pipe_gan = StableDiffusionPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", torch_dtype=torch.float16 ).to("cuda") pipe_consistency = StableDiffusionPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", vae=vae, torch_dtype=torch.float16).to("cuda") image_gan = pipe_gan("a girl hold flower", generator=torch.manual_seed(0)).images[0] image_consistency = pipe_consistency("a girl hold flower", generator=torch.manual_seed(0)).images[0]

howardgriffin avatar Nov 15 '23 02:11 howardgriffin