Replies: 1 comment 1 reply
-
the could you try and let us know? we should support it, but that use case was never tested, so I would not be surprised if it does not work as it is |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to implement high res fix (latent space upscale) with the flux pipeline but i'm struggling a bit. The goal is to do a first txt2img pass to generate a 1M image and have the best composition and performance while outputing latents.
Then a second pass at 2M pixels to add details while keeping the original composition.
I found out in the diffusers code that even though not documented you can use "latent" as an output type. I was then able to interpolate latents to a greater "resolution" using pytorch.
The issue is that I can't seem to use the resized latents as a pipeline input for the second pass. FluxPipeline has a "latents" input parameter but it complain about the tensor shape.
I'm a total newbie with tensors and couldn't find anyone doing that beside with Comfy. Anyone could point me to the right direction ?
Beta Was this translation helpful? Give feedback.
All reactions