Upscaling Conditioning
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
With Area Composition, after upscaling the image the conditioning areas are no longer properly aligned with the image for a second pass, and so, it is necessary to also upscale the conditioning accordingly. So far I've always been using a custom node for this (Conditioning Stretch from [ComfyUI - Visual Area Conditioning / Latent composition](https://github.com/Davemane42/ComfyUI_Dave_CustomNode)). Recently I've tried using the Conditioning (Set Area) instead as this would be a solution that doesn't require custom nodes.
However, doing so resulted in a massive slowdown of 5x in time/step in sampling though the actual difference seems to vary depending on the number of areas and their shape (rectangle with Set Area or freeform with Set Mask)
with Conditioning (Set Area):

with Conditioning Stretch custom node:

*In both cases I started from 576x832 and upscaled 2x, the conditioning areas were set with Conditioning (Set Mask)
The following workflow demonstrates that both nodes can be used to properly upscale conditioning as well as their speed difference:


First Pass
Second Pass after Conditioning Stretch
Second Pass after Conditioning (Set Area)
Currently, without resorting to custom nodes, I don't see a way to properly upscale conditioning. It would be ideal if Conditioning (Set Area) worked for this without such a slowdown, but a separate node would be fine too.
Contributor guide
Assessment
This issue has not been assessed yet.