SSVEN_pasqwerty / applied /opt06_uticket_prune /prune_rate_0.7.summary.json
p-j-r-1-2-3's picture
add run prune_rate_0.7
13e3fdb 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.7",
"tag": "prune_rate_0.7",
"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.7",
"--keep-epoch-weights",
"1",
"--resplit",
"block",
"--drop-rest",
"--bench",
"--prune-rate",
"0.7"
],
"flags": [
"--prune-rate",
"0.7"
],
"epochs_requested": 60,
"gpus": 2,
"relative_epoch_cost": 1.0,
"exit_code": 0,
"status": "ok",
"duration_s": 329.5,
"started_utc": "2026-08-23T05:03:51.875307+00:00",
"finished_utc": "2026-08-23T05:09:21.426216+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.10785714285714286,
"test_target_acc": 0.10785714285714286,
"best_val_acc": 0.9107142857142857
},
"efficiency": {
"spikes_per_inference": null,
"syn_ops_per_inference": 134146.13453733767,
"dense_macs_per_inference": 122675200.0,
"event_fraction_of_dense": 0.0010935065484901404,
"syn_ops_per_inference_dense_fanout": 65046831.82467532,
"weight_sparsity": 0.9909484557595993,
"effective_ticks": 17.615,
"num_ticks": 100,
"membrane_bytes_per_inference": 451200,
"weight_bytes": 4907008,
"input_raster_bytes": null,
"train_ms_per_step": 99.08765609998227,
"infer_ms_per_sample": 0.6416375046870826,
"peak_vram_mb": 2838.396928,
"weight_bytes_nonzero": 3485
},
"optimization_specific": {
"pruning_enabled": true,
"balance_enabled": true,
"rounds": 5,
"final_sparsity": 0.9992897727272727,
"nnz_per_layer": {
"layer0": 96,
"layer1": 512,
"layer2": 256
},
"pe_stats_per_layer": {
"layer0": {
"mean_nnz": 0.30000000000000004,
"max_nnz": 1.0,
"min_nnz": 0.0,
"total_nnz": 96,
"numel": 921600,
"sparsity": 0.9998958333333333,
"utilization": 0.30000000000000004
},
"layer1": {
"mean_nnz": 1.0,
"max_nnz": 1.0,
"min_nnz": 1.0,
"total_nnz": 512,
"numel": 163840,
"sparsity": 0.996875,
"utilization": 1.0
},
"layer2": {
"mean_nnz": 1.0,
"max_nnz": 1.0,
"min_nnz": 1.0,
"total_nnz": 256,
"numel": 131072,
"sparsity": 0.998046875,
"utilization": 1.0
}
},
"pe_utilization_final": 0.7666666666666666,
"pe_utilization_lth": 0.33328993055555556,
"pe_utilization_uticket": 0.7666666666666666,
"latency_proxy_dense": 3712,
"latency_proxy_final": 3,
"latency_reduction_frac": 0.9991918103448276,
"rounds_history": [
{
"round": 1,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 21.6,
"max_nnz": 32.0,
"min_nnz": 13.0,
"total_nnz": 6912,
"numel": 921600,
"sparsity": 0.9925,
"utilization": 0.675
},
"uticket": {
"mean_nnz": 22.0,
"max_nnz": 22.0,
"min_nnz": 22.0,
"total_nnz": 7040,
"numel": 921600,
"sparsity": 0.9923611111111111,
"utilization": 1.0
}
},
"layer1": {
"lth": {
"mean_nnz": 96.0,
"max_nnz": 118.0,
"min_nnz": 63.0,
"total_nnz": 49152,
"numel": 163840,
"sparsity": 0.7,
"utilization": 0.8135593220338984
},
"uticket": {
"mean_nnz": 96.0,
"max_nnz": 96.0,
"min_nnz": 96.0,
"total_nnz": 49152,
"numel": 163840,
"sparsity": 0.7,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 153.6015625,
"max_nnz": 181.0,
"min_nnz": 111.0,
"total_nnz": 39322,
"numel": 131072,
"sparsity": 0.6999969482421875,
"utilization": 0.8486274171270718
},
"uticket": {
"mean_nnz": 154.0,
"max_nnz": 154.0,
"min_nnz": 154.0,
"total_nnz": 39424,
"numel": 131072,
"sparsity": 0.69921875,
"utilization": 1.0
}
}
},
"latency_proxy": 272,
"sparsity": 0.9214015151515151
},
{
"round": 2,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 6.6000000000000005,
"max_nnz": 15.0,
"min_nnz": 1.0,
"total_nnz": 2112,
"numel": 921600,
"sparsity": 0.9977083333333333,
"utilization": 0.44000000000000006
},
"uticket": {
"mean_nnz": 7.0,
"max_nnz": 7.0,
"min_nnz": 7.0,
"total_nnz": 2240,
"numel": 921600,
"sparsity": 0.9975694444444444,
"utilization": 1.0
}
},
"layer1": {
"lth": {
"mean_nnz": 28.80078125,
"max_nnz": 48.0,
"min_nnz": 2.0,
"total_nnz": 14746,
"numel": 163840,
"sparsity": 0.90999755859375,
"utilization": 0.6000162760416666
},
"uticket": {
"mean_nnz": 29.0,
"max_nnz": 29.0,
"min_nnz": 29.0,
"total_nnz": 14848,
"numel": 163840,
"sparsity": 0.909375,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 46.19921875,
"max_nnz": 64.0,
"min_nnz": 26.0,
"total_nnz": 11827,
"numel": 131072,
"sparsity": 0.9097671508789062,
"utilization": 0.72186279296875
},
"uticket": {
"mean_nnz": 46.0,
"max_nnz": 46.0,
"min_nnz": 46.0,
"total_nnz": 11776,
"numel": 131072,
"sparsity": 0.91015625,
"utilization": 1.0
}
}
},
"latency_proxy": 82,
"sparsity": 0.9762731481481481
},
{
"round": 3,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 2.1,
"max_nnz": 7.0,
"min_nnz": 0.0,
"total_nnz": 672,
"numel": 921600,
"sparsity": 0.9992708333333333,
"utilization": 0.3
},
"uticket": {
"mean_nnz": 2.0,
"max_nnz": 2.0,
"min_nnz": 2.0,
"total_nnz": 640,
"numel": 921600,
"sparsity": 0.9993055555555556,
"utilization": 1.0
}
},
"layer1": {
"lth": {
"mean_nnz": 8.69921875,
"max_nnz": 18.0,
"min_nnz": 0.0,
"total_nnz": 4454,
"numel": 163840,
"sparsity": 0.97281494140625,
"utilization": 0.4832899305555556
},
"uticket": {
"mean_nnz": 9.0,
"max_nnz": 9.0,
"min_nnz": 9.0,
"total_nnz": 4608,
"numel": 163840,
"sparsity": 0.971875,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 13.80078125,
"max_nnz": 23.0,
"min_nnz": 6.0,
"total_nnz": 3533,
"numel": 131072,
"sparsity": 0.9730453491210938,
"utilization": 0.6000339673913043
},
"uticket": {
"mean_nnz": 14.0,
"max_nnz": 14.0,
"min_nnz": 14.0,
"total_nnz": 3584,
"numel": 131072,
"sparsity": 0.97265625,
"utilization": 1.0
}
}
},
"latency_proxy": 25,
"sparsity": 0.992739898989899
},
{
"round": 4,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 0.6000000000000001,
"max_nnz": 2.0,
"min_nnz": 0.0,
"total_nnz": 192,
"numel": 921600,
"sparsity": 0.9997916666666666,
"utilization": 0.30000000000000004
},
"uticket": {
"mean_nnz": 1.0,
"max_nnz": 1.0,
"min_nnz": 1.0,
"total_nnz": 320,
"numel": 921600,
"sparsity": 0.9996527777777777,
"utilization": 1.0
}
},
"layer1": {
"lth": {
"mean_nnz": 2.69921875,
"max_nnz": 8.0,
"min_nnz": 0.0,
"total_nnz": 1382,
"numel": 163840,
"sparsity": 0.99156494140625,
"utilization": 0.33740234375
},
"uticket": {
"mean_nnz": 3.0,
"max_nnz": 3.0,
"min_nnz": 3.0,
"total_nnz": 1536,
"numel": 163840,
"sparsity": 0.990625,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 4.19921875,
"max_nnz": 9.0,
"min_nnz": 1.0,
"total_nnz": 1075,
"numel": 131072,
"sparsity": 0.9917984008789062,
"utilization": 0.4665798611111111
},
"uticket": {
"mean_nnz": 4.0,
"max_nnz": 4.0,
"min_nnz": 4.0,
"total_nnz": 1024,
"numel": 131072,
"sparsity": 0.9921875,
"utilization": 1.0
}
}
},
"latency_proxy": 8,
"sparsity": 0.9976325757575758
},
{
"round": 5,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 0.30000000000000004,
"max_nnz": 1.0,
"min_nnz": 0.0,
"total_nnz": 96,
"numel": 921600,
"sparsity": 0.9998958333333333,
"utilization": 0.30000000000000004
},
"uticket": {
"mean_nnz": 0.30000000000000004,
"max_nnz": 1.0,
"min_nnz": 0.0,
"total_nnz": 96,
"numel": 921600,
"sparsity": 0.9998958333333333,
"utilization": 0.30000000000000004
}
},
"layer1": {
"lth": {
"mean_nnz": 0.900390625,
"max_nnz": 3.0,
"min_nnz": 0.0,
"total_nnz": 461,
"numel": 163840,
"sparsity": 0.997186279296875,
"utilization": 0.3001302083333333
},
"uticket": {
"mean_nnz": 1.0,
"max_nnz": 1.0,
"min_nnz": 1.0,
"total_nnz": 512,
"numel": 163840,
"sparsity": 0.996875,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 1.19921875,
"max_nnz": 3.0,
"min_nnz": 0.0,
"total_nnz": 307,
"numel": 131072,
"sparsity": 0.9976577758789062,
"utilization": 0.3997395833333333
},
"uticket": {
"mean_nnz": 1.0,
"max_nnz": 1.0,
"min_nnz": 1.0,
"total_nnz": 256,
"numel": 131072,
"sparsity": 0.998046875,
"utilization": 1.0
}
}
},
"latency_proxy": 3,
"sparsity": 0.9992897727272727
}
],
"latency_proxy_lth": 7,
"latency_reduction_vs_lth_frac": 0.5714285714285714
},
"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.7",
"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.7,
"rewind_epoch": 1,
"balance": true,
"balance_iters": 2,
"prune_readout": false,
"sampling_rate": 250.0
}
},
"final_summary": {
"final_test_acc": 0.10785714285714286,
"final_test_target_acc": 0.10785714285714286,
"final_test_rest_recall": NaN,
"best_acc": 0.9107142857142857,
"best_epoch": 19,
"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.10785714285714286,
"anytime_acc": {
"0.25": 0.030714285714285715,
"0.5": 0.056428571428571425,
"0.75": 0.07642857142857143,
"1.0": 0.10785714285714286
},
"syn_per_inference": 134146.13453733767,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.0010935065484901404,
"syn_per_inference_dense_fanout": 65046831.82467532,
"weight_sparsity": 0.9909484557595993,
"num_ticks": 100,
"dt_ms": 50.0,
"margin_decision_acc": 0.03214285714285714,
"mean_decision_tick": 17.615,
"mean_decision_ms": 880.7499999999999,
"dense_forward_test_acc": 0.10785714285714286
},
"extra_sweep_file_present": true,
"selftest": {
"mode": "gate",
"passed": true
},
"driver_version": 1,
"zip": {
"name": "prune_rate_0.7.zip",
"files": 81,
"bytes": 8084840,
"MB": 8.1,
"sha256": "20c9e49012378d56d0917461901d1b7656542b3eee38002b8faa524568fa2972"
}
}