Describe the bug
My assumption is, if resolution of image matches one of PREFERRED_KONTEXT_RESOLUTIONS, pipeline should not resize the input image.
Even though I use the image with one of the preferred resolution, the pipeline is resizing the image.
PREFERRED_KONTEXT_RESOLUTIONS = [
(672, 1568),
(688, 1504),
(720, 1456),
(752, 1392),
(800, 1328),
(832, 1248),
(880, 1184),
(944, 1104),
(1024, 1024),
(1104, 944),
(1184, 880),
(1248, 832),
(1328, 800),
(1392, 752),
(1456, 720),
(1504, 688),
(1568, 672),
]
Reproduction
I chose 672x1568 image for inference
Logs
Generation `height` and `width` have been adjusted to 1552 and 656 to fit the model requirements.
System Info
Latest diffusers
Who can help?
@a-r-r-o-w
Just want to quickly confirm if it's an issue or this is how it's supposed to work.