SSVEN_pasqwerty / applied /opt06_uticket_prune /prune_rate_0.2.summary.json
p-j-r-1-2-3's picture
add run prune_rate_0.2
807629a verified
Raw
History Blame Contribute Delete
16.9 kB
Invalid JSON:Unexpected token 'N', ..."_recall": NaN, ""... is not valid JSON
{
"key": "opt06_uticket_prune/prune_rate_0.2",
"tag": "prune_rate_0.2",
"script": "opt06_uticket_prune.py",
"script_sha256_16": "13957bb36508b8cf",
"hf_folder": "applied/opt06_uticket_prune",
"priority": 1,
"note": "",
"phase": 4,
"n_phases": 10,
"method": "harmonic_matched",
"command": [
"/usr/bin/python3",
"-m",
"torch.distributed.run",
"--standalone",
"--nproc_per_node=2",
"/kaggle/working/scripts/opt06_uticket_prune.py",
"--method",
"harmonic_matched",
"--data-root",
"/kaggle/working/data",
"--epochs",
"60",
"--seed",
"1234",
"--batch-size",
"64",
"--event-eval",
"--no-resume",
"--decision-margin",
"2.0",
"--hub-dir",
"/kaggle/working/hub/opt06_uticket_prune/prune_rate_0.2",
"--keep-epoch-weights",
"1",
"--resplit",
"block",
"--drop-rest",
"--bench",
"--prune-rate",
"0.2"
],
"flags": [
"--prune-rate",
"0.2"
],
"epochs_requested": 60,
"gpus": 2,
"relative_epoch_cost": 1.0,
"exit_code": 0,
"status": "ok",
"duration_s": 328.9,
"started_utc": "2026-08-23T04:52:48.276413+00:00",
"finished_utc": "2026-08-23T04:58:17.225020+00:00",
"optimization_summary": {
"optimization": "uticket_workload_balanced_pruning",
"research_section": "3. Spike sparsity & MAC->AC restructuring",
"reference": "u-Ticket: Workload-Balanced Pruning for Sparse SNNs, arXiv:2302.06746",
"script": "opt06_uticket_prune.py",
"baseline_mode": false,
"method": "harmonic_matched",
"accuracy": {
"test_acc": 0.945,
"test_target_acc": 0.945,
"best_val_acc": 0.9435714285714286
},
"efficiency": {
"spikes_per_inference": null,
"syn_ops_per_inference": 1219436.5718344154,
"dense_macs_per_inference": 122675200.0,
"event_fraction_of_dense": 0.009940367505693208,
"syn_ops_per_inference_dense_fanout": 64956449.21347403,
"weight_sparsity": 0.9065108514190318,
"effective_ticks": 12.582142857142857,
"num_ticks": 100,
"membrane_bytes_per_inference": 451200,
"weight_bytes": 4907008,
"input_raster_bytes": null,
"train_ms_per_step": 98.27910679996421,
"infer_ms_per_sample": 0.6430302793751252,
"peak_vram_mb": 2836.18048,
"weight_bytes_nonzero": 421308
},
"optimization_specific": {
"pruning_enabled": true,
"balance_enabled": true,
"rounds": 5,
"final_sparsity": 0.9141414141414141,
"nnz_per_layer": {
"layer0": 7680,
"layer1": 53760,
"layer2": 43008
},
"pe_stats_per_layer": {
"layer0": {
"mean_nnz": 24.0,
"max_nnz": 24.0,
"min_nnz": 24.0,
"total_nnz": 7680,
"numel": 921600,
"sparsity": 0.9916666666666667,
"utilization": 1.0
},
"layer1": {
"mean_nnz": 105.0,
"max_nnz": 105.0,
"min_nnz": 105.0,
"total_nnz": 53760,
"numel": 163840,
"sparsity": 0.671875,
"utilization": 1.0
},
"layer2": {
"mean_nnz": 168.0,
"max_nnz": 168.0,
"min_nnz": 168.0,
"total_nnz": 43008,
"numel": 131072,
"sparsity": 0.671875,
"utilization": 1.0
}
},
"pe_utilization_final": 1.0,
"pe_utilization_lth": 0.8322065610975112,
"pe_utilization_uticket": 1.0,
"latency_proxy_dense": 3712,
"latency_proxy_final": 297,
"latency_reduction_frac": 0.919989224137931,
"rounds_history": [
{
"round": 1,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 57.6,
"max_nnz": 66.0,
"min_nnz": 46.0,
"total_nnz": 18432,
"numel": 921600,
"sparsity": 0.98,
"utilization": 0.8727272727272728
},
"uticket": {
"mean_nnz": 58.0,
"max_nnz": 58.0,
"min_nnz": 58.0,
"total_nnz": 18560,
"numel": 921600,
"sparsity": 0.9798611111111111,
"utilization": 1.0
}
},
"layer1": {
"lth": {
"mean_nnz": 256.0,
"max_nnz": 277.0,
"min_nnz": 240.0,
"total_nnz": 131072,
"numel": 163840,
"sparsity": 0.19999999999999996,
"utilization": 0.924187725631769
},
"uticket": {
"mean_nnz": 256.0,
"max_nnz": 256.0,
"min_nnz": 256.0,
"total_nnz": 131072,
"numel": 163840,
"sparsity": 0.19999999999999996,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 409.6015625,
"max_nnz": 434.0,
"min_nnz": 362.0,
"total_nnz": 104858,
"numel": 131072,
"sparsity": 0.1999969482421875,
"utilization": 0.9437824020737328
},
"uticket": {
"mean_nnz": 410.0,
"max_nnz": 410.0,
"min_nnz": 410.0,
"total_nnz": 104960,
"numel": 131072,
"sparsity": 0.19921875,
"utilization": 1.0
}
}
},
"latency_proxy": 724,
"sparsity": 0.790719696969697
},
{
"round": 2,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 46.400000000000006,
"max_nnz": 57.0,
"min_nnz": 35.0,
"total_nnz": 14848,
"numel": 921600,
"sparsity": 0.9838888888888889,
"utilization": 0.8140350877192983
},
"uticket": {
"mean_nnz": 46.0,
"max_nnz": 46.0,
"min_nnz": 46.0,
"total_nnz": 14720,
"numel": 921600,
"sparsity": 0.9840277777777777,
"utilization": 1.0
}
},
"layer1": {
"lth": {
"mean_nnz": 204.80078125,
"max_nnz": 225.0,
"min_nnz": 171.0,
"total_nnz": 104858,
"numel": 163840,
"sparsity": 0.35999755859375004,
"utilization": 0.9102256944444445
},
"uticket": {
"mean_nnz": 205.0,
"max_nnz": 205.0,
"min_nnz": 205.0,
"total_nnz": 104960,
"numel": 163840,
"sparsity": 0.359375,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 328.0,
"max_nnz": 352.0,
"min_nnz": 301.0,
"total_nnz": 83968,
"numel": 131072,
"sparsity": 0.359375,
"utilization": 0.9318181818181818
},
"uticket": {
"mean_nnz": 328.0,
"max_nnz": 328.0,
"min_nnz": 328.0,
"total_nnz": 83968,
"numel": 131072,
"sparsity": 0.359375,
"utilization": 1.0
}
}
},
"latency_proxy": 579,
"sparsity": 0.8325968013468014
},
{
"round": 3,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 36.800000000000004,
"max_nnz": 45.0,
"min_nnz": 27.0,
"total_nnz": 11776,
"numel": 921600,
"sparsity": 0.9872222222222222,
"utilization": 0.8177777777777778
},
"uticket": {
"mean_nnz": 37.0,
"max_nnz": 37.0,
"min_nnz": 37.0,
"total_nnz": 11840,
"numel": 921600,
"sparsity": 0.9871527777777778,
"utilization": 1.0
}
},
"layer1": {
"lth": {
"mean_nnz": 164.0,
"max_nnz": 187.0,
"min_nnz": 122.0,
"total_nnz": 83968,
"numel": 163840,
"sparsity": 0.48750000000000004,
"utilization": 0.8770053475935828
},
"uticket": {
"mean_nnz": 164.0,
"max_nnz": 164.0,
"min_nnz": 164.0,
"total_nnz": 83968,
"numel": 163840,
"sparsity": 0.48750000000000004,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 262.3984375,
"max_nnz": 282.0,
"min_nnz": 237.0,
"total_nnz": 67174,
"numel": 131072,
"sparsity": 0.4875030517578125,
"utilization": 0.9304909131205674
},
"uticket": {
"mean_nnz": 262.0,
"max_nnz": 262.0,
"min_nnz": 262.0,
"total_nnz": 67072,
"numel": 131072,
"sparsity": 0.48828125,
"utilization": 1.0
}
}
},
"latency_proxy": 463,
"sparsity": 0.8661090067340067
},
{
"round": 4,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 29.6,
"max_nnz": 37.0,
"min_nnz": 20.0,
"total_nnz": 9472,
"numel": 921600,
"sparsity": 0.9897222222222222,
"utilization": 0.8
},
"uticket": {
"mean_nnz": 30.0,
"max_nnz": 30.0,
"min_nnz": 30.0,
"total_nnz": 9600,
"numel": 921600,
"sparsity": 0.9895833333333334,
"utilization": 1.0
}
},
"layer1": {
"lth": {
"mean_nnz": 131.19921875,
"max_nnz": 155.0,
"min_nnz": 75.0,
"total_nnz": 67174,
"numel": 163840,
"sparsity": 0.59000244140625,
"utilization": 0.8464465725806452
},
"uticket": {
"mean_nnz": 131.0,
"max_nnz": 131.0,
"min_nnz": 131.0,
"total_nnz": 67072,
"numel": 163840,
"sparsity": 0.590625,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 209.6015625,
"max_nnz": 225.0,
"min_nnz": 176.0,
"total_nnz": 53658,
"numel": 131072,
"sparsity": 0.5906219482421875,
"utilization": 0.9315625
},
"uticket": {
"mean_nnz": 210.0,
"max_nnz": 210.0,
"min_nnz": 210.0,
"total_nnz": 53760,
"numel": 131072,
"sparsity": 0.58984375,
"utilization": 1.0
}
}
},
"latency_proxy": 371,
"sparsity": 0.8927819865319866
},
{
"round": 5,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 24.0,
"max_nnz": 30.0,
"min_nnz": 14.0,
"total_nnz": 7680,
"numel": 921600,
"sparsity": 0.9916666666666667,
"utilization": 0.8
},
"uticket": {
"mean_nnz": 24.0,
"max_nnz": 24.0,
"min_nnz": 24.0,
"total_nnz": 7680,
"numel": 921600,
"sparsity": 0.9916666666666667,
"utilization": 1.0
}
},
"layer1": {
"lth": {
"mean_nnz": 104.80078125,
"max_nnz": 129.0,
"min_nnz": 45.0,
"total_nnz": 53658,
"numel": 163840,
"sparsity": 0.67249755859375,
"utilization": 0.8124091569767442
},
"uticket": {
"mean_nnz": 105.0,
"max_nnz": 105.0,
"min_nnz": 105.0,
"total_nnz": 53760,
"numel": 163840,
"sparsity": 0.671875,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 168.0,
"max_nnz": 190.0,
"min_nnz": 134.0,
"total_nnz": 43008,
"numel": 131072,
"sparsity": 0.671875,
"utilization": 0.8842105263157894
},
"uticket": {
"mean_nnz": 168.0,
"max_nnz": 168.0,
"min_nnz": 168.0,
"total_nnz": 43008,
"numel": 131072,
"sparsity": 0.671875,
"utilization": 1.0
}
}
},
"latency_proxy": 297,
"sparsity": 0.9141414141414141
}
],
"latency_proxy_lth": 349,
"latency_reduction_vs_lth_frac": 0.14899713467048714
},
"config": {
"method": "harmonic_matched",
"data_root": "/kaggle/working/data",
"subjects": "",
"blocks": "",
"limit": 0,
"drop_rest": true,
"resplit": "block",
"test_blocks": "6",
"class_weight": false,
"epochs": 60,
"batch_size": 64,
"lr": 0.002,
"weight_decay": 0.0005,
"grad_clip": 5.0,
"num_bins": 100,
"window_sec": 5.0,
"hidden": "512,256",
"freq_groups": 8,
"dropout": 0.3,
"spike_drop": 0.1,
"time_jitter": 2,
"label_smoothing": 0.05,
"no_batchnorm": false,
"binary_input": false,
"beta": 1.0,
"thresh": 1.0,
"window": 0.5,
"gain": 1.0,
"alpha": 0.9,
"readout": "spikecount",
"fake_quant": 0,
"amp": false,
"spike_reg": 0.0,
"event_eval": true,
"decision_margin": 2.0,
"export": false,
"seed": 1234,
"hub_dir": "/kaggle/working/hub/opt06_uticket_prune/prune_rate_0.2",
"repo_id": "UWU-R-13/SSVEP-SNN",
"push_hf": false,
"keep_epoch_weights": 1,
"no_resume": true,
"selftest": false,
"baseline": false,
"bench": true,
"bench_warmup": 10,
"bench_iters": 50,
"bench_train_steps": 20,
"prune_rounds": 5,
"prune_rate": 0.2,
"rewind_epoch": 1,
"balance": true,
"balance_iters": 2,
"prune_readout": false,
"sampling_rate": 250.0
}
},
"final_summary": {
"final_test_acc": 0.945,
"final_test_target_acc": 0.945,
"final_test_rest_recall": NaN,
"best_acc": 0.9435714285714286,
"best_epoch": 31,
"resplit": "block",
"class_weight": false,
"drop_rest": true,
"epochs": 60,
"method": "harmonic_matched",
"n_in": 2880,
"n_classes": 40,
"num_bins": 100
},
"event_driven_summary": {
"acc": 0.945,
"anytime_acc": {
"0.25": 0.595,
"0.5": 0.8435714285714285,
"0.75": 0.9085714285714286,
"1.0": 0.945
},
"syn_per_inference": 1219436.5718344154,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.009940367505693208,
"syn_per_inference_dense_fanout": 64956449.21347403,
"weight_sparsity": 0.9065108514190318,
"num_ticks": 100,
"dt_ms": 50.0,
"margin_decision_acc": 0.4228571428571429,
"mean_decision_tick": 12.582142857142857,
"mean_decision_ms": 629.1071428571429,
"dense_forward_test_acc": 0.945
},
"extra_sweep_file_present": true,
"selftest": {
"mode": "gate",
"passed": true
},
"driver_version": 1,
"zip": {
"name": "prune_rate_0.2.zip",
"files": 81,
"bytes": 9962974,
"MB": 10.0,
"sha256": "b459b14d5c4e25097771f24d9136976c7b538455e508aac3dfa75889f462632d"
}
}