dminhk commited on
Commit
19a9d28
1 Parent(s): 6108aca

Upload unet/config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. unet/config.json +100 -0
unet/config.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.20.0",
5
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/f898a3e026e802f68796b95e9702464bac78d76f/unet",
6
+ "_use_default_values": [
7
+ "attention_type"
8
+ ],
9
+ "act_fn": "silu",
10
+ "addition_embed_type": "text_time",
11
+ "addition_embed_type_num_heads": 64,
12
+ "addition_time_embed_dim": 256,
13
+ "attention_head_dim": [
14
+ 5,
15
+ 10,
16
+ 20
17
+ ],
18
+ "attention_type": "default",
19
+ "block_out_channels": [
20
+ 320,
21
+ 640,
22
+ 1280
23
+ ],
24
+ "center_input_sample": false,
25
+ "class_embed_type": null,
26
+ "class_embeddings_concat": false,
27
+ "conv_in_kernel": 3,
28
+ "conv_out_kernel": 3,
29
+ "cross_attention_dim": 2048,
30
+ "cross_attention_norm": null,
31
+ "down_block_types": [
32
+ "DownBlock2D",
33
+ "CrossAttnDownBlock2D",
34
+ "CrossAttnDownBlock2D"
35
+ ],
36
+ "downsample_padding": 1,
37
+ "dual_cross_attention": false,
38
+ "encoder_hid_dim": null,
39
+ "encoder_hid_dim_type": null,
40
+ "flip_sin_to_cos": true,
41
+ "freq_shift": 0,
42
+ "in_channels": 4,
43
+ "layers_per_block": 2,
44
+ "mid_block_only_cross_attention": null,
45
+ "mid_block_scale_factor": 1,
46
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
47
+ "model_type": "unet",
48
+ "neuron": {
49
+ "auto_cast": "matmul",
50
+ "auto_cast_type": "bf16",
51
+ "compiler_type": "neuronx-cc",
52
+ "compiler_version": "2.9.0.40+07376825f",
53
+ "dynamic_batch_size": false,
54
+ "input_names": [
55
+ "sample",
56
+ "timestep",
57
+ "encoder_hidden_states",
58
+ "text_embeds",
59
+ "time_ids"
60
+ ],
61
+ "output_names": [
62
+ "sample"
63
+ ],
64
+ "static_batch_size": 1,
65
+ "static_height": 128,
66
+ "static_num_channels": 4,
67
+ "static_sequence_length": 77,
68
+ "static_width": 128
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": 2816,
77
+ "resnet_out_scale_factor": 1.0,
78
+ "resnet_skip_time_act": false,
79
+ "resnet_time_scale_shift": "default",
80
+ "sample_size": 128,
81
+ "task": "semantic-segmentation",
82
+ "time_cond_proj_dim": null,
83
+ "time_embedding_act_fn": null,
84
+ "time_embedding_dim": null,
85
+ "time_embedding_type": "positional",
86
+ "timestep_post_act": null,
87
+ "transformer_layers_per_block": [
88
+ 1,
89
+ 2,
90
+ 10
91
+ ],
92
+ "transformers_version": null,
93
+ "up_block_types": [
94
+ "CrossAttnUpBlock2D",
95
+ "CrossAttnUpBlock2D",
96
+ "UpBlock2D"
97
+ ],
98
+ "upcast_attention": null,
99
+ "use_linear_projection": true
100
+ }