Flux Dev8
Author: khadijaalfaqeer-glitchCreated Nov 30, 2025Updated Jun 20, 2026
I'm having an issue using FLUX.1-dev8 in ComfyUI.
Whenever I run a simple txt2img or img2img workflow, I get conditioning shape mismatch errors during sampling.
Errors:
- "size mismatch for shared.weight (256384x4096 → 32128x4096)"
- "mat1 and mat2 shapes cannot be multiplied (154x2048 and 4096x3072)"
It happens whenever any non-FLUX text encoder is used (CLIPTextEncode, DualCLIPLoader, etc.). The model only works if all conditioning nodes are FLUX-native, and even then the workflow is very sensitive.
Could you clarify:
- Which text encoder nodes are officially supported for FLUX.1-dev8?
- Is there a recommended minimal workflow?
- Can ComfyUI show a warning when incompatible encoders are used?
Thank you!
Source: black-forest-labs/flux