Upload 2 files
Browse files
transformer/config.json
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "HiDreamImageTransformer2DModel",
|
3 |
+
"_diffusers_version": "0.32.2",
|
4 |
+
"_name_or_path": "HiDream-ai/HiDream-I1-Fast",
|
5 |
+
"attention_head_dim": 128,
|
6 |
+
"axes_dims_rope": [
|
7 |
+
64,
|
8 |
+
32,
|
9 |
+
32
|
10 |
+
],
|
11 |
+
"caption_channels": [
|
12 |
+
4096,
|
13 |
+
4096
|
14 |
+
],
|
15 |
+
"in_channels": 16,
|
16 |
+
"llama_layers": [
|
17 |
+
0,
|
18 |
+
1,
|
19 |
+
2,
|
20 |
+
3,
|
21 |
+
4,
|
22 |
+
5,
|
23 |
+
6,
|
24 |
+
7,
|
25 |
+
8,
|
26 |
+
9,
|
27 |
+
10,
|
28 |
+
11,
|
29 |
+
12,
|
30 |
+
13,
|
31 |
+
14,
|
32 |
+
15,
|
33 |
+
16,
|
34 |
+
17,
|
35 |
+
18,
|
36 |
+
19,
|
37 |
+
20,
|
38 |
+
21,
|
39 |
+
22,
|
40 |
+
23,
|
41 |
+
24,
|
42 |
+
25,
|
43 |
+
26,
|
44 |
+
27,
|
45 |
+
28,
|
46 |
+
29,
|
47 |
+
30,
|
48 |
+
31,
|
49 |
+
31,
|
50 |
+
31,
|
51 |
+
31,
|
52 |
+
31,
|
53 |
+
31,
|
54 |
+
31,
|
55 |
+
31,
|
56 |
+
31,
|
57 |
+
31,
|
58 |
+
31,
|
59 |
+
31,
|
60 |
+
31,
|
61 |
+
31,
|
62 |
+
31,
|
63 |
+
31,
|
64 |
+
31
|
65 |
+
],
|
66 |
+
"max_resolution": [
|
67 |
+
128,
|
68 |
+
128
|
69 |
+
],
|
70 |
+
"num_activated_experts": 2,
|
71 |
+
"num_attention_heads": 20,
|
72 |
+
"num_layers": 16,
|
73 |
+
"num_routed_experts": 4,
|
74 |
+
"num_single_layers": 32,
|
75 |
+
"out_channels": 16,
|
76 |
+
"patch_size": 2,
|
77 |
+
"quantization_config": {
|
78 |
+
"_load_in_4bit": true,
|
79 |
+
"_load_in_8bit": false,
|
80 |
+
"bnb_4bit_compute_dtype": "float16",
|
81 |
+
"bnb_4bit_quant_storage": "uint8",
|
82 |
+
"bnb_4bit_quant_type": "fp4",
|
83 |
+
"bnb_4bit_use_double_quant": false,
|
84 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
85 |
+
"llm_int8_has_fp16_weight": false,
|
86 |
+
"llm_int8_skip_modules": null,
|
87 |
+
"llm_int8_threshold": 6.0,
|
88 |
+
"load_in_4bit": true,
|
89 |
+
"load_in_8bit": false,
|
90 |
+
"quant_method": "bitsandbytes"
|
91 |
+
},
|
92 |
+
"text_emb_dim": 2048
|
93 |
+
}
|
transformer/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a429bdfd2a8ef8c2ef53a60abbc01bd28fd2208f591d0d3a5d332e144a23cd2b
|
3 |
+
size 9626369259
|