Upload 1 files with hf_hub
Browse files- transformer/config.json +72 -0
transformer/config.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "QwenImageTransformer2DModel",
|
| 3 |
+
"_diffusers_version": "0.36.0.dev0",
|
| 4 |
+
"_name_or_path": "/workspace/hf/hub/models--Qwen--Qwen-Image/snapshots/75e0b4be04f60ec59a75f475837eced720f823b6/transformer",
|
| 5 |
+
"attention_head_dim": 128,
|
| 6 |
+
"axes_dims_rope": [
|
| 7 |
+
16,
|
| 8 |
+
56,
|
| 9 |
+
56
|
| 10 |
+
],
|
| 11 |
+
"guidance_embeds": false,
|
| 12 |
+
"in_channels": 64,
|
| 13 |
+
"joint_attention_dim": 3584,
|
| 14 |
+
"num_attention_heads": 24,
|
| 15 |
+
"num_layers": 60,
|
| 16 |
+
"out_channels": 16,
|
| 17 |
+
"patch_size": 2,
|
| 18 |
+
"pooled_projection_dim": 768,
|
| 19 |
+
"quantization_config": {
|
| 20 |
+
"_load_in_4bit": true,
|
| 21 |
+
"_load_in_8bit": false,
|
| 22 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
| 23 |
+
"bnb_4bit_quant_storage": "uint8",
|
| 24 |
+
"bnb_4bit_quant_type": "nf4",
|
| 25 |
+
"bnb_4bit_use_double_quant": false,
|
| 26 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
| 27 |
+
"llm_int8_has_fp16_weight": false,
|
| 28 |
+
"llm_int8_skip_modules": [
|
| 29 |
+
"transformer_blocks.0.img_mod",
|
| 30 |
+
"transformer_blocks.33.img_mod",
|
| 31 |
+
"transformer_blocks.58.attn.to_k",
|
| 32 |
+
"transformer_blocks.59.attn.to_out",
|
| 33 |
+
"time_text_embed",
|
| 34 |
+
"img_in",
|
| 35 |
+
"txt_in",
|
| 36 |
+
"transformer_blocks.0.img_mod.1",
|
| 37 |
+
"transformer_blocks.0.attn.to_q",
|
| 38 |
+
"transformer_blocks.0.attn.to_k",
|
| 39 |
+
"transformer_blocks.0.attn.to_v",
|
| 40 |
+
"transformer_blocks.0.attn.add_k_proj",
|
| 41 |
+
"transformer_blocks.0.attn.add_v_proj",
|
| 42 |
+
"transformer_blocks.0.attn.add_q_proj",
|
| 43 |
+
"transformer_blocks.0.attn.to_out.0",
|
| 44 |
+
"transformer_blocks.0.attn.to_add_out",
|
| 45 |
+
"transformer_blocks.0.img_mlp.net.0.proj",
|
| 46 |
+
"transformer_blocks.0.img_mlp.net.2",
|
| 47 |
+
"transformer_blocks.0.txt_mod.1",
|
| 48 |
+
"transformer_blocks.0.txt_mlp.net.0.proj",
|
| 49 |
+
"transformer_blocks.0.txt_mlp.net.2",
|
| 50 |
+
"transformer_blocks.59.img_mod.1",
|
| 51 |
+
"transformer_blocks.59.attn.to_q",
|
| 52 |
+
"transformer_blocks.59.attn.to_k",
|
| 53 |
+
"transformer_blocks.59.attn.to_v",
|
| 54 |
+
"transformer_blocks.59.attn.add_k_proj",
|
| 55 |
+
"transformer_blocks.59.attn.add_v_proj",
|
| 56 |
+
"transformer_blocks.59.attn.add_q_proj",
|
| 57 |
+
"transformer_blocks.59.attn.to_out.0",
|
| 58 |
+
"transformer_blocks.59.attn.to_add_out",
|
| 59 |
+
"transformer_blocks.59.img_mlp.net.0.proj",
|
| 60 |
+
"transformer_blocks.59.img_mlp.net.2",
|
| 61 |
+
"transformer_blocks.59.txt_mod.1",
|
| 62 |
+
"transformer_blocks.59.txt_mlp.net.0.proj",
|
| 63 |
+
"transformer_blocks.59.txt_mlp.net.2",
|
| 64 |
+
"norm_out.linear",
|
| 65 |
+
"proj_out"
|
| 66 |
+
],
|
| 67 |
+
"llm_int8_threshold": 6.0,
|
| 68 |
+
"load_in_4bit": true,
|
| 69 |
+
"load_in_8bit": false,
|
| 70 |
+
"quant_method": "bitsandbytes"
|
| 71 |
+
}
|
| 72 |
+
}
|