{ "_class_name": "Flux2Transformer2DModel", "_diffusers_version": "0.38.0.dev0", "_name_or_path": "codeShare/FLUX.2-klein-AIO-SDNQ-4bit-dynamic", "attention_head_dim": 128, "axes_dims_rope": [ 32, 32, 32, 32 ], "eps": 1e-06, "guidance_embeds": false, "in_channels": 128, "joint_attention_dim": 7680, "mlp_ratio": 3.0, "num_attention_heads": 24, "num_layers": 5, "num_single_layers": 20, "out_channels": null, "patch_size": 1, "quantization_config": { "add_skip_keys": false, "dequantize_fp32": true, "dynamic_loss_threshold": 0.01, "group_size": 0, "is_integer": true, "is_training": false, "modules_dtype_dict": { "int5": [ "single_transformer_blocks.19.attn.to_qkv_mlp_proj.weight", "transformer_blocks.0.attn.to_k.weight" ], "uint4": [ "single_transformer_blocks.0.attn.to_out.weight", "single_transformer_blocks.0.attn.to_qkv_mlp_proj.weight", "single_transformer_blocks.1.attn.to_out.weight", "single_transformer_blocks.1.attn.to_qkv_mlp_proj.weight", "single_transformer_blocks.10.attn.to_out.weight", "single_transformer_blocks.10.attn.to_qkv_mlp_proj.weight", "single_transformer_blocks.11.attn.to_out.weight", "single_transformer_blocks.11.attn.to_qkv_mlp_proj.weight", "single_transformer_blocks.12.attn.to_out.weight", "single_transformer_blocks.12.attn.to_qkv_mlp_proj.weight", "single_transformer_blocks.13.attn.to_out.weight", "single_transformer_blocks.13.attn.to_qkv_mlp_proj.weight", "single_transformer_blocks.14.attn.to_out.weight", "single_transformer_blocks.14.attn.to_qkv_mlp_proj.weight", "single_transformer_blocks.15.attn.to_out.weight", "single_transformer_blocks.15.attn.to_qkv_mlp_proj.weight", "single_transformer_blocks.16.attn.to_out.weight", "single_transformer_blocks.16.attn.to_qkv_mlp_proj.weight", "single_transformer_blocks.17.attn.to_out.weight", "single_transformer_blocks.17.attn.to_qkv_mlp_proj.weight", "single_transformer_blocks.18.attn.to_out.weight", "single_transformer_blocks.18.attn.to_qkv_mlp_proj.weight", "single_transformer_blocks.19.attn.to_out.weight", "single_transformer_blocks.2.attn.to_out.weight", "single_transformer_blocks.2.attn.to_qkv_mlp_proj.weight", "single_transformer_blocks.3.attn.to_out.weight", "single_transformer_blocks.3.attn.to_qkv_mlp_proj.weight", "single_transformer_blocks.4.attn.to_out.weight", "single_transformer_blocks.4.attn.to_qkv_mlp_proj.weight", "single_transformer_blocks.5.attn.to_out.weight", "single_transformer_blocks.5.attn.to_qkv_mlp_proj.weight", "single_transformer_blocks.6.attn.to_out.weight", "single_transformer_blocks.6.attn.to_qkv_mlp_proj.weight", "single_transformer_blocks.7.attn.to_out.weight", "single_transformer_blocks.7.attn.to_qkv_mlp_proj.weight", "single_transformer_blocks.8.attn.to_out.weight", "single_transformer_blocks.8.attn.to_qkv_mlp_proj.weight", "single_transformer_blocks.9.attn.to_out.weight", "single_transformer_blocks.9.attn.to_qkv_mlp_proj.weight", "transformer_blocks.0.attn.add_k_proj.weight", "transformer_blocks.0.attn.add_q_proj.weight", "transformer_blocks.0.attn.add_v_proj.weight", "transformer_blocks.0.attn.to_add_out.weight", "transformer_blocks.0.attn.to_out.0.weight", "transformer_blocks.0.attn.to_q.weight", "transformer_blocks.0.attn.to_v.weight", "transformer_blocks.0.ff.linear_in.weight", "transformer_blocks.0.ff.linear_out.weight", "transformer_blocks.0.ff_context.linear_in.weight", "transformer_blocks.0.ff_context.linear_out.weight", "transformer_blocks.1.attn.add_k_proj.weight", "transformer_blocks.1.attn.add_q_proj.weight", "transformer_blocks.1.attn.add_v_proj.weight", "transformer_blocks.1.attn.to_add_out.weight", "transformer_blocks.1.attn.to_k.weight", "transformer_blocks.1.attn.to_out.0.weight", "transformer_blocks.1.attn.to_q.weight", "transformer_blocks.1.attn.to_v.weight", "transformer_blocks.1.ff.linear_in.weight", "transformer_blocks.1.ff.linear_out.weight", "transformer_blocks.1.ff_context.linear_in.weight", "transformer_blocks.1.ff_context.linear_out.weight", "transformer_blocks.2.attn.add_k_proj.weight", "transformer_blocks.2.attn.add_q_proj.weight", "transformer_blocks.2.attn.add_v_proj.weight", "transformer_blocks.2.attn.to_add_out.weight", "transformer_blocks.2.attn.to_k.weight", "transformer_blocks.2.attn.to_out.0.weight", "transformer_blocks.2.attn.to_q.weight", "transformer_blocks.2.attn.to_v.weight", "transformer_blocks.2.ff.linear_in.weight", "transformer_blocks.2.ff.linear_out.weight", "transformer_blocks.2.ff_context.linear_in.weight", "transformer_blocks.2.ff_context.linear_out.weight", "transformer_blocks.3.attn.add_k_proj.weight", "transformer_blocks.3.attn.add_q_proj.weight", "transformer_blocks.3.attn.add_v_proj.weight", "transformer_blocks.3.attn.to_add_out.weight", "transformer_blocks.3.attn.to_k.weight", "transformer_blocks.3.attn.to_out.0.weight", "transformer_blocks.3.attn.to_q.weight", "transformer_blocks.3.attn.to_v.weight", "transformer_blocks.3.ff.linear_in.weight", "transformer_blocks.3.ff.linear_out.weight", "transformer_blocks.3.ff_context.linear_in.weight", "transformer_blocks.3.ff_context.linear_out.weight", "transformer_blocks.4.attn.add_k_proj.weight", "transformer_blocks.4.attn.add_q_proj.weight", "transformer_blocks.4.attn.add_v_proj.weight", "transformer_blocks.4.attn.to_add_out.weight", "transformer_blocks.4.attn.to_k.weight", "transformer_blocks.4.attn.to_out.0.weight", "transformer_blocks.4.attn.to_q.weight", "transformer_blocks.4.attn.to_v.weight", "transformer_blocks.4.ff.linear_in.weight", "transformer_blocks.4.ff.linear_out.weight", "transformer_blocks.4.ff_context.linear_in.weight", "transformer_blocks.4.ff_context.linear_out.weight" ] }, "modules_quant_config": {}, "modules_to_not_convert": [ "time_guidance_embed", "norm_out", "context_embedder", "double_stream_modulation_txt", "x_embedder", "double_stream_modulation_img", ".proj_out", "single_stream_modulation" ], "non_blocking": false, "quant_conv": false, "quant_embedding": false, "quant_method": "sdnq", "quantization_device": null, "quantized_matmul_dtype": null, "return_device": null, "sdnq_version": "0.1.7", "svd_rank": 32, "svd_steps": 8, "use_dynamic_quantization": true, "use_grad_ckpt": true, "use_quantized_matmul": false, "use_quantized_matmul_conv": false, "use_static_quantization": true, "use_stochastic_rounding": false, "use_svd": false, "weights_dtype": "uint4" }, "rope_theta": 2000, "timestep_guidance_channels": 256 }