ChenHe727 commited on
Commit
8900a1d
·
verified ·
1 Parent(s): f5470ee

Upload pruned_unet.config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. pruned_unet.config.json +105 -0
pruned_unet.config.json ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "distill_step": 10000,
3
+ "distill_loss": 0.033403340727090836,
4
+ "model_config": {
5
+ "_use_default_values": [
6
+ "resnet_out_scale_factor",
7
+ "use_linear_projection",
8
+ "projection_class_embeddings_input_dim",
9
+ "resnet_time_scale_shift",
10
+ "time_embedding_dim",
11
+ "class_embeddings_concat",
12
+ "encoder_hid_dim_type",
13
+ "num_attention_heads",
14
+ "transformer_layers_per_block",
15
+ "addition_embed_type",
16
+ "encoder_hid_dim",
17
+ "conv_out_kernel",
18
+ "upcast_attention",
19
+ "only_cross_attention",
20
+ "dropout",
21
+ "timestep_post_act",
22
+ "dual_cross_attention",
23
+ "addition_embed_type_num_heads",
24
+ "time_cond_proj_dim",
25
+ "num_class_embeds",
26
+ "time_embedding_act_fn",
27
+ "attention_type",
28
+ "class_embed_type",
29
+ "resnet_skip_time_act",
30
+ "reverse_transformer_layers_per_block",
31
+ "mid_block_only_cross_attention",
32
+ "cross_attention_norm",
33
+ "mid_block_type",
34
+ "time_embedding_type",
35
+ "conv_in_kernel",
36
+ "addition_time_embed_dim"
37
+ ],
38
+ "_class_name": "UNet2DConditionModel",
39
+ "_diffusers_version": "0.6.0",
40
+ "_name_or_path": "runwayml/stable-diffusion-v1-5",
41
+ "sample_size": 64,
42
+ "in_channels": 4,
43
+ "out_channels": 4,
44
+ "center_input_sample": false,
45
+ "flip_sin_to_cos": true,
46
+ "freq_shift": 0,
47
+ "down_block_types": [
48
+ "CrossAttnDownBlock2D",
49
+ "CrossAttnDownBlock2D",
50
+ "CrossAttnDownBlock2D",
51
+ "DownBlock2D"
52
+ ],
53
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
54
+ "up_block_types": [
55
+ "UpBlock2D",
56
+ "CrossAttnUpBlock2D",
57
+ "CrossAttnUpBlock2D",
58
+ "CrossAttnUpBlock2D"
59
+ ],
60
+ "only_cross_attention": false,
61
+ "block_out_channels": [
62
+ 320,
63
+ 640,
64
+ 1280,
65
+ 1280
66
+ ],
67
+ "layers_per_block": 2,
68
+ "downsample_padding": 1,
69
+ "mid_block_scale_factor": 1,
70
+ "dropout": 0.0,
71
+ "act_fn": "silu",
72
+ "norm_num_groups": 32,
73
+ "norm_eps": 1e-05,
74
+ "cross_attention_dim": 768,
75
+ "transformer_layers_per_block": 1,
76
+ "reverse_transformer_layers_per_block": null,
77
+ "encoder_hid_dim": null,
78
+ "encoder_hid_dim_type": null,
79
+ "attention_head_dim": 8,
80
+ "num_attention_heads": null,
81
+ "dual_cross_attention": false,
82
+ "use_linear_projection": false,
83
+ "class_embed_type": null,
84
+ "addition_embed_type": null,
85
+ "addition_time_embed_dim": null,
86
+ "num_class_embeds": null,
87
+ "upcast_attention": false,
88
+ "resnet_time_scale_shift": "default",
89
+ "resnet_skip_time_act": false,
90
+ "resnet_out_scale_factor": 1.0,
91
+ "time_embedding_type": "positional",
92
+ "time_embedding_dim": null,
93
+ "time_embedding_act_fn": null,
94
+ "timestep_post_act": null,
95
+ "time_cond_proj_dim": null,
96
+ "conv_in_kernel": 3,
97
+ "conv_out_kernel": 3,
98
+ "projection_class_embeddings_input_dim": null,
99
+ "attention_type": "default",
100
+ "class_embeddings_concat": false,
101
+ "mid_block_only_cross_attention": null,
102
+ "cross_attention_norm": null,
103
+ "addition_embed_type_num_heads": 64
104
+ }
105
+ }