Skip to content

fix(ui): use proper FLUX2 latent RGB factors for preview images#8802

Merged
blessedcoolant merged 2 commits intoinvoke-ai:mainfrom
Pfannkuchensack:fix/flux2-latent-preview-factors
Jan 29, 2026
Merged

fix(ui): use proper FLUX2 latent RGB factors for preview images#8802
blessedcoolant merged 2 commits intoinvoke-ai:mainfrom
Pfannkuchensack:fix/flux2-latent-preview-factors

Conversation

@Pfannkuchensack
Copy link
Copy Markdown
Collaborator

Summary

Replace placeholder zeros with actual 32-channel factors from ComfyUI and add latent_rgb_bias support for improved FLUX2 denoising previews.

Related Issues / Discussions

https://github.com/Comfy-Org/ComfyUI/blob/main/comfy/latent_formats.py
https://github.com/user-attachments/assets/dfbc3d81-b855-46b8-8217-50b140f13520

QA Instructions

  1. Generate an image with a FLUX2 model (e.g. FLUX.2 Kontext)
  2. Observe the denoising preview during generation
  3. Preview should now show more accurate colors instead of washed-out/incorrect colors from the previous placeholder factors

Merge Plan

None required - isolated change to preview factors only.

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • ❗Changes to a redux slice have a corresponding migration
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

Replace placeholder zeros with actual 32-channel factors from ComfyUI
and add latent_rgb_bias support for improved FLUX2 denoising previews.
@github-actions github-actions bot added the python PRs that change python files label Jan 29, 2026
@blessedcoolant blessedcoolant merged commit 68089ca into invoke-ai:main Jan 29, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python PRs that change python files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants