viccpoes commited on
Commit
17a0fcb
1 Parent(s): 08106eb

Upload unet/config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. unet/config.json +97 -0
unet/config.json ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.24.0",
5
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--Lykon--dreamshaper-8-lcm/snapshots/4645d8bc6a8e6b106d21606d63e8460cdad4f1a6/unet",
6
+ "act_fn": "silu",
7
+ "addition_embed_type": null,
8
+ "addition_embed_type_num_heads": 64,
9
+ "addition_time_embed_dim": null,
10
+ "attention_head_dim": 8,
11
+ "attention_type": "default",
12
+ "block_out_channels": [
13
+ 320,
14
+ 640,
15
+ 1280,
16
+ 1280
17
+ ],
18
+ "center_input_sample": false,
19
+ "class_embed_type": null,
20
+ "class_embeddings_concat": false,
21
+ "conv_in_kernel": 3,
22
+ "conv_out_kernel": 3,
23
+ "cross_attention_dim": 768,
24
+ "cross_attention_norm": null,
25
+ "down_block_types": [
26
+ "CrossAttnDownBlock2D",
27
+ "CrossAttnDownBlock2D",
28
+ "CrossAttnDownBlock2D",
29
+ "DownBlock2D"
30
+ ],
31
+ "downsample_padding": 1,
32
+ "dropout": 0.0,
33
+ "dual_cross_attention": false,
34
+ "encoder_hid_dim": null,
35
+ "encoder_hid_dim_type": null,
36
+ "flip_sin_to_cos": true,
37
+ "freq_shift": 0,
38
+ "in_channels": 4,
39
+ "layers_per_block": 2,
40
+ "mid_block_only_cross_attention": null,
41
+ "mid_block_scale_factor": 1,
42
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
43
+ "neuron": {
44
+ "auto_cast": "matmul",
45
+ "auto_cast_type": "bf16",
46
+ "compiler_type": "neuronx-cc",
47
+ "compiler_version": "2.11.0.34+c5231f848",
48
+ "disable_fallback": false,
49
+ "disable_fast_relayout": false,
50
+ "dynamic_batch_size": false,
51
+ "input_names": [
52
+ "sample",
53
+ "timestep",
54
+ "encoder_hidden_states"
55
+ ],
56
+ "model_type": "unet",
57
+ "output_attentions": false,
58
+ "output_hidden_states": false,
59
+ "output_names": [
60
+ "sample"
61
+ ],
62
+ "static_batch_size": 1,
63
+ "static_height": 64,
64
+ "static_num_beams": 1,
65
+ "static_num_channels": 4,
66
+ "static_sequence_length": 77,
67
+ "static_width": 64
68
+ },
69
+ "norm_eps": 1e-05,
70
+ "norm_num_groups": 32,
71
+ "num_attention_heads": null,
72
+ "num_class_embeds": null,
73
+ "only_cross_attention": false,
74
+ "out_channels": 4,
75
+ "projection_class_embeddings_input_dim": null,
76
+ "resnet_out_scale_factor": 1.0,
77
+ "resnet_skip_time_act": false,
78
+ "resnet_time_scale_shift": "default",
79
+ "reverse_transformer_layers_per_block": null,
80
+ "sample_size": 64,
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": 1,
88
+ "transformers_version": null,
89
+ "up_block_types": [
90
+ "UpBlock2D",
91
+ "CrossAttnUpBlock2D",
92
+ "CrossAttnUpBlock2D",
93
+ "CrossAttnUpBlock2D"
94
+ ],
95
+ "upcast_attention": null,
96
+ "use_linear_projection": false
97
+ }