Which architecture FLUX.2 follows
FLUX.2 follows the same general multimodel diffusion transformer (MM-DiT) + parallel DiT architecture as Flux.1. [1]
How MM-DiT blocks process inputs
As a refresher, MM-DiT blocks first process the image latents and conditioning text in separate streams, only joining the two together for the attention operation, and are thus referred to as “double-stream” blocks. [2]
What the parallel blocks do
The parallel blocks then operate on the concatenated image and text streams and can be regarded as “single-stream” blocks. [3]
Sources
- The Hugging Face source says: FLUX.2 follows the same general multimodel diffusion transformer (MM-DiT) + parallel DiT architecture as Flux.1. Diffusers welcomes FLUX-2
- The Hugging Face source says: As a refresher, MM-DiT blocks first process the image latents and conditioning text in separate streams, only joining the two together for the attention operation, and are thus referred to as “double-stream” blocks. Diffusers welcomes FLUX-2
- The Hugging Face source says: The parallel blocks then operate on the concatenated image and text streams and can be regarded as “single-stream” blocks. Diffusers welcomes FLUX-2