pocis/Qwen-Image-2.1-PixelHead

Individual developer Wither033 (pocis) has trained a direct pixel decoding head for Qwen-Image 2.1 (uploaded on 11/22, v0.3 released on 24): it bypasses the official VAE decoder, reading RGB / RGBA images directly from features and latent variables captured during the denoising process. The approach draws inspiration from Apple and Cornell's FastFrames paper (arXiv 2611.23226) and sorryhyun's Anima pixel decoder, with sources clearly cited in the model card. Version v0.3 has been modified to predict the four subbands of a 2D Haar wavelet for analytical reconstruction, and includes adversarial training applied only to high-frequency components.

Individual developer Wither033 (pocis) has trained a direct pixel decoding head for Qwen-Image 2.1 (uploaded on 11/22, v0.3 released on 24): it bypasses the official VAE decoder, reading RGB / RGBA images directly from features and latent variables captured during the denoising process. The approach draws inspiration from Apple and Cornell's FastFrames paper (arXiv 2611.23226) and sorryhyun's Anima pixel decoder, with sources clearly cited in the model card. Version v0.3 has been modified to predict the four subbands of a 2D Haar wavelet for analytical reconstruction, and includes adversarial training applied only to high-frequency components.

Why it matters The author claims decoding speed is significantly faster than the official VAE, with weights totaling only tens of MBs and minimal difference from original outputs, making it suitable for bulk image generation and quick previews

Rising score 30 · Likes 32 · Downloads 0

Reasons

  • The author claims that on an NVIDIA L4, decoding 1024×1024 images takes 37.51 milliseconds with v0.3, compared to 671.57 milliseconds for the official VAE (644.2 MiB), making it 17.9 times faster; the fast version v0.1 takes 7.77 milliseconds
  • Using the official VAE output as a reference, v0.3 achieves an overall PSNR of 33.81 dB and LPIPS-VGG of 0.0736; for close-up portraits, PSNR is 39.17 dB; runtime memory usage decreased from 904 MiB in v0.2 to 504 MiB
  • BF16 weights are 79.3 MiB; the node is available on Comfy Registry with workflows in both Chinese and English; the same author also created a Krea-2 version and a MiniMax-H3 video preview version; MIT license

Usage

  • Update the ComfyUI-QwenImage21-PixelHead node to v1.3.0 or higher (via git pull or ComfyUI Manager), and place the weights qwen_image_2.1_pixel_head_v03_bf16.safetensors in ComfyUI/models/pixel_heads/ or models/vae/
  • Load the VAE-free workflow from the repository's workflows folder (default is v0.3); for bulk generation, you can switch to the 48.8 MiB fast version v0.1, or the x2 version which includes a one-step 2x upscaling

Risks

  • Metrics are self-tested by the author using official VAE output as a reference, measuring similarity; PSNR for images with fine hatching is only 27.41 dB
  • This is an individual project requiring third-party nodes; while the weights are MIT licensed, the accompanying Qwen-Image 2.1 remains subject to its own license terms; this entry has not been tested by us

Open

Hugging Face Trending

Explore the latest AI Radar updates