initial-sd-sparsity-0.2-global / prune_report.json
BashCache's picture
Upload folder using huggingface_hub
40bb93a verified
Raw History Blame Contribute Delete
3.1 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.2,
"mlp_sparsity": 0.2,
"params_before": {
"diffusers_total": 749826464,
"original_equivalent": 674834720
},
"params_after": {
"diffusers_total": 660466659,
"original_equivalent": 585474915
},
"param_reduction_diffusers": 0.11917398130135881,
"param_reduction_original_equiv": 0.13241731990316086,
"block_macs_before": 118380036096,
"block_macs_after": 94666162176,
"block_mac_reduction": 0.20031987404336737,
"heads_pruned": 90,
"heads_total": 448,
"channels_pruned": 25805,
"channels_total": 129024,
"heads_kept_per_block": {
"0": 10,
"1": 1,
"2": 12,
"3": 5,
"4": 9,
"5": 11,
"6": 14,
"7": 16,
"8": 16,
"9": 16,
"10": 16,
"11": 16,
"12": 16,
"13": 16,
"14": 16,
"15": 16,
"16": 16,
"17": 16,
"18": 16,
"19": 16,
"20": 16,
"21": 14,
"22": 13,
"23": 8,
"24": 12,
"25": 14,
"26": 8,
"27": 3
},
"channels_kept_per_block": {
"0": 597,
"1": 211,
"2": 925,
"3": 343,
"4": 1344,
"5": 4471,
"6": 4595,
"7": 4489,
"8": 4425,
"9": 4447,
"10": 4529,
"11": 4566,
"12": 4578,
"13": 4588,
"14": 4607,
"15": 4608,
"16": 4608,
"17": 4606,
"18": 4608,
"19": 4608,
"20": 4608,
"21": 4608,
"22": 4606,
"23": 4605,
"24": 4540,
"25": 4586,
"26": 3707,
"27": 206
},
"pruned_heads": {
"0": [
0,
2,
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,
3,
5,
7,
10,
11,
12
],
"5": [
0,
4,
5,
8,
13
],
"6": [
9,
14
],
"7": [],
"8": [],
"9": [],
"10": [],
"11": [],
"12": [],
"13": [],
"14": [],
"15": [],
"16": [],
"17": [],
"18": [],
"19": [],
"20": [],
"21": [
12,
15
],
"22": [
1,
4,
6
],
"23": [
1,
2,
5,
6,
8,
10,
13,
14
],
"24": [
10,
12,
14,
15
],
"25": [
1,
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
}
}