Skip to content

refactor: img-cond->img_uncond#1594

Open
stduhpf wants to merge 1 commit into
leejet:masterfrom
stduhpf:2-cond
Open

refactor: img-cond->img_uncond#1594
stduhpf wants to merge 1 commit into
leejet:masterfrom
stduhpf:2-cond

Conversation

@stduhpf
Copy link
Copy Markdown
Contributor

@stduhpf stduhpf commented Jun 1, 2026

Summary

Re-implement some changes that were dropped from #929

Optimizes inference speed with --img-cfg-scale 1

Before this change the conditionning were:

  • cond: positive prompt, ref images
  • uncond: negative prompt, no ref image
  • img_cond: negative prompt, ref images

With this PR, they become:

  • cond: positive prompt, ref images
  • uncond: negative prompt, ref images
  • img_uncond: negative prompt, no ref image

In a way it's just swapping the roles of uncond and img_(un)cond

Related Issue / Discussion

N/A

Additional Information

Checklist

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.

1 participant