vae/config.json
821 B · 41 lines · json Raw
1 {
2 "_class_name": "AutoencoderKLFlux2",
3 "_diffusers_version": "0.37.0.dev0",
4 "_name_or_path": "black-forest-labs/FLUX.2-dev",
5 "act_fn": "silu",
6 "batch_norm_eps": 0.0001,
7 "batch_norm_momentum": 0.1,
8 "block_out_channels": [
9 128,
10 256,
11 512,
12 512
13 ],
14 "down_block_types": [
15 "DownEncoderBlock2D",
16 "DownEncoderBlock2D",
17 "DownEncoderBlock2D",
18 "DownEncoderBlock2D"
19 ],
20 "force_upcast": true,
21 "in_channels": 3,
22 "latent_channels": 32,
23 "layers_per_block": 2,
24 "mid_block_add_attention": true,
25 "norm_num_groups": 32,
26 "out_channels": 3,
27 "patch_size": [
28 2,
29 2
30 ],
31 "sample_size": 1024,
32 "up_block_types": [
33 "UpDecoderBlock2D",
34 "UpDecoderBlock2D",
35 "UpDecoderBlock2D",
36 "UpDecoderBlock2D"
37 ],
38 "use_post_quant_conv": true,
39 "use_quant_conv": true
40 }
41