SSVEN_pasqwerty / applied /opt06_uticket_prune /prune_rounds_3.summary.json
p-j-r-1-2-3's picture
add run prune_rounds_3
db2835d verified
Raw
History Blame Contribute Delete
12.6 kB
Invalid JSON:Unexpected token 'N', ..."_recall": NaN, ""... is not valid JSON
{
"key": "opt06_uticket_prune/prune_rounds_3",
"tag": "prune_rounds_3",
"script": "opt06_uticket_prune.py",
"script_sha256_16": "13957bb36508b8cf",
"hf_folder": "applied/opt06_uticket_prune",
"priority": 2,
"note": "",
"phase": 9,
"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_rounds_3",
"--keep-epoch-weights",
"1",
"--resplit",
"block",
"--drop-rest",
"--bench",
"--prune-rounds",
"3"
],
"flags": [
"--prune-rounds",
"3"
],
"epochs_requested": 60,
"gpus": 2,
"relative_epoch_cost": 1.0,
"exit_code": 0,
"status": "ok",
"duration_s": 320.7,
"started_utc": "2026-08-23T04:03:57.671625+00:00",
"finished_utc": "2026-08-23T04:09:18.399792+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.9057142857142857,
"test_target_acc": 0.9057142857142857,
"best_val_acc": 0.9407142857142857
},
"efficiency": {
"spikes_per_inference": null,
"syn_ops_per_inference": 550376.6811079546,
"dense_macs_per_inference": 122675200.0,
"event_fraction_of_dense": 0.004486454320905567,
"syn_ops_per_inference_dense_fanout": 65058668.56331169,
"weight_sparsity": 0.9592550083472454,
"effective_ticks": 13.450714285714286,
"num_ticks": 100,
"membrane_bytes_per_inference": 451200,
"weight_bytes": 4907008,
"input_raster_bytes": null,
"train_ms_per_step": 94.40872569999783,
"infer_ms_per_sample": 0.6202037340624855,
"peak_vram_mb": 2837.544448,
"weight_bytes_nonzero": 160314
},
"optimization_specific": {
"pruning_enabled": true,
"balance_enabled": true,
"rounds": 3,
"final_sparsity": 0.9673295454545454,
"nnz_per_layer": {
"layer0": 2880,
"layer1": 20480,
"layer2": 16384
},
"pe_stats_per_layer": {
"layer0": {
"mean_nnz": 9.0,
"max_nnz": 9.0,
"min_nnz": 9.0,
"total_nnz": 2880,
"numel": 921600,
"sparsity": 0.996875,
"utilization": 1.0
},
"layer1": {
"mean_nnz": 40.0,
"max_nnz": 40.0,
"min_nnz": 40.0,
"total_nnz": 20480,
"numel": 163840,
"sparsity": 0.875,
"utilization": 1.0
},
"layer2": {
"mean_nnz": 64.0,
"max_nnz": 64.0,
"min_nnz": 64.0,
"total_nnz": 16384,
"numel": 131072,
"sparsity": 0.875,
"utilization": 1.0
}
},
"pe_utilization_final": 1.0,
"pe_utilization_lth": 0.623062015503876,
"pe_utilization_uticket": 1.0,
"latency_proxy_dense": 3712,
"latency_proxy_final": 113,
"latency_reduction_frac": 0.9695581896551724,
"rounds_history": [
{
"round": 1,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 36.0,
"max_nnz": 49.0,
"min_nnz": 25.0,
"total_nnz": 11520,
"numel": 921600,
"sparsity": 0.9875,
"utilization": 0.7346938775510204
},
"uticket": {
"mean_nnz": 36.0,
"max_nnz": 36.0,
"min_nnz": 36.0,
"total_nnz": 11520,
"numel": 921600,
"sparsity": 0.9875,
"utilization": 1.0
}
},
"layer1": {
"lth": {
"mean_nnz": 160.0,
"max_nnz": 190.0,
"min_nnz": 93.0,
"total_nnz": 81920,
"numel": 163840,
"sparsity": 0.5,
"utilization": 0.8421052631578947
},
"uticket": {
"mean_nnz": 160.0,
"max_nnz": 160.0,
"min_nnz": 160.0,
"total_nnz": 81920,
"numel": 163840,
"sparsity": 0.5,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 256.0,
"max_nnz": 297.0,
"min_nnz": 193.0,
"total_nnz": 65536,
"numel": 131072,
"sparsity": 0.5,
"utilization": 0.8619528619528619
},
"uticket": {
"mean_nnz": 256.0,
"max_nnz": 256.0,
"min_nnz": 256.0,
"total_nnz": 65536,
"numel": 131072,
"sparsity": 0.5,
"utilization": 1.0
}
}
},
"latency_proxy": 452,
"sparsity": 0.8693181818181819
},
{
"round": 2,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 18.0,
"max_nnz": 29.0,
"min_nnz": 8.0,
"total_nnz": 5760,
"numel": 921600,
"sparsity": 0.99375,
"utilization": 0.6206896551724138
},
"uticket": {
"mean_nnz": 18.0,
"max_nnz": 18.0,
"min_nnz": 18.0,
"total_nnz": 5760,
"numel": 921600,
"sparsity": 0.99375,
"utilization": 1.0
}
},
"layer1": {
"lth": {
"mean_nnz": 80.0,
"max_nnz": 115.0,
"min_nnz": 28.0,
"total_nnz": 40960,
"numel": 163840,
"sparsity": 0.75,
"utilization": 0.6956521739130435
},
"uticket": {
"mean_nnz": 80.0,
"max_nnz": 80.0,
"min_nnz": 80.0,
"total_nnz": 40960,
"numel": 163840,
"sparsity": 0.75,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 128.0,
"max_nnz": 157.0,
"min_nnz": 99.0,
"total_nnz": 32768,
"numel": 131072,
"sparsity": 0.75,
"utilization": 0.8152866242038217
},
"uticket": {
"mean_nnz": 128.0,
"max_nnz": 128.0,
"min_nnz": 128.0,
"total_nnz": 32768,
"numel": 131072,
"sparsity": 0.75,
"utilization": 1.0
}
}
},
"latency_proxy": 226,
"sparsity": 0.9346590909090909
},
{
"round": 3,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 9.0,
"max_nnz": 18.0,
"min_nnz": 1.0,
"total_nnz": 2880,
"numel": 921600,
"sparsity": 0.996875,
"utilization": 0.5
},
"uticket": {
"mean_nnz": 9.0,
"max_nnz": 9.0,
"min_nnz": 9.0,
"total_nnz": 2880,
"numel": 921600,
"sparsity": 0.996875,
"utilization": 1.0
}
},
"layer1": {
"lth": {
"mean_nnz": 40.0,
"max_nnz": 64.0,
"min_nnz": 6.0,
"total_nnz": 20480,
"numel": 163840,
"sparsity": 0.875,
"utilization": 0.625
},
"uticket": {
"mean_nnz": 40.0,
"max_nnz": 40.0,
"min_nnz": 40.0,
"total_nnz": 20480,
"numel": 163840,
"sparsity": 0.875,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 64.0,
"max_nnz": 86.0,
"min_nnz": 45.0,
"total_nnz": 16384,
"numel": 131072,
"sparsity": 0.875,
"utilization": 0.7441860465116279
},
"uticket": {
"mean_nnz": 64.0,
"max_nnz": 64.0,
"min_nnz": 64.0,
"total_nnz": 16384,
"numel": 131072,
"sparsity": 0.875,
"utilization": 1.0
}
}
},
"latency_proxy": 113,
"sparsity": 0.9673295454545454
}
],
"latency_proxy_lth": 168,
"latency_reduction_vs_lth_frac": 0.32738095238095233
},
"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_rounds_3",
"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": 3,
"prune_rate": 0.5,
"rewind_epoch": 1,
"balance": true,
"balance_iters": 2,
"prune_readout": false,
"sampling_rate": 250.0
}
},
"final_summary": {
"final_test_acc": 0.9057142857142857,
"final_test_target_acc": 0.9057142857142857,
"final_test_rest_recall": NaN,
"best_acc": 0.9407142857142857,
"best_epoch": 41,
"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.9057142857142857,
"anytime_acc": {
"0.25": 0.5371428571428571,
"0.5": 0.7807142857142857,
"0.75": 0.8742857142857143,
"1.0": 0.9057142857142857
},
"syn_per_inference": 550376.6811079546,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.004486454320905567,
"syn_per_inference_dense_fanout": 65058668.56331169,
"weight_sparsity": 0.9592550083472454,
"num_ticks": 100,
"dt_ms": 50.0,
"margin_decision_acc": 0.3742857142857143,
"mean_decision_tick": 13.450714285714286,
"mean_decision_ms": 672.5357142857143,
"dense_forward_test_acc": 0.9057142857142857
},
"extra_sweep_file_present": true,
"selftest": {
"mode": "gate",
"passed": true
},
"driver_version": 1,
"zip": {
"name": "prune_rounds_3.zip",
"files": 81,
"bytes": 8378826,
"MB": 8.4,
"sha256": "4f95cb87dd3ae4936d31d4c1e94317cb6a26fbeb7da655363811df3a91cd6bf8"
}
}