Open christopher5106 opened 1 month ago
Hi, thanks for reporting, since you found the errors, are you interested in opening a PR to fix it?
cc @stevhliu
The process of PR is a bit heavy. I have to do it with a fork. But I already have a fork that I use for something else, I commited on the main branch of my fork... Github doesn't allow me to create multiple fork, or to create PR from something else than a fork. Sorry
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
Describe the bug
Reading this documentation which is not possible. Indeed, super resolution pipeline works with an image as input in the image input parameter. So it's not possible to use
output_type="latent"
for image_2. Otherwise you'll get an error : ValueError: Incorrect configuration settings! The config ofpipeline.unet
expects 7 but receivednum_channels_latents
: 4 +num_channels_image
: 4 = 8. Please verify the config ofpipeline.unet
or yourimage
input. Because it's placing a latent instead of an image.Please also note that
"variant="fp16"
does not work for stabilityai/sd-x2-latent-upscaler" for me. The error message I get is :Reproduction
simple snippet of code
Logs
No response
System Info
ubuntu
Who can help?
@yiyixuxu @asomoza