FLUX.2 Dev

开源
开放权重

参数

15B

模态

Image

辅助参数

80M

架构

Diffusion Transformer

许可证

FLUX.2-dev Non-Commercial License

发布日期

15 Jan 2025

API 价格 (每 1M)

仅支持自建托管

硬件与系统要求

精度

工作负载显存: 10.80 GB

INT4 · 1024x1024

DiT 骨干权重: 6.98 GB

VAE 解码工作区: 1.31 GB

运行时与计算图: 2.50 GB

最小所需硬件

1x NVIDIA L4 24GB

10.8 / 21.6 GB

1x RTX 3060 12GB

10.8 / 11.2 GB

Apple M4 24GB

10.8 / 18.0 GB

确定特定工作负载的硬件需求:

运行时要求

权重格式

FP16

CUDA

>= 11.8

PyTorch

>= 2.1

Transformers

>= 4.40.1

微架构精度注意力算子

Blackwell, Hopper

原生 FP16

FlashAttention-3

Ada Lovelace, Ampere

原生 FP16

FlashAttention-2

架构图

Noisy Image LatentsLatent Image Space (VAE)Patch Embedding2D Latent PatchifyHidden: 15.4k · Text: 80M enc · Timestep (t)x 56 DiT blocksAdaLN ModulationNorm · Timestep scale/shiftJoint / Cross-Attention48 headsHead dim: 128+AdaLN ModulationNorm · Timestep scale/shiftFeed-Forward (MLP)Activation+Final Norm (AdaLN Scale)Predicted Noise / LatentsDenoised Latents to VAE

关于 FLUX.2 Dev

FLUX.2 Dev is Black Forest Labs' next-generation 15B parameter diffusion transformer, extending dual attention mechanisms with deeper joint representations for photorealism and typographic accuracy.

Specifications

注意力

注意力头

48

注意力头维度

128

维度

基准精度

FP16

辅助参数

80M

隐藏维度大小

15,360

层数

56

关于 Flux 2


其他 Flux 2 模型