syedinamulhaq commited on
Commit
c31ef2d
·
verified ·
1 Parent(s): dc9e467

Upload unet/config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. unet/config.json +104 -0
unet/config.json ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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--sd-community--sdxl-flash/snapshots/e34c99ffd7d7e8da501fef94e7119f65dd8ee542/unet",
6
+ "act_fn": "silu",
7
+ "addition_embed_type": "text_time",
8
+ "addition_embed_type_num_heads": 64,
9
+ "addition_time_embed_dim": 256,
10
+ "attention_head_dim": [
11
+ 5,
12
+ 10,
13
+ 20
14
+ ],
15
+ "attention_type": "default",
16
+ "block_out_channels": [
17
+ 320,
18
+ 640,
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": 2048,
27
+ "cross_attention_norm": null,
28
+ "down_block_types": [
29
+ "DownBlock2D",
30
+ "CrossAttnDownBlock2D",
31
+ "CrossAttnDownBlock2D"
32
+ ],
33
+ "downsample_padding": 1,
34
+ "dropout": 0.0,
35
+ "dual_cross_attention": false,
36
+ "encoder_hid_dim": null,
37
+ "encoder_hid_dim_type": null,
38
+ "flip_sin_to_cos": true,
39
+ "freq_shift": 0,
40
+ "in_channels": 4,
41
+ "layers_per_block": 2,
42
+ "mid_block_only_cross_attention": null,
43
+ "mid_block_scale_factor": 1,
44
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
45
+ "neuron": {
46
+ "auto_cast": "matmul",
47
+ "auto_cast_type": "bf16",
48
+ "compiler_type": "neuronx-cc",
49
+ "compiler_version": "2.14.227.0+2d4f85be",
50
+ "dynamic_batch_size": false,
51
+ "inline_weights_to_neff": true,
52
+ "input_names": [
53
+ "sample",
54
+ "timestep",
55
+ "encoder_hidden_states",
56
+ "text_embeds",
57
+ "time_ids"
58
+ ],
59
+ "model_type": "unet",
60
+ "optlevel": "2",
61
+ "output_attentions": false,
62
+ "output_hidden_states": false,
63
+ "output_names": [
64
+ "sample"
65
+ ],
66
+ "static_batch_size": 1,
67
+ "static_height": 128,
68
+ "static_num_channels": 4,
69
+ "static_sequence_length": 77,
70
+ "static_vae_scale_factor": 8,
71
+ "static_width": 128
72
+ },
73
+ "norm_eps": 1e-05,
74
+ "norm_num_groups": 32,
75
+ "num_attention_heads": null,
76
+ "num_class_embeds": null,
77
+ "only_cross_attention": false,
78
+ "out_channels": 4,
79
+ "projection_class_embeddings_input_dim": 2816,
80
+ "resnet_out_scale_factor": 1.0,
81
+ "resnet_skip_time_act": false,
82
+ "resnet_time_scale_shift": "default",
83
+ "reverse_transformer_layers_per_block": null,
84
+ "sample_size": 128,
85
+ "task": "semantic-segmentation",
86
+ "time_cond_proj_dim": null,
87
+ "time_embedding_act_fn": null,
88
+ "time_embedding_dim": null,
89
+ "time_embedding_type": "positional",
90
+ "timestep_post_act": null,
91
+ "transformer_layers_per_block": [
92
+ 1,
93
+ 2,
94
+ 10
95
+ ],
96
+ "transformers_version": null,
97
+ "up_block_types": [
98
+ "CrossAttnUpBlock2D",
99
+ "CrossAttnUpBlock2D",
100
+ "UpBlock2D"
101
+ ],
102
+ "upcast_attention": false,
103
+ "use_linear_projection": true
104
+ }