Jingya HF Staff commited on
Commit
f87dbfd
·
1 Parent(s): 0710b14

Upload unet/config.json with huggingface_hub

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