Hi, when using FLUX.2 Klein 4B with reference images. I noticed generated images were cropped/stretched. I looked at the already existing issues and found this:
@nitinmukesh There is a private marked parameter that you can pass to disable the automatic resizing:
|
_auto_resize: bool = True, |
We do the resizing by default to keep the implementation aligned with original implementation, and because there are only certain specific resolutions that Kontext was trained with. Other resolutions may work but how it affects the quality is unknown.
Originally posted by @a-r-r-o-w in #11886
Does this also affect FLUX.2 Klein pipeline and how to disable this?
EDIT: I do not see such cropping/stretching when using ComfyUI
Thanks!