Upload folder using huggingface_hub
Browse files
transformer/config.json
CHANGED
@@ -1,45 +1,20 @@
|
|
1 |
{
|
2 |
"_class_name": "SanaTransformer2DModel",
|
3 |
"_diffusers_version": "0.32.0.dev0",
|
4 |
-
"activation_fn": [
|
5 |
-
"silu",
|
6 |
-
"silu",
|
7 |
-
null
|
8 |
-
],
|
9 |
"attention_bias": false,
|
10 |
"attention_head_dim": 32,
|
11 |
-
"attention_type": "default",
|
12 |
"caption_channels": 2304,
|
13 |
-
"caption_norm_scale_factor": 0.1,
|
14 |
"cross_attention_dim": 2240,
|
15 |
"cross_attention_head_dim": 112,
|
16 |
"dropout": 0.0,
|
17 |
-
"expand_ratio": 2.5,
|
18 |
-
"ff_bias": [
|
19 |
-
true,
|
20 |
-
true,
|
21 |
-
false
|
22 |
-
],
|
23 |
-
"ff_norm": [
|
24 |
-
null,
|
25 |
-
null,
|
26 |
-
null
|
27 |
-
],
|
28 |
"in_channels": 32,
|
29 |
-
"
|
30 |
"norm_elementwise_affine": false,
|
31 |
"norm_eps": 1e-06,
|
32 |
-
"norm_num_groups": 32,
|
33 |
-
"norm_type": "ada_norm_single",
|
34 |
"num_attention_heads": 70,
|
35 |
"num_cross_attention_heads": 20,
|
36 |
-
"num_embeds_ada_norm": 1000,
|
37 |
"num_layers": 20,
|
38 |
"out_channels": 32,
|
39 |
"patch_size": 1,
|
40 |
-
"sample_size": 32
|
41 |
-
"upcast_attention": false,
|
42 |
-
"use_additional_conditions": false,
|
43 |
-
"use_caption_norm": true,
|
44 |
-
"use_pe": false
|
45 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "SanaTransformer2DModel",
|
3 |
"_diffusers_version": "0.32.0.dev0",
|
|
|
|
|
|
|
|
|
|
|
4 |
"attention_bias": false,
|
5 |
"attention_head_dim": 32,
|
|
|
6 |
"caption_channels": 2304,
|
|
|
7 |
"cross_attention_dim": 2240,
|
8 |
"cross_attention_head_dim": 112,
|
9 |
"dropout": 0.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
"in_channels": 32,
|
11 |
+
"mlp_ratio": 2.5,
|
12 |
"norm_elementwise_affine": false,
|
13 |
"norm_eps": 1e-06,
|
|
|
|
|
14 |
"num_attention_heads": 70,
|
15 |
"num_cross_attention_heads": 20,
|
|
|
16 |
"num_layers": 20,
|
17 |
"out_channels": 32,
|
18 |
"patch_size": 1,
|
19 |
+
"sample_size": 32
|
|
|
|
|
|
|
|
|
20 |
}
|
transformer/diffusion_pytorch_model.bf16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:66545515056a64ad8376fd87f5b2940ec7772a8cabb9ad575a13462d939eaa39
|
3 |
+
size 3208971544
|