InpaintModelConditioning not working during inpaint - Output reverts to original image in final steps
- 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).

Contributor 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