erwann commited on
Commit
57f0ea8
1 Parent(s): b546d70

Upload unet/config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. unet/config.json +101 -0
unet/config.json ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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--SimianLuo--LCM_Dreamshaper_v7/snapshots/4721097975058205c4edcdece2cc574b7dd7bc04/unet",
6
+ "_use_default_values": [
7
+ "reverse_transformer_layers_per_block"
8
+ ],
9
+ "act_fn": "silu",
10
+ "addition_embed_type": null,
11
+ "addition_embed_type_num_heads": 64,
12
+ "addition_time_embed_dim": null,
13
+ "attention_head_dim": 8,
14
+ "attention_type": "default",
15
+ "block_out_channels": [
16
+ 320,
17
+ 640,
18
+ 1280,
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": 768,
27
+ "cross_attention_norm": null,
28
+ "down_block_types": [
29
+ "CrossAttnDownBlock2D",
30
+ "CrossAttnDownBlock2D",
31
+ "CrossAttnDownBlock2D",
32
+ "DownBlock2D"
33
+ ],
34
+ "downsample_padding": 1,
35
+ "dropout": 0.0,
36
+ "dual_cross_attention": false,
37
+ "encoder_hid_dim": null,
38
+ "encoder_hid_dim_type": null,
39
+ "flip_sin_to_cos": true,
40
+ "freq_shift": 0,
41
+ "in_channels": 4,
42
+ "layers_per_block": 2,
43
+ "mid_block_only_cross_attention": null,
44
+ "mid_block_scale_factor": 1,
45
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
46
+ "neuron": {
47
+ "auto_cast": "all",
48
+ "auto_cast_type": "fp16",
49
+ "compiler_type": "neuronx-cc",
50
+ "compiler_version": "2.11.0.35+4f5279863",
51
+ "disable_fallback": false,
52
+ "disable_fast_relayout": false,
53
+ "dynamic_batch_size": false,
54
+ "input_names": [
55
+ "sample",
56
+ "timestep",
57
+ "encoder_hidden_states",
58
+ "timestep_cond"
59
+ ],
60
+ "model_type": "unet",
61
+ "output_attentions": false,
62
+ "output_hidden_states": false,
63
+ "output_names": [
64
+ "sample"
65
+ ],
66
+ "static_batch_size": 1,
67
+ "static_height": 64,
68
+ "static_num_beams": 1,
69
+ "static_num_channels": 4,
70
+ "static_sequence_length": 77,
71
+ "static_width": 64
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": null,
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": 96,
85
+ "task": "semantic-segmentation",
86
+ "time_cond_proj_dim": 256,
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": 1,
92
+ "transformers_version": null,
93
+ "up_block_types": [
94
+ "UpBlock2D",
95
+ "CrossAttnUpBlock2D",
96
+ "CrossAttnUpBlock2D",
97
+ "CrossAttnUpBlock2D"
98
+ ],
99
+ "upcast_attention": null,
100
+ "use_linear_projection": false
101
+ }