Optimum commited on
Commit
d65e3c2
·
1 Parent(s): 529ce76

Upload unet/config.json with huggingface_hub

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