Skip to content

feat: add latent2rgba preview for Qwen-Image 2.1 - #2032

Merged
leejet merged 5 commits into
leejet:masterfrom
stduhpf:qwen-preview
Sep 23, 2026
Merged

leejet merged 5 commits into
leejet:masterfrom
stduhpf:qwen-preview

Conversation

@stduhpf

@stduhpf stduhpf commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Refactored existing preview matrices to bake in the [-1,1] -> [0,1] rescaling. (mathematically equivalent)
  • Trained a projection for the 64 channels Qwen-Image 2.1 VAE
  • added support for alpha channel in for the latent2rgb previews

Related Issue / Discussion

Additional Information

I'm not entirely sure if having transparency in the previews make sense, if not, we can revert the last commit from this PR, to go back to the fully opaque RGB output.

Checklist

@leejet
leejet merged commit 241518b into leejet:master Sep 23, 2026
@leejet

leejet commented Sep 23, 2026

Copy link
Copy Markdown
Owner

Thank you for your contribution.

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.

2 participants