initial-sd-sparsity-0.25-global / prune_report.json
BashCache's picture
Upload folder using huggingface_hub
2b739a6 verified
Raw History Blame Contribute Delete
3.23 kB
{
"args": {
"kfac_store": "./dit_kfac/train_mix_p0.1/kfac_store_diag.pt",
"meta": null,
"model": "facebook/DiT-XL-2-256",
"output_dir": "./dit_pruned",
"device": "cpu",
"strategy": "snr_clip",
"snr_gamma": 5.0,
"decay_tau": 0.25,
"t_use_min": null,
"t_use_max": null,
"sparsity": "0.2,0.25",
"attn_sparsity": null,
"mlp_sparsity": null,
"scope": "global",
"coupling": "sum",
"head_score": "sum",
"no_save_weights": false,
"no_sanity_forward": false,
"log_level": "INFO"
},
"strategy": "snr_clip",
"attn_sparsity": 0.25,
"mlp_sparsity": 0.25,
"params_before": {
"diffusers_total": 749826464,
"original_equivalent": 674834720
},
"params_after": {
"diffusers_total": 638293280,
"original_equivalent": 563301536
},
"param_reduction_diffusers": 0.14874532889252623,
"param_reduction_original_equiv": 0.16527481573562186,
"block_macs_before": 118380036096,
"block_macs_after": 88785027072,
"block_mac_reduction": 0.25,
"heads_pruned": 112,
"heads_total": 448,
"channels_pruned": 32256,
"channels_total": 129024,
"heads_kept_per_block": {
"0": 9,
"1": 1,
"2": 12,
"3": 5,
"4": 8,
"5": 11,
"6": 14,
"7": 16,
"8": 16,
"9": 15,
"10": 14,
"11": 16,
"12": 16,
"13": 16,
"14": 16,
"15": 16,
"16": 15,
"17": 16,
"18": 16,
"19": 15,
"20": 14,
"21": 9,
"22": 8,
"23": 8,
"24": 11,
"25": 12,
"26": 8,
"27": 3
},
"channels_kept_per_block": {
"0": 439,
"1": 134,
"2": 614,
"3": 274,
"4": 968,
"5": 4078,
"6": 4444,
"7": 3883,
"8": 3675,
"9": 3648,
"10": 4003,
"11": 4202,
"12": 4323,
"13": 4411,
"14": 4555,
"15": 4591,
"16": 4569,
"17": 4528,
"18": 4587,
"19": 4581,
"20": 4583,
"21": 4594,
"22": 4591,
"23": 4585,
"24": 4311,
"25": 4426,
"26": 2999,
"27": 172
},
"pruned_heads": {
"0": [
0,
2,
3,
4,
8,
10,
13
],
"1": [
0,
1,
2,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
],
"2": [
6,
8,
13,
15
],
"3": [
0,
1,
2,
4,
5,
6,
10,
11,
12,
13,
15
],
"4": [
1,
2,
3,
5,
7,
10,
11,
12
],
"5": [
0,
4,
5,
8,
13
],
"6": [
9,
14
],
"7": [],
"8": [],
"9": [
9
],
"10": [
1,
3
],
"11": [],
"12": [],
"13": [],
"14": [],
"15": [],
"16": [
12
],
"17": [],
"18": [],
"19": [
1
],
"20": [
8,
9
],
"21": [
0,
1,
2,
7,
12,
13,
15
],
"22": [
1,
3,
4,
5,
6,
9,
10,
12
],
"23": [
1,
2,
5,
6,
8,
10,
13,
14
],
"24": [
10,
12,
13,
14,
15
],
"25": [
1,
2,
3,
4
],
"26": [
0,
3,
4,
5,
7,
11,
13,
14
],
"27": [
1,
2,
3,
4,
5,
6,
7,
8,
10,
11,
12,
13,
14
]
},
"excluded_from_pruning": "pos_embed.proj (x_embedder), pos_embed sin-cos buffer, norm1.emb.* (t/y embedders), norm1.linear (adaLN modulation), norm_out, proj_out_1 (final adaLN), proj_out_2 (final linear)",
"sanity_forward": {
"output_shape": [
2,
8,
32,
32
],
"finite": true
}
}