SSVEN_pasqwerty / applied /opt06_uticket_prune /prune_rate_0.3.summary.json
p-j-r-1-2-3's picture
add run prune_rate_0.3
dd207c0 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.3",
"tag": "prune_rate_0.3",
"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.3",
"--keep-epoch-weights",
"1",
"--resplit",
"block",
"--drop-rest",
"--bench",
"--prune-rate",
"0.3"
],
"flags": [
"--prune-rate",
"0.3"
],
"epochs_requested": 60,
"gpus": 2,
"relative_epoch_cost": 1.0,
"exit_code": 0,
"status": "ok",
"duration_s": 330.0,
"started_utc": "2026-08-23T04:58:19.399803+00:00",
"finished_utc": "2026-08-23T05:03:49.403439+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.9242857142857143,
"test_target_acc": 0.9242857142857143,
"best_val_acc": 0.9421428571428572
},
"efficiency": {
"spikes_per_inference": null,
"syn_ops_per_inference": 692787.4597199676,
"dense_macs_per_inference": 122675200.0,
"event_fraction_of_dense": 0.00564733099860418,
"syn_ops_per_inference_dense_fanout": 65019838.74512987,
"weight_sparsity": 0.9480383973288815,
"effective_ticks": 12.962142857142856,
"num_ticks": 100,
"membrane_bytes_per_inference": 451200,
"weight_bytes": 4907008,
"input_raster_bytes": null,
"train_ms_per_step": 99.30589320001673,
"infer_ms_per_sample": 0.6449458206247982,
"peak_vram_mb": 2836.187648,
"weight_bytes_nonzero": 215817
},
"optimization_specific": {
"pruning_enabled": true,
"balance_enabled": true,
"rounds": 5,
"final_sparsity": 0.9560185185185185,
"nnz_per_layer": {
"layer0": 3840,
"layer1": 27648,
"layer2": 22016
},
"pe_stats_per_layer": {
"layer0": {
"mean_nnz": 12.0,
"max_nnz": 12.0,
"min_nnz": 12.0,
"total_nnz": 3840,
"numel": 921600,
"sparsity": 0.9958333333333333,
"utilization": 1.0
},
"layer1": {
"mean_nnz": 54.0,
"max_nnz": 54.0,
"min_nnz": 54.0,
"total_nnz": 27648,
"numel": 163840,
"sparsity": 0.83125,
"utilization": 1.0
},
"layer2": {
"mean_nnz": 86.0,
"max_nnz": 86.0,
"min_nnz": 86.0,
"total_nnz": 22016,
"numel": 131072,
"sparsity": 0.83203125,
"utilization": 1.0
}
},
"pe_utilization_final": 1.0,
"pe_utilization_lth": 0.7511162106015652,
"pe_utilization_uticket": 1.0,
"latency_proxy_dense": 3712,
"latency_proxy_final": 152,
"latency_reduction_frac": 0.959051724137931,
"rounds_history": [
{
"round": 1,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 50.400000000000006,
"max_nnz": 61.0,
"min_nnz": 35.0,
"total_nnz": 16128,
"numel": 921600,
"sparsity": 0.9825,
"utilization": 0.8262295081967214
},
"uticket": {
"mean_nnz": 50.0,
"max_nnz": 50.0,
"min_nnz": 50.0,
"total_nnz": 16000,
"numel": 921600,
"sparsity": 0.9826388888888888,
"utilization": 1.0
}
},
"layer1": {
"lth": {
"mean_nnz": 224.0,
"max_nnz": 253.0,
"min_nnz": 192.0,
"total_nnz": 114688,
"numel": 163840,
"sparsity": 0.30000000000000004,
"utilization": 0.8853754940711462
},
"uticket": {
"mean_nnz": 224.0,
"max_nnz": 224.0,
"min_nnz": 224.0,
"total_nnz": 114688,
"numel": 163840,
"sparsity": 0.30000000000000004,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 358.3984375,
"max_nnz": 386.0,
"min_nnz": 333.0,
"total_nnz": 91750,
"numel": 131072,
"sparsity": 0.3000030517578125,
"utilization": 0.9284933613989638
},
"uticket": {
"mean_nnz": 358.0,
"max_nnz": 358.0,
"min_nnz": 358.0,
"total_nnz": 91648,
"numel": 131072,
"sparsity": 0.30078125,
"utilization": 1.0
}
}
},
"latency_proxy": 632,
"sparsity": 0.8172348484848485
},
{
"round": 2,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 35.0,
"max_nnz": 46.0,
"min_nnz": 24.0,
"total_nnz": 11200,
"numel": 921600,
"sparsity": 0.9878472222222222,
"utilization": 0.7608695652173914
},
"uticket": {
"mean_nnz": 35.0,
"max_nnz": 35.0,
"min_nnz": 35.0,
"total_nnz": 11200,
"numel": 921600,
"sparsity": 0.9878472222222222,
"utilization": 1.0
}
},
"layer1": {
"lth": {
"mean_nnz": 156.80078125,
"max_nnz": 178.0,
"min_nnz": 97.0,
"total_nnz": 80282,
"numel": 163840,
"sparsity": 0.50999755859375,
"utilization": 0.8809032654494382
},
"uticket": {
"mean_nnz": 157.0,
"max_nnz": 157.0,
"min_nnz": 157.0,
"total_nnz": 80384,
"numel": 163840,
"sparsity": 0.509375,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 250.6015625,
"max_nnz": 283.0,
"min_nnz": 202.0,
"total_nnz": 64154,
"numel": 131072,
"sparsity": 0.5105438232421875,
"utilization": 0.8855178886925795
},
"uticket": {
"mean_nnz": 251.0,
"max_nnz": 251.0,
"min_nnz": 251.0,
"total_nnz": 64256,
"numel": 131072,
"sparsity": 0.509765625,
"utilization": 1.0
}
}
},
"latency_proxy": 443,
"sparsity": 0.8718960437710438
},
{
"round": 3,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 24.5,
"max_nnz": 34.0,
"min_nnz": 15.0,
"total_nnz": 7840,
"numel": 921600,
"sparsity": 0.9914930555555556,
"utilization": 0.7205882352941176
},
"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": 109.900390625,
"max_nnz": 137.0,
"min_nnz": 60.0,
"total_nnz": 56269,
"numel": 163840,
"sparsity": 0.656561279296875,
"utilization": 0.8021926322992701
},
"uticket": {
"mean_nnz": 110.0,
"max_nnz": 110.0,
"min_nnz": 110.0,
"total_nnz": 56320,
"numel": 163840,
"sparsity": 0.65625,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 175.69921875,
"max_nnz": 201.0,
"min_nnz": 143.0,
"total_nnz": 44979,
"numel": 131072,
"sparsity": 0.6568374633789062,
"utilization": 0.8741254664179104
},
"uticket": {
"mean_nnz": 176.0,
"max_nnz": 176.0,
"min_nnz": 176.0,
"total_nnz": 45056,
"numel": 131072,
"sparsity": 0.65625,
"utilization": 1.0
}
}
},
"latency_proxy": 310,
"sparsity": 0.9103535353535354
},
{
"round": 4,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 16.8,
"max_nnz": 24.0,
"min_nnz": 8.0,
"total_nnz": 5376,
"numel": 921600,
"sparsity": 0.9941666666666666,
"utilization": 0.7000000000000001
},
"uticket": {
"mean_nnz": 17.0,
"max_nnz": 17.0,
"min_nnz": 17.0,
"total_nnz": 5440,
"numel": 921600,
"sparsity": 0.9940972222222222,
"utilization": 1.0
}
},
"layer1": {
"lth": {
"mean_nnz": 77.0,
"max_nnz": 100.0,
"min_nnz": 30.0,
"total_nnz": 39424,
"numel": 163840,
"sparsity": 0.759375,
"utilization": 0.77
},
"uticket": {
"mean_nnz": 77.0,
"max_nnz": 77.0,
"min_nnz": 77.0,
"total_nnz": 39424,
"numel": 163840,
"sparsity": 0.759375,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 123.19921875,
"max_nnz": 146.0,
"min_nnz": 101.0,
"total_nnz": 31539,
"numel": 131072,
"sparsity": 0.7593765258789062,
"utilization": 0.843830265410959
},
"uticket": {
"mean_nnz": 123.0,
"max_nnz": 123.0,
"min_nnz": 123.0,
"total_nnz": 31488,
"numel": 131072,
"sparsity": 0.759765625,
"utilization": 1.0
}
}
},
"latency_proxy": 217,
"sparsity": 0.9372369528619529
},
{
"round": 5,
"layers": {
"layer0": {
"lth": {
"mean_nnz": 11.9,
"max_nnz": 17.0,
"min_nnz": 3.0,
"total_nnz": 3808,
"numel": 921600,
"sparsity": 0.9958680555555556,
"utilization": 0.7000000000000001
},
"uticket": {
"mean_nnz": 12.0,
"max_nnz": 12.0,
"min_nnz": 12.0,
"total_nnz": 3840,
"numel": 921600,
"sparsity": 0.9958333333333333,
"utilization": 1.0
}
},
"layer1": {
"lth": {
"mean_nnz": 53.900390625,
"max_nnz": 76.0,
"min_nnz": 6.0,
"total_nnz": 27597,
"numel": 163840,
"sparsity": 0.831561279296875,
"utilization": 0.709215666118421
},
"uticket": {
"mean_nnz": 54.0,
"max_nnz": 54.0,
"min_nnz": 54.0,
"total_nnz": 27648,
"numel": 163840,
"sparsity": 0.83125,
"utilization": 1.0
}
},
"layer2": {
"lth": {
"mean_nnz": 86.1015625,
"max_nnz": 102.0,
"min_nnz": 62.0,
"total_nnz": 22042,
"numel": 131072,
"sparsity": 0.8318328857421875,
"utilization": 0.8441329656862745
},
"uticket": {
"mean_nnz": 86.0,
"max_nnz": 86.0,
"min_nnz": 86.0,
"total_nnz": 22016,
"numel": 131072,
"sparsity": 0.83203125,
"utilization": 1.0
}
}
},
"latency_proxy": 152,
"sparsity": 0.9560185185185185
}
],
"latency_proxy_lth": 195,
"latency_reduction_vs_lth_frac": 0.2205128205128205
},
"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.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": 5,
"prune_rate": 0.3,
"rewind_epoch": 1,
"balance": true,
"balance_iters": 2,
"prune_readout": false,
"sampling_rate": 250.0
}
},
"final_summary": {
"final_test_acc": 0.9242857142857143,
"final_test_target_acc": 0.9242857142857143,
"final_test_rest_recall": NaN,
"best_acc": 0.9421428571428572,
"best_epoch": 35,
"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.9242857142857143,
"anytime_acc": {
"0.25": 0.5578571428571428,
"0.5": 0.8207142857142857,
"0.75": 0.8928571428571429,
"1.0": 0.9242857142857143
},
"syn_per_inference": 692787.4597199676,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.00564733099860418,
"syn_per_inference_dense_fanout": 65019838.74512987,
"weight_sparsity": 0.9480383973288815,
"num_ticks": 100,
"dt_ms": 50.0,
"margin_decision_acc": 0.4,
"mean_decision_tick": 12.962142857142856,
"mean_decision_ms": 648.1071428571429,
"dense_forward_test_acc": 0.9242857142857143
},
"extra_sweep_file_present": true,
"selftest": {
"mode": "gate",
"passed": true
},
"driver_version": 1,
"zip": {
"name": "prune_rate_0.3.zip",
"files": 81,
"bytes": 8932688,
"MB": 8.9,
"sha256": "da220c764f1de0b5d5475597bbd3fea15674bbe7e43b02884ad8bf414fc7c8c2"
}
}