Skip to content

Fix inpainting masked image being broken by side effect#926

Merged
leejet merged 5 commits into
leejet:masterfrom
stduhpf:fix-inpaint
Nov 1, 2025
Merged

Fix inpainting masked image being broken by side effect#926
leejet merged 5 commits into
leejet:masterfrom
stduhpf:fix-inpaint

Conversation

@stduhpf

@stduhpf stduhpf commented Oct 30, 2025

Copy link
Copy Markdown
Contributor
output

Fixes #925

process_vae_input_tensor() modifies the content of the init image in-place, so it shouldn't be called before masking. I somehow missed that when implementing Flex2.

@stduhpf

stduhpf commented Oct 31, 2025

Copy link
Copy Markdown
Contributor Author

Ok Now I tested Flux Fill, SDXL inpainting and Flex.2 and they finally all seem to work at once for inpainting on that lastest commit.

LostRuins added a commit to LostRuins/koboldcpp that referenced this pull request Nov 1, 2025
@leejet leejet merged commit c42826b into leejet:master Nov 1, 2025
8 checks passed
@stduhpf stduhpf deleted the fix-inpaint branch June 14, 2026 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Flux Fill not working anymore

2 participants