Upload unet/config.json with huggingface_hub
Browse files- unet/config.json +98 -0
unet/config.json
ADDED
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_commit_hash": null,
|
4 |
+
"_diffusers_version": "0.23.0",
|
5 |
+
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--SimianLuo--LCM_Dreamshaper_v7/snapshots/4721097975058205c4edcdece2cc574b7dd7bc04/unet",
|
6 |
+
"_use_default_values": [
|
7 |
+
"reverse_transformer_layers_per_block"
|
8 |
+
],
|
9 |
+
"act_fn": "silu",
|
10 |
+
"addition_embed_type": null,
|
11 |
+
"addition_embed_type_num_heads": 64,
|
12 |
+
"addition_time_embed_dim": null,
|
13 |
+
"attention_head_dim": 8,
|
14 |
+
"attention_type": "default",
|
15 |
+
"block_out_channels": [
|
16 |
+
320,
|
17 |
+
640,
|
18 |
+
1280,
|
19 |
+
1280
|
20 |
+
],
|
21 |
+
"center_input_sample": false,
|
22 |
+
"class_embed_type": null,
|
23 |
+
"class_embeddings_concat": false,
|
24 |
+
"conv_in_kernel": 3,
|
25 |
+
"conv_out_kernel": 3,
|
26 |
+
"cross_attention_dim": 768,
|
27 |
+
"cross_attention_norm": null,
|
28 |
+
"down_block_types": [
|
29 |
+
"CrossAttnDownBlock2D",
|
30 |
+
"CrossAttnDownBlock2D",
|
31 |
+
"CrossAttnDownBlock2D",
|
32 |
+
"DownBlock2D"
|
33 |
+
],
|
34 |
+
"downsample_padding": 1,
|
35 |
+
"dropout": 0.0,
|
36 |
+
"dual_cross_attention": false,
|
37 |
+
"encoder_hid_dim": null,
|
38 |
+
"encoder_hid_dim_type": null,
|
39 |
+
"flip_sin_to_cos": true,
|
40 |
+
"freq_shift": 0,
|
41 |
+
"in_channels": 4,
|
42 |
+
"layers_per_block": 2,
|
43 |
+
"mid_block_only_cross_attention": null,
|
44 |
+
"mid_block_scale_factor": 1,
|
45 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
46 |
+
"model_type": "unet",
|
47 |
+
"neuron": {
|
48 |
+
"auto_cast": "matmul",
|
49 |
+
"auto_cast_type": "bf16",
|
50 |
+
"compiler_type": "neuronx-cc",
|
51 |
+
"compiler_version": "2.11.0.34+c5231f848",
|
52 |
+
"disable_fallback": false,
|
53 |
+
"disable_fast_relayout": false,
|
54 |
+
"dynamic_batch_size": false,
|
55 |
+
"input_names": [
|
56 |
+
"sample",
|
57 |
+
"timestep",
|
58 |
+
"encoder_hidden_states",
|
59 |
+
"timestep_cond"
|
60 |
+
],
|
61 |
+
"output_names": [
|
62 |
+
"sample"
|
63 |
+
],
|
64 |
+
"static_batch_size": 1,
|
65 |
+
"static_height": 96,
|
66 |
+
"static_num_channels": 4,
|
67 |
+
"static_sequence_length": 77,
|
68 |
+
"static_width": 96
|
69 |
+
},
|
70 |
+
"norm_eps": 1e-05,
|
71 |
+
"norm_num_groups": 32,
|
72 |
+
"num_attention_heads": null,
|
73 |
+
"num_class_embeds": null,
|
74 |
+
"only_cross_attention": false,
|
75 |
+
"out_channels": 4,
|
76 |
+
"projection_class_embeddings_input_dim": null,
|
77 |
+
"resnet_out_scale_factor": 1.0,
|
78 |
+
"resnet_skip_time_act": false,
|
79 |
+
"resnet_time_scale_shift": "default",
|
80 |
+
"reverse_transformer_layers_per_block": null,
|
81 |
+
"sample_size": 96,
|
82 |
+
"task": "semantic-segmentation",
|
83 |
+
"time_cond_proj_dim": 256,
|
84 |
+
"time_embedding_act_fn": null,
|
85 |
+
"time_embedding_dim": null,
|
86 |
+
"time_embedding_type": "positional",
|
87 |
+
"timestep_post_act": null,
|
88 |
+
"transformer_layers_per_block": 1,
|
89 |
+
"transformers_version": null,
|
90 |
+
"up_block_types": [
|
91 |
+
"UpBlock2D",
|
92 |
+
"CrossAttnUpBlock2D",
|
93 |
+
"CrossAttnUpBlock2D",
|
94 |
+
"CrossAttnUpBlock2D"
|
95 |
+
],
|
96 |
+
"upcast_attention": null,
|
97 |
+
"use_linear_projection": false
|
98 |
+
}
|