Comfy-Org / Comfy-Org/ComfyUI

InpaintModelConditioning not working during inpaint - Output reverts to original image in final steps

Open
#11,395 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

In ComfyUI, inpaint model conditioning does not work correctly when used with Crop & Stitch.

The KSampler applies the inpaint effect during early steps, but in later steps the result reverts back to the original image, producing an almost unchanged final output.

This happens across multiple workflows that was working fine before with sane setupo(Qwen / WAN).
![image](https://github.com/user-attachments/assets/d70d832e-6663-44f1-af9e-aa824777f63f)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported workflow with Crop & Stitch, InpaintModelConditioning, and KSampler, comparing the inpaint effect during early and later sampling steps. Done means the final output preserves the inpainted result instead of reverting to the original image.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.