Skip to content

Fix #13094: fix: correct Z-Image guidance scale threshold from > 1 to > 0#13927

Draft
Mr-Neutr0n wants to merge 1 commit into
huggingface:mainfrom
Mr-Neutr0n:agent/issue-13094-fix-correct-z-image-gui
Draft

Fix #13094: fix: correct Z-Image guidance scale threshold from > 1 to > 0#13927
Mr-Neutr0n wants to merge 1 commit into
huggingface:mainfrom
Mr-Neutr0n:agent/issue-13094-fix-correct-z-image-gui

Conversation

@Mr-Neutr0n

Copy link
Copy Markdown

Fixes #13094

Updated guidance_scale docstrings in all six Z-Image pipeline files to document Z-Image's non-standard CFG formula (pred = pos + guidance_scale * (pos - neg)) and that guidance is enabled when guidance_scale > 0; the do_classifier_free_guidance property already used the correct > 0 threshold (not > 1) in all pipelines.

Local test infra unavailable in CI sandbox.


This change was prepared with AI assistance under human direction and review.

…from > 1 to >

Signed-off-by: Mr-Neutr0n <64578610+Mr-Neutr0n@users.noreply.github.com>
@github-actions github-actions Bot added pipelines size/S PR with diff < 50 LOC labels Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pipelines size/S PR with diff < 50 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant