Repository navigation
Replies: 2 comments 1 reply
|
Correct me if I'm wrong: you’re not missing it — the mask node itself only sets the “mask” cond. The actual application happens inside the inpainting pipeline, specifically in the So ComfyUI is not using the same implementation as WebUI’s regional prompter. Regional prompter works by splitting prompts across attention regions, while ComfyUI inpainting uses explicit spatial masks combined with inpainting-trained models. In short: mask cond in ComfyUI = latent encoding with mask, not prompt-based conditioning. |
|
It's in
So for each latent pixel the positive prediction is A side effect: a pixel that no mask covers ends up with output 0 (the count is initialised to 1e-37), so in practice you combine masked conds with an unmasked base prompt. Conds marked as default via Compared with the regional prompter, this is not its Attention mode, which splits regions inside the cross-attention layers in a single pass. It's closer to its Latent mode, which also runs a separate pass per region (its README says generation time scales with the number of areas). I haven't compared the blending math between the two line by line. |
Uh oh!
There was an error while loading. Please reload this page.
I've spent hours looking through the source code, but I can't find the actual implementation, maybe I'm blind and just missing it.
The node itself just sets the
"mask"cond, but I can't find where the"mask"cond is being applied.I'm trying to figure out if ComfyUI is using the same implementation as the webui regional prompter and if not, what the differences are.
All reactions