SSVEN_pasqwerty / applied /opt06_uticket_prune /no_balance.summary.json
p-j-r-1-2-3's picture
add run no_balance
6168234 verified
Raw
History Blame Contribute Delete
17.3 kB
Invalid JSON:Unexpected token 'N', ..."_recall": NaN, ""... is not valid JSON
{
"key": "opt06_uticket_prune/no_balance",
"tag": "no_balance",
"script": "opt06_uticket_prune.py",
"script_sha256_16": "13957bb36508b8cf",
"hf_folder": "applied/opt06_uticket_prune",
"priority": 2,
"note": "control for the balance step itself",
"phase": 8,
"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/no_balance",
"--keep-epoch-weights",
"1",
"--resplit",
"block",
"--drop-rest",
"--bench",
"--prune-rate",
"0.7",
"--no-balance"
],
"flags": [
"--prune-rate",
"0.7",
"--no-balance"
],
"epochs_requested": 60,
"gpus": 2,
"relative_epoch_cost": 1.0,
"exit_code": 0,
"status": "ok",
"duration_s": 336.0,
"started_utc": "2026-08-23T06:38:52.832898+00:00",
"finished_utc": "2026-08-23T06:44:28.879641+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.18357142857142858,
"test_target_acc": 0.18357142857142858,
"best_val_acc": 0.915
},
"efficiency": {
"spikes_per_inference": null,
"syn_ops_per_inference": 122885.72605519481,
"dense_macs_per_inference": 122675200.0,
"event_fraction_of_dense": 0.0010017161256325223,
"syn_ops_per_inference_dense_fanout": 64813828.548701294,
"weight_sparsity": 0.9910226353818865,
"effective_ticks": 17.867857142857144,
"num_ticks": 100,
"membrane_bytes_per_inference": 451200,
"weight_bytes": 4907008,
"input_raster_bytes": null,
"train_ms_per_step": 101.48871465007687,
"infer_ms_per_sample": 0.6597177631249451,
"peak_vram_mb": 2836.777472,
"weight_bytes_nonzero": 3118
},
"optimization_specific": {
"pruning_enabled": true,
"balance_enabled": false,
"rounds": 5,
"final_sparsity": 0.9993645767571548,
"nnz_per_layer": {
"layer0": 56,
"layer1": 398,
"layer2": 319
},
"pe_stats_per_layer": {
"layer0": {
"mean_nnz": 0.17500000000000002,
"max_nnz": 3.0,
"min_nnz": 0.0,
"total_nnz": 56,
"numel": 921600,
"sparsity": 0.9999392361111111,
"utilization": 0.05833333333333334
},
"layer1": {
"mean_nnz": 0.77734375,
"max_nnz": 4.0,
"min_nnz": 0.0,
"total_nnz": 398,
"numel": 163840,
"sparsity": 0.99757080078125,
"utilization": 0.1943359375
},
"layer2": {
"mean_nnz": 1.24609375,
"max_nnz": 3.0,
"min_nnz": 0.0,
"total_nnz": 319,
"numel": 131072,
"sparsity": 0.9975662231445312,
"utilization": 0.4153645833333333
}
},
"pe_utilization_final": 0.22267795138888888,
"pe_utilization_lth": 0.22267795138888888,
"pe_utilization_uticket": 0.22267795138888888,
"latency_proxy_dense": 3712,
"latency_proxy_final": 10,
"latency_reduction_frac": 0.9973060344827587,
"rounds_history": [
{
"round": 1,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 21.6,
"max_nnz": 31.0,
"min_nnz": 13.0,
"total_nnz": 6912,
"numel": 921600,
"sparsity": 0.9925,
"utilization": 0.6967741935483871
},
"uticket": {
"mean_nnz": 21.6,
"max_nnz": 31.0,
"min_nnz": 13.0,
"total_nnz": 6912,
"numel": 921600,
"sparsity": 0.9925,
"utilization": 0.6967741935483871
}
},
"layer1": {
"lth": {
"mean_nnz": 96.0,
"max_nnz": 121.0,
"min_nnz": 54.0,
"total_nnz": 49152,
"numel": 163840,
"sparsity": 0.7,
"utilization": 0.7933884297520661
},
"uticket": {
"mean_nnz": 96.0,
"max_nnz": 121.0,
"min_nnz": 54.0,
"total_nnz": 49152,
"numel": 163840,
"sparsity": 0.7,
"utilization": 0.7933884297520661
}
},
"layer2": {
"lth": {
"mean_nnz": 153.6015625,
"max_nnz": 182.0,
"min_nnz": 76.0,
"total_nnz": 39322,
"numel": 131072,
"sparsity": 0.6999969482421875,
"utilization": 0.8439646291208791
},
"uticket": {
"mean_nnz": 153.6015625,
"max_nnz": 182.0,
"min_nnz": 76.0,
"total_nnz": 39322,
"numel": 131072,
"sparsity": 0.6999969482421875,
"utilization": 0.8439646291208791
}
}
},
"latency_proxy": 334,
"sparsity": 0.9215905802819866
},
{
"round": 2,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 6.48125,
"max_nnz": 19.0,
"min_nnz": 0.0,
"total_nnz": 2074,
"numel": 921600,
"sparsity": 0.9977495659722222,
"utilization": 0.34111842105263157
},
"uticket": {
"mean_nnz": 6.48125,
"max_nnz": 19.0,
"min_nnz": 0.0,
"total_nnz": 2074,
"numel": 921600,
"sparsity": 0.9977495659722222,
"utilization": 0.34111842105263157
}
},
"layer1": {
"lth": {
"mean_nnz": 28.80078125,
"max_nnz": 50.0,
"min_nnz": 2.0,
"total_nnz": 14746,
"numel": 163840,
"sparsity": 0.90999755859375,
"utilization": 0.576015625
},
"uticket": {
"mean_nnz": 28.80078125,
"max_nnz": 50.0,
"min_nnz": 2.0,
"total_nnz": 14746,
"numel": 163840,
"sparsity": 0.90999755859375,
"utilization": 0.576015625
}
},
"layer2": {
"lth": {
"mean_nnz": 46.08203125,
"max_nnz": 69.0,
"min_nnz": 20.0,
"total_nnz": 11797,
"numel": 131072,
"sparsity": 0.9099960327148438,
"utilization": 0.6678555253623188
},
"uticket": {
"mean_nnz": 46.08203125,
"max_nnz": 69.0,
"min_nnz": 20.0,
"total_nnz": 11797,
"numel": 131072,
"sparsity": 0.9099960327148438,
"utilization": 0.6678555253623188
}
}
},
"latency_proxy": 138,
"sparsity": 0.9764761876578283
},
{
"round": 3,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 1.94375,
"max_nnz": 9.0,
"min_nnz": 0.0,
"total_nnz": 622,
"numel": 921600,
"sparsity": 0.9993250868055555,
"utilization": 0.21597222222222223
},
"uticket": {
"mean_nnz": 1.94375,
"max_nnz": 9.0,
"min_nnz": 0.0,
"total_nnz": 622,
"numel": 921600,
"sparsity": 0.9993250868055555,
"utilization": 0.21597222222222223
}
},
"layer1": {
"lth": {
"mean_nnz": 8.640625,
"max_nnz": 21.0,
"min_nnz": 0.0,
"total_nnz": 4424,
"numel": 163840,
"sparsity": 0.972998046875,
"utilization": 0.4114583333333333
},
"uticket": {
"mean_nnz": 8.640625,
"max_nnz": 21.0,
"min_nnz": 0.0,
"total_nnz": 4424,
"numel": 163840,
"sparsity": 0.972998046875,
"utilization": 0.4114583333333333
}
},
"layer2": {
"lth": {
"mean_nnz": 13.82421875,
"max_nnz": 24.0,
"min_nnz": 6.0,
"total_nnz": 3539,
"numel": 131072,
"sparsity": 0.9729995727539062,
"utilization": 0.5760091145833334
},
"uticket": {
"mean_nnz": 13.82421875,
"max_nnz": 24.0,
"min_nnz": 6.0,
"total_nnz": 3539,
"numel": 131072,
"sparsity": 0.9729995727539062,
"utilization": 0.5760091145833334
}
}
},
"latency_proxy": 54,
"sparsity": 0.9929429384995792
},
{
"round": 4,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 0.584375,
"max_nnz": 5.0,
"min_nnz": 0.0,
"total_nnz": 187,
"numel": 921600,
"sparsity": 0.9997970920138889,
"utilization": 0.11687499999999999
},
"uticket": {
"mean_nnz": 0.584375,
"max_nnz": 5.0,
"min_nnz": 0.0,
"total_nnz": 187,
"numel": 921600,
"sparsity": 0.9997970920138889,
"utilization": 0.11687499999999999
}
},
"layer1": {
"lth": {
"mean_nnz": 2.591796875,
"max_nnz": 9.0,
"min_nnz": 0.0,
"total_nnz": 1327,
"numel": 163840,
"sparsity": 0.991900634765625,
"utilization": 0.2879774305555556
},
"uticket": {
"mean_nnz": 2.591796875,
"max_nnz": 9.0,
"min_nnz": 0.0,
"total_nnz": 1327,
"numel": 163840,
"sparsity": 0.991900634765625,
"utilization": 0.2879774305555556
}
},
"layer2": {
"lth": {
"mean_nnz": 4.1484375,
"max_nnz": 9.0,
"min_nnz": 1.0,
"total_nnz": 1062,
"numel": 131072,
"sparsity": 0.9918975830078125,
"utilization": 0.4609375
},
"uticket": {
"mean_nnz": 4.1484375,
"max_nnz": 9.0,
"min_nnz": 1.0,
"total_nnz": 1062,
"numel": 131072,
"sparsity": 0.9918975830078125,
"utilization": 0.4609375
}
}
},
"latency_proxy": 23,
"sparsity": 0.9978824705387206
},
{
"round": 5,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 0.17500000000000002,
"max_nnz": 3.0,
"min_nnz": 0.0,
"total_nnz": 56,
"numel": 921600,
"sparsity": 0.9999392361111111,
"utilization": 0.05833333333333334
},
"uticket": {
"mean_nnz": 0.17500000000000002,
"max_nnz": 3.0,
"min_nnz": 0.0,
"total_nnz": 56,
"numel": 921600,
"sparsity": 0.9999392361111111,
"utilization": 0.05833333333333334
}
},
"layer1": {
"lth": {
"mean_nnz": 0.77734375,
"max_nnz": 4.0,
"min_nnz": 0.0,
"total_nnz": 398,
"numel": 163840,
"sparsity": 0.99757080078125,
"utilization": 0.1943359375
},
"uticket": {
"mean_nnz": 0.77734375,
"max_nnz": 4.0,
"min_nnz": 0.0,
"total_nnz": 398,
"numel": 163840,
"sparsity": 0.99757080078125,
"utilization": 0.1943359375
}
},
"layer2": {
"lth": {
"mean_nnz": 1.24609375,
"max_nnz": 3.0,
"min_nnz": 0.0,
"total_nnz": 319,
"numel": 131072,
"sparsity": 0.9975662231445312,
"utilization": 0.4153645833333333
},
"uticket": {
"mean_nnz": 1.24609375,
"max_nnz": 3.0,
"min_nnz": 0.0,
"total_nnz": 319,
"numel": 131072,
"sparsity": 0.9975662231445312,
"utilization": 0.4153645833333333
}
}
},
"latency_proxy": 10,
"sparsity": 0.9993645767571548
}
],
"latency_proxy_lth": 10,
"latency_reduction_vs_lth_frac": 0.0
},
"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/no_balance",
"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": false,
"balance_iters": 2,
"prune_readout": false,
"sampling_rate": 250.0
}
},
"final_summary": {
"final_test_acc": 0.18357142857142858,
"final_test_target_acc": 0.18357142857142858,
"final_test_rest_recall": NaN,
"best_acc": 0.915,
"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.18357142857142858,
"anytime_acc": {
"0.25": 0.05928571428571429,
"0.5": 0.09357142857142857,
"0.75": 0.13714285714285715,
"1.0": 0.18357142857142858
},
"syn_per_inference": 122885.72605519481,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.0010017161256325223,
"syn_per_inference_dense_fanout": 64813828.548701294,
"weight_sparsity": 0.9910226353818865,
"num_ticks": 100,
"dt_ms": 50.0,
"margin_decision_acc": 0.05928571428571429,
"mean_decision_tick": 17.867857142857144,
"mean_decision_ms": 893.3928571428572,
"dense_forward_test_acc": 0.18357142857142858
},
"extra_sweep_file_present": true,
"selftest": {
"mode": "gate",
"passed": true
},
"driver_version": 1,
"zip": {
"name": "no_balance.zip",
"files": 81,
"bytes": 8072095,
"MB": 8.1,
"sha256": "03f8c3bfa863c3e46ffb08d9deff382fce93499bbdbee3b6d6d576fce9ce9721"
}
}