dev-planningo commited on
Commit
7acde74
1 Parent(s): 11fbc50

Upload unet/config.json with huggingface_hub

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