unrestricted.image
FLUX.2ComfyUISetup

FLUX.2 Local Setup: Running FLUX.2 in ComfyUI

How to run FLUX.2 locally: choosing a variant, downloading the transformer, text encoder and VAE, ComfyUI workflows, quantisation and VRAM tips.

By the Unrestricted Image Generator AI editorial team· Updated · 3 min read

FLUX.2 raised the bar for open image generation, especially for multi-reference work and editing. Running it locally takes a little planning. Compare it first in FLUX.2 vs FLUX.1.

1. Choose a variant

FLUX.2 comes in several variants: the large dev model, smaller variants for lighter hardware, and API-only tiers. Check sizes and licences on Black Forest Labs’ model cards.

2. Download the parts

  • Diffusion model (full, FP8 or GGUF).
  • Text encoder: FLUX.2 uses a large language-model text encoder; quantised versions save memory.
  • VAE.

Place them in ComfyUI’s diffusion_models, text_encoders and vae folders.

3. Load a workflow

ComfyUI’s built-in templates and official examples include FLUX.2 workflows. Use one as a starting point rather than building from scratch.

4. Memory strategy

  • FP8 or GGUF diffusion weights.
  • Quantised text encoder, offloaded after encoding.
  • Tiled VAE decode for large images.
  • 64 GB of system RAM helps heavily with offloading.

Estimate with the GPU VRAM checker and read GGUF and FP8 image models.

5. Multi-reference generation

Feed several reference images for consistent characters, products or styles. See reference images and IP-Adapter.

6. Settings

Start from the workflow’s defaults for sampler, steps and guidance, then adjust. Prompts can be long and descriptive.

Troubleshooting

Out-of-memory errors: lower quantisation level, smaller size, or enable more offloading. Very slow generation: check that weights are not spilling into shared GPU memory.

Common questions

What GPU do I need for FLUX.2 dev?

24 GB or more is comfortable with FP8 or GGUF weights and offloading; smaller cards need aggressive quantisation and are slow. Smaller FLUX.2 variants fit mid-range GPUs.

Where do the FLUX.2 files go in ComfyUI?

The diffusion model in models/diffusion_models, the text encoder in models/text_encoders and the VAE in models/vae.

Can I use FLUX.2 commercially?

It depends on the variant. Some are permissively licensed and others are non-commercial. Read each model card.

Related reading

Browse more: all guides · comparisons · glossary · free tools

Unlock the whole studio.

Open the unrestricted AI image generator and take every setting into your own hands.