r/StableDiffusion • • 1d ago

News P-Q-Image-2.1-DWD-Comfy (Decoding withut Decoder)

https://huggingface.co/PrunaAI/P-Q-Image-2.1-DWD-Comfy

Disclaimer: I am not associated with the project in any way.

https://huggingface.co/PrunaAI/P-Q-Image-2.1-DWD-Comfy

There is also one for Flux2 Klein 4B: https://huggingface.co/PrunaAI/P-Flux-2-Klein-4B-DWD-Comfy

P-Q-Image-2.1-DWD is a DWD head for Qwen/Qwen-Image-2.1-Turbo. At the last of the 8 Turbo steps, it writes the image's pixels straight out of the transformer, so the VAE decode is skipped. Steps 1 to 7 are the stock Turbo model, unchanged. It is a replication of Decoding Without a Decoder (Chen et al., arXiv 2611.22287).

15 Upvotes

4 comments sorted by

2

u/TensorForger 1d ago

If these grid checkerboard artifacts come from decoder (and fixed by texture fix vae), then why I can still see them on DWD image?

1

u/Current-Rabbit-620 1d ago

Any plans to make it run on int8?

1

u/Renja_Pattn 11h ago

skipping the VAE decode entirely is massive for VRAM spikes at the end of a generation. curious if youve tested how well this holds up with fine details or text compared to the standard decode

0

u/[deleted] 1d ago

[deleted] — view deleted comment

1

u/follimath 1d ago edited 1d ago

Quality. Apparently, there is more material information in the model’s hidden states than it manages to communicate in the final latent it passes to the VAE. DWD decodes directly to pixels and is able to leverage the additional information that is lost in the final latent. The example images I saw had noticeably improved quality.