hariby commited on
Commit
d793e15
·
verified ·
1 Parent(s): 6c7207c

Upload unet/config.json with huggingface_hub

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