Skip to content
IJK

FLUX.2 MM-DiT: Double-Stream and Single-Stream Blocks

By IJK ·

What a Hugging Face post says architecture FLUX.2 follows, how MM-DiT blocks process image latents and text and what the parallel blocks do.

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]

includesthenMM-DiT blocksimage latents and text in separate streams, joine...Parallel blocksoperate on the concatenated image and text streamsSame general architecture as Flux.1MM-DiT plus parallel DiT
How do the blocks handle image and text?

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

  1. 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
  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
  3. 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

Editorial (AI-assisted; automatically checked, not human-reviewed). Each statement is linked to its source; check the source before relying on a detail.

  • flux
  • diffusion transformer
  • architecture
  • hugging face