owu1 commited on
Commit
4298cc1
1 Parent(s): a969cbf

Upload unet/config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. unet/config.json +103 -0
unet/config.json ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.28.0",
5
+ "_name_or_path": "/home/ubuntu/furry-xl-4.0+hyper-sd-12-steps/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.13.66.0+6dfecc895",
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": "3",
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_width": 128
71
+ },
72
+ "norm_eps": 1e-05,
73
+ "norm_num_groups": 32,
74
+ "num_attention_heads": null,
75
+ "num_class_embeds": null,
76
+ "only_cross_attention": false,
77
+ "out_channels": 4,
78
+ "projection_class_embeddings_input_dim": 2816,
79
+ "resnet_out_scale_factor": 1.0,
80
+ "resnet_skip_time_act": false,
81
+ "resnet_time_scale_shift": "default",
82
+ "reverse_transformer_layers_per_block": null,
83
+ "sample_size": 128,
84
+ "task": "semantic-segmentation",
85
+ "time_cond_proj_dim": null,
86
+ "time_embedding_act_fn": null,
87
+ "time_embedding_dim": null,
88
+ "time_embedding_type": "positional",
89
+ "timestep_post_act": null,
90
+ "transformer_layers_per_block": [
91
+ 1,
92
+ 2,
93
+ 10
94
+ ],
95
+ "transformers_version": null,
96
+ "up_block_types": [
97
+ "CrossAttnUpBlock2D",
98
+ "CrossAttnUpBlock2D",
99
+ "UpBlock2D"
100
+ ],
101
+ "upcast_attention": false,
102
+ "use_linear_projection": true
103
+ }