You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValueError: Pipeline <class 'diffusers.pipelines.vq_diffusion.pipeline_vq_diffusion.VQDiffusionPipeline'> expected {'vqvae', 'transformer', 'scheduler', 'learned_classifier_free_sampling_embeddings', 'tokenizer', 'text_encoder'}, but only {'vqvae', 'tokenizer', 'transformer', 'text_encoder', 'scheduler'} were passed.
And calling as this works fine:
importtorch# from diffusers import VQDiffusionPipeline# pipeline = VQDiffusionPipeline.from_pretrained("microsoft/vq-diffusion-ithq", torch_dtype=torch.float16, revision="fp16")fromdiffusersimportDiffusionPipelinepipeline=DiffusionPipeline.from_pretrained("microsoft/vq-diffusion-ithq")
pipeline=pipeline.to("cuda")
image=pipeline("teddy bear playing in the pool").images[0]
# save imageimage.save("./teddy_bear.png")
Also it seems like a problem of specifying torch_dtype=torch.float16, revision="fp16"
The text was updated successfully, but these errors were encountered:
Running the old one gives:
And calling as this works fine:
Also it seems like a problem of specifying
torch_dtype=torch.float16, revision="fp16"
The text was updated successfully, but these errors were encountered: