raphael-gl HF staff commited on
Commit
b09acd1
1 Parent(s): 2e755a7

Upload unet/config.json with huggingface_hub

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