SSVEN_pasqwerty / applied /opt06_uticket_prune /rewind_epoch_0.summary.json
p-j-r-1-2-3's picture
add run rewind_epoch_0
1b88c94 verified
Raw
History Blame Contribute Delete
16.6 kB
Invalid JSON:Unexpected token 'N', ..."_recall": NaN, ""... is not valid JSON
{
"key": "opt06_uticket_prune/rewind_epoch_0",
"tag": "rewind_epoch_0",
"script": "opt06_uticket_prune.py",
"script_sha256_16": "13957bb36508b8cf",
"hf_folder": "applied/opt06_uticket_prune",
"priority": 2,
"note": "rewind to initialization (the original LTH prescription)",
"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/rewind_epoch_0",
"--keep-epoch-weights",
"1",
"--resplit",
"block",
"--drop-rest",
"--bench",
"--rewind-epoch",
"0"
],
"flags": [
"--rewind-epoch",
"0"
],
"epochs_requested": 60,
"gpus": 2,
"relative_epoch_cost": 1.0,
"exit_code": 0,
"status": "ok",
"duration_s": 321.6,
"started_utc": "2026-08-23T04:14:48.225899+00:00",
"finished_utc": "2026-08-23T04:20:09.853733+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.7814285714285715,
"test_target_acc": 0.7814285714285715,
"best_val_acc": 0.9264285714285714
},
"efficiency": {
"spikes_per_inference": null,
"syn_ops_per_inference": 216478.7705965909,
"dense_macs_per_inference": 122675200.0,
"event_fraction_of_dense": 0.0017646498281363382,
"syn_ops_per_inference_dense_fanout": 65202982.11444805,
"weight_sparsity": 0.983618530884808,
"effective_ticks": 12.964285714285714,
"num_ticks": 100,
"membrane_bytes_per_inference": 451200,
"weight_bytes": 4907008,
"input_raster_bytes": null,
"train_ms_per_step": 94.85441450001417,
"infer_ms_per_sample": 0.6180852540624926,
"peak_vram_mb": 2837.810688,
"weight_bytes_nonzero": 39755
},
"optimization_specific": {
"pruning_enabled": true,
"balance_enabled": true,
"rounds": 5,
"final_sparsity": 0.9918981481481481,
"nnz_per_layer": {
"layer0": 640,
"layer1": 5120,
"layer2": 4096
},
"pe_stats_per_layer": {
"layer0": {
"mean_nnz": 2.0,
"max_nnz": 2.0,
"min_nnz": 2.0,
"total_nnz": 640,
"numel": 921600,
"sparsity": 0.9993055555555556,
"utilization": 1.0
},
"layer1": {
"mean_nnz": 10.0,
"max_nnz": 10.0,
"min_nnz": 10.0,
"total_nnz": 5120,
"numel": 163840,
"sparsity": 0.96875,
"utilization": 1.0
},
"layer2": {
"mean_nnz": 16.0,
"max_nnz": 16.0,
"min_nnz": 16.0,
"total_nnz": 4096,
"numel": 131072,
"sparsity": 0.96875,
"utilization": 1.0
}
},
"pe_utilization_final": 1.0,
"pe_utilization_lth": 0.5554385964912281,
"pe_utilization_uticket": 1.0,
"latency_proxy_dense": 3712,
"latency_proxy_final": 28,
"latency_reduction_frac": 0.9924568965517241,
"rounds_history": [
{
"round": 1,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 36.0,
"max_nnz": 46.0,
"min_nnz": 27.0,
"total_nnz": 11520,
"numel": 921600,
"sparsity": 0.9875,
"utilization": 0.782608695652174
},
"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": 189.0,
"min_nnz": 123.0,
"total_nnz": 81920,
"numel": 163840,
"sparsity": 0.5,
"utilization": 0.8465608465608465
},
"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": 292.0,
"min_nnz": 197.0,
"total_nnz": 65536,
"numel": 131072,
"sparsity": 0.5,
"utilization": 0.8767123287671232
},
"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": 27.0,
"min_nnz": 9.0,
"total_nnz": 5760,
"numel": 921600,
"sparsity": 0.99375,
"utilization": 0.6666666666666666
},
"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": 110.0,
"min_nnz": 32.0,
"total_nnz": 40960,
"numel": 163840,
"sparsity": 0.75,
"utilization": 0.7272727272727273
},
"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": 161.0,
"min_nnz": 90.0,
"total_nnz": 32768,
"numel": 131072,
"sparsity": 0.75,
"utilization": 0.7950310559006211
},
"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": 17.0,
"min_nnz": 3.0,
"total_nnz": 2880,
"numel": 921600,
"sparsity": 0.996875,
"utilization": 0.5294117647058824
},
"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": 63.0,
"min_nnz": 3.0,
"total_nnz": 20480,
"numel": 163840,
"sparsity": 0.875,
"utilization": 0.6349206349206349
},
"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": 81.0,
"min_nnz": 40.0,
"total_nnz": 16384,
"numel": 131072,
"sparsity": 0.875,
"utilization": 0.7901234567901234
},
"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
},
{
"round": 4,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 4.5,
"max_nnz": 9.0,
"min_nnz": 0.0,
"total_nnz": 1440,
"numel": 921600,
"sparsity": 0.9984375,
"utilization": 0.5
},
"uticket": {
"mean_nnz": 4.0,
"max_nnz": 4.0,
"min_nnz": 4.0,
"total_nnz": 1280,
"numel": 921600,
"sparsity": 0.9986111111111111,
"utilization": 1.0
}
},
"layer1": {
"lth": {
"mean_nnz": 20.0,
"max_nnz": 34.0,
"min_nnz": 0.0,
"total_nnz": 10240,
"numel": 163840,
"sparsity": 0.9375,
"utilization": 0.5882352941176471
},
"uticket": {
"mean_nnz": 20.0,
"max_nnz": 20.0,
"min_nnz": 20.0,
"total_nnz": 10240,
"numel": 163840,
"sparsity": 0.9375,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 32.0,
"max_nnz": 44.0,
"min_nnz": 20.0,
"total_nnz": 8192,
"numel": 131072,
"sparsity": 0.9375,
"utilization": 0.7272727272727273
},
"uticket": {
"mean_nnz": 32.0,
"max_nnz": 32.0,
"min_nnz": 32.0,
"total_nnz": 8192,
"numel": 131072,
"sparsity": 0.9375,
"utilization": 1.0
}
}
},
"latency_proxy": 56,
"sparsity": 0.9837962962962963
},
{
"round": 5,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 2.0,
"max_nnz": 4.0,
"min_nnz": 0.0,
"total_nnz": 640,
"numel": 921600,
"sparsity": 0.9993055555555556,
"utilization": 0.5
},
"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": 10.0,
"max_nnz": 19.0,
"min_nnz": 0.0,
"total_nnz": 5120,
"numel": 163840,
"sparsity": 0.96875,
"utilization": 0.5263157894736842
},
"uticket": {
"mean_nnz": 10.0,
"max_nnz": 10.0,
"min_nnz": 10.0,
"total_nnz": 5120,
"numel": 163840,
"sparsity": 0.96875,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 16.0,
"max_nnz": 25.0,
"min_nnz": 5.0,
"total_nnz": 4096,
"numel": 131072,
"sparsity": 0.96875,
"utilization": 0.64
},
"uticket": {
"mean_nnz": 16.0,
"max_nnz": 16.0,
"min_nnz": 16.0,
"total_nnz": 4096,
"numel": 131072,
"sparsity": 0.96875,
"utilization": 1.0
}
}
},
"latency_proxy": 28,
"sparsity": 0.9918981481481481
}
],
"latency_proxy_lth": 48,
"latency_reduction_vs_lth_frac": 0.41666666666666663
},
"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/rewind_epoch_0",
"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.5,
"rewind_epoch": 0,
"balance": true,
"balance_iters": 2,
"prune_readout": false,
"sampling_rate": 250.0
}
},
"final_summary": {
"final_test_acc": 0.7814285714285715,
"final_test_target_acc": 0.7814285714285715,
"final_test_rest_recall": NaN,
"best_acc": 0.9264285714285714,
"best_epoch": 28,
"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.7814285714285715,
"anytime_acc": {
"0.25": 0.3364285714285714,
"0.5": 0.6157142857142858,
"0.75": 0.7171428571428572,
"1.0": 0.7814285714285715
},
"syn_per_inference": 216478.7705965909,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.0017646498281363382,
"syn_per_inference_dense_fanout": 65202982.11444805,
"weight_sparsity": 0.983618530884808,
"num_ticks": 100,
"dt_ms": 50.0,
"margin_decision_acc": 0.22357142857142856,
"mean_decision_tick": 12.964285714285714,
"mean_decision_ms": 648.2142857142858,
"dense_forward_test_acc": 0.7814285714285715
},
"extra_sweep_file_present": true,
"selftest": {
"mode": "gate",
"passed": true
},
"driver_version": 1,
"zip": {
"name": "rewind_epoch_0.zip",
"files": 81,
"bytes": 8131993,
"MB": 8.1,
"sha256": "2759d4be6c9db943f9a4bdcb3c0501243b30044c7b1df1e065f9089899f000db"
}
}