DWD implementation skips VAE decoding in two image models, cutting memory and time
The authors say they are open-sourcing two image models, Qwen-Image-2.1-Turbo and FLUX.2 [klein] 4B, for ComfyUI. The models skip the VAE[1] decode step and are inspired by "Decoding Without a Decoder" (DWD)[2] by Chen et al. Every step before the last runs the stock model unchanged; the last step uses a fine-tuned copy of the transformer's last 4 blocks and a small linear head to write the pixels. With the same prompt and seed, the image is almost the same, with color and tone unchanged and only the finest textures slightly softer. The FLUX version is 1.35x faster end-to-end, and the Qwen version needs about 24 GB less peak memory[3] at 2K.
Repository Qwen-Image-2.1-Turbo huggingface.co
Open-source image generation model from Qwen that skips the VAE decode step, using a fine-tuned final block to produce pixels for ComfyUI.
Sources
-
Reddit
New 'Decoding Without a Decoder' (DWD) implementation for Qwen-Image-2.1-Turbo and FLUX.2 [klein] 4B, 1.35x faster, ~24 GB less peak memory

