diff --git "a/applied/_index/APPLIED_RUNS_INDEX.json" "b/applied/_index/APPLIED_RUNS_INDEX.json" --- "a/applied/_index/APPLIED_RUNS_INDEX.json" +++ "b/applied/_index/APPLIED_RUNS_INDEX.json" @@ -657,155 +657,62 @@ } }, { - "key": "opt02_seenn_bayes/conf_sweep_fine", - "tag": "conf_sweep_fine", - "script": "opt02_seenn_bayes.py", - "hf_folder": "applied/opt02_seenn_bayes", - "phase": 7, + "key": "opt03_ftbc_threshold_balance/control_baseline", + "tag": "control_baseline", + "script": "opt03_ftbc_threshold_balance.py", + "hf_folder": "applied/opt03_ftbc_threshold_balance", + "phase": 1, "status": "ok", - "duration_s": 909.8, + "duration_s": 321.7, "optimization_summary": { - "optimization": "seenn_early_exit_bayesian_fusion", - "research_section": "2. Temporal-dimension reduction", - "reference": "SEENN: Towards Temporal Spiking Early-Exit Neural Networks, arXiv:2304.01230 (NeurIPS 2023); BayesianSpikeFusion, Front. Neurosci. 2024 (PMC11330889)", - "script": "opt02_seenn_bayes.py", - "baseline_mode": false, + "optimization": "ftbc_threshold_balance", + "research_section": "2. Temporal-Dimension Reduction (threshold balancing + FTBC)", + "reference": "Rueckauer et al. arXiv:1612.04052; Sengupta et al. arXiv:1802.02627; FTBC: Forward Temporal Bias Correction, ECCV 2024", + "script": "opt03_ftbc_threshold_balance.py", + "baseline_mode": true, "method": "harmonic_matched", "accuracy": { - "test_acc": 0.9342857142857143, - "test_target_acc": 0.9342857142857143, - "best_val_acc": 0.9285714285714286 + "test_acc": 0.9421428571428572, + "test_target_acc": 0.9421428571428572, + "best_val_acc": 0.945 }, "efficiency": { "spikes_per_inference": null, - "syn_ops_per_inference": 3615247.340909091, - "dense_macs_per_inference": 123955200.0, - "event_fraction_of_dense": 0.02916575779724522, - "syn_ops_per_inference_dense_fanout": 65191865.127435066, + "syn_ops_per_inference": 3271536.9975649347, + "dense_macs_per_inference": 122675200.0, + "event_fraction_of_dense": 0.026668283382174512, + "syn_ops_per_inference_dense_fanout": 64848154.78409091, "weight_sparsity": 0.7324707846410685, - "effective_ticks": 8.057142857142857, + "effective_ticks": 12.079285714285714, "num_ticks": 100, "membrane_bytes_per_inference": 451200, "weight_bytes": 4907008, "input_raster_bytes": null, - "train_ms_per_step": 180.51012754440308, - "infer_ms_per_sample": 0.6378180717104044, - "peak_vram_mb": 10915.470336, - "syn_ops_per_inference_early_exit": 1822430.1501623376 + "train_ms_per_step": 94.71398885000326, + "infer_ms_per_sample": 0.6264105418749466, + "peak_vram_mb": 2828.282368 }, "optimization_specific": { - "seenn_enabled": true, - "bayes_fusion_enabled": true, - "conf_threshold": 0.9, - "conf_temp": 2.0, - "anytime_fracs": "0.25,0.5,1.0", - "anytime_weights": "0.3,0.3,1.0", - "ic_loss_weight": 0.3, - "ic_layer": 0, - "mean_exit_tick": 8.057142857142857, - "mean_exit_ms": 402.85714285714283, - "ticks_saved_frac": 0.9194285714285715, - "exit_tick_histogram": { - "counts": [ - 1022, - 331, - 39, - 5, - 3, - 0, - 0, - 0, - 0, - 0 - ], - "edges": [ - 0.0, - 10.0, - 20.0, - 30.0, - 40.0, - 50.0, - 60.0, - 70.0, - 80.0, - 90.0, - 100.0 - ] - }, - "acc_fc_only": 0.9342857142857143, - "acc_ic_only": 0.9292857142857143, - "acc_fused": 0.94, - "acc_early_exit": 0.37714285714285717, - "syn_ops_saved_frac": 0.49590443521242755, - "syn_per_inference_early_exit": 1822430.1501623376, - "anytime_acc": { - "0.25": 0.615, - "0.5": 0.8142857142857143, - "0.75": 0.895, - "1.0": 0.9342857142857143 - }, - "pareto": [ - { - "conf": 0.3, - "mean_ticks": 2.82, - "acc": 0.17142857142857143, - "syn_ops": 1600944.0178571427 - }, - { - "conf": 0.4, - "mean_ticks": 3.285, - "acc": 0.18571428571428572, - "syn_ops": 1629355.7386363635 - }, - { - "conf": 0.5, - "mean_ticks": 4.3757142857142854, - "acc": 0.24285714285714285, - "syn_ops": 1687021.986201299 - }, - { - "conf": 0.6, - "mean_ticks": 4.670714285714285, - "acc": 0.2507142857142857, - "syn_ops": 1699344.8084415584 - }, - { - "conf": 0.7, - "mean_ticks": 5.075714285714286, - "acc": 0.26285714285714284, - "syn_ops": 1716703.7767857143 - }, - { - "conf": 0.8, - "mean_ticks": 5.987857142857143, - "acc": 0.2914285714285714, - "syn_ops": 1753268.2150974027 - }, - { - "conf": 0.9, - "mean_ticks": 8.057142857142857, - "acc": 0.37714285714285717, - "syn_ops": 1822430.0933441557 - }, - { - "conf": 0.95, - "mean_ticks": 10.176428571428572, - "acc": 0.45, - "syn_ops": 1882071.5430194808 - }, - { - "conf": 0.99, - "mean_ticks": 14.704285714285714, - "acc": 0.5742857142857143, - "syn_ops": 1981175.7142857143 - }, - { - "conf": 0.999, - "mean_ticks": 19.547142857142855, - "acc": 0.68, - "syn_ops": 2074480.44237013 - } - ] + "calibrate_thresh": false, + "ftbc": false, + "calib_percentile": 99.9, + "calib_batches": 8, + "ftbc_target_ticks": 8, + "ftbc_ref_ticks": 100, + "trained_T": 100, + "thresh_before": [ + 1.0, + 1.0, + 1.0, + 1.0 + ], + "thresh_after": null, + "min_ticks_within_1pct_of_full": null, + "min_ticks_within_1pct_per_arm": null, + "speedup_at_min_ticks": null, + "full_T_acc": null, + "t_sweep_rows": null, + "calibration_reference": "same network at full T (NOT a source ANN)" }, "config": { "method": "harmonic_matched", @@ -845,163 +752,296 @@ "decision_margin": 2.0, "export": false, "seed": 1234, - "baseline": false, - "bench": true, - "bench_warmup": 10, - "bench_iters": 50, - "bench_train_steps": 20, - "anytime_fracs": "0.25,0.5,1.0", - "anytime_weights": "0.3,0.3,1.0", - "ic_layer": 0, - "ic_loss_weight": 0.3, - "bayes_fusion": true, - "fusion_prior_weight": 1.0, - "conf_threshold": 0.9, - "conf_temp": 2.0, - "conf_sweep": "0.3,0.4,0.5,0.6,0.7,0.8,0.9,0.95,0.99,0.999", - "hub_dir": "/kaggle/working/hub/opt02_seenn_bayes/conf_sweep_fine", + "hub_dir": "/kaggle/working/hub/opt03_ftbc_threshold_balance/control_baseline", "repo_id": "UWU-R-13/SSVEP-SNN", "push_hf": false, "keep_epoch_weights": 1, "no_resume": true, "selftest": false, + "baseline": true, + "bench": true, + "bench_warmup": 10, + "bench_iters": 50, + "bench_train_steps": 20, + "calibrate_thresh": true, + "calib_percentile": 99.9, + "calib_batches": 8, + "ftbc": true, + "ftbc_target_ticks": 8, + "ftbc_ref_ticks": 0, + "ftbc_lr": 1.0, + "t_sweep": "4,8,16,25,50,100", "sampling_rate": 250.0 } }, "zip": { - "name": "conf_sweep_fine.zip", - "files": 81, - "bytes": 12637373, - "MB": 12.6, - "sha256": "e33a7b3b8947f0b0a5fd13a441d22f8068a82f8246738956132681351836f98c" + "name": "control_baseline.zip", + "files": 80, + "bytes": 12244248, + "MB": 12.2, + "sha256": "c24f218a83b9e351cc6d43ef1b51d7b3f9e3bfa86c64ae22f40bc90ce4f087a4" } }, { - "key": "opt02_seenn_bayes/conf_temp_16", - "tag": "conf_temp_16", - "script": "opt02_seenn_bayes.py", - "hf_folder": "applied/opt02_seenn_bayes", - "phase": 7, + "key": "opt03_ftbc_threshold_balance/default", + "tag": "default", + "script": "opt03_ftbc_threshold_balance.py", + "hf_folder": "applied/opt03_ftbc_threshold_balance", + "phase": 1, "status": "ok", - "duration_s": 613.7, + "duration_s": 372.1, "optimization_summary": { - "optimization": "seenn_early_exit_bayesian_fusion", - "research_section": "2. Temporal-dimension reduction", - "reference": "SEENN: Towards Temporal Spiking Early-Exit Neural Networks, arXiv:2304.01230 (NeurIPS 2023); BayesianSpikeFusion, Front. Neurosci. 2024 (PMC11330889)", - "script": "opt02_seenn_bayes.py", + "optimization": "ftbc_threshold_balance", + "research_section": "2. Temporal-Dimension Reduction (threshold balancing + FTBC)", + "reference": "Rueckauer et al. arXiv:1612.04052; Sengupta et al. arXiv:1802.02627; FTBC: Forward Temporal Bias Correction, ECCV 2024", + "script": "opt03_ftbc_threshold_balance.py", "baseline_mode": false, "method": "harmonic_matched", "accuracy": { - "test_acc": 0.9278571428571428, - "test_target_acc": 0.9278571428571428, - "best_val_acc": 0.9278571428571428 + "test_acc": 0.9292857142857143, + "test_target_acc": 0.9292857142857143, + "best_val_acc": 0.945 }, "efficiency": { "spikes_per_inference": null, - "syn_ops_per_inference": 3658814.530844156, - "dense_macs_per_inference": 123955200.0, - "event_fraction_of_dense": 0.02951723308779427, - "syn_ops_per_inference_dense_fanout": 65235432.31737013, + "syn_ops_per_inference": 3270969.221590909, + "dense_macs_per_inference": 122675200.0, + "event_fraction_of_dense": 0.026663655095658365, + "syn_ops_per_inference_dense_fanout": 64847587.008116886, "weight_sparsity": 0.7324707846410685, - "effective_ticks": 4.197857142857143, + "effective_ticks": 12.059285714285714, "num_ticks": 100, "membrane_bytes_per_inference": 451200, "weight_bytes": 4907008, "input_raster_bytes": null, - "train_ms_per_step": 187.19353675842285, - "infer_ms_per_sample": 0.6553214698580642, - "peak_vram_mb": 10914.399232, - "syn_ops_per_inference_early_exit": 1722971.6599025973 + "train_ms_per_step": 92.7018213500105, + "infer_ms_per_sample": 0.6145065031248009, + "peak_vram_mb": 2825.316864 }, "optimization_specific": { - "seenn_enabled": true, - "bayes_fusion_enabled": true, - "conf_threshold": 0.9, - "conf_temp": 16.0, - "anytime_fracs": "0.25,0.5,1.0", - "anytime_weights": "0.3,0.3,1.0", - "ic_loss_weight": 0.3, - "ic_layer": 0, - "mean_exit_tick": 4.197857142857143, - "mean_exit_ms": 209.89285714285717, - "ticks_saved_frac": 0.9580214285714286, - "exit_tick_histogram": { - "counts": [ - 1368, - 26, - 3, - 2, - 1, - 0, - 0, - 0, - 0, - 0 - ], - "edges": [ - 0.0, - 10.0, - 20.0, - 30.0, - 40.0, - 50.0, - 60.0, - 70.0, - 80.0, - 90.0, - 100.0 - ] - }, - "acc_fc_only": 0.9278571428571428, - "acc_ic_only": 0.935, - "acc_fused": 0.94, - "acc_early_exit": 0.2257142857142857, - "syn_ops_saved_frac": 0.5290901888090305, - "syn_per_inference_early_exit": 1722971.6599025973, - "anytime_acc": { - "0.25": 0.6042857142857143, - "0.5": 0.8057142857142857, - "0.75": 0.8885714285714286, - "1.0": 0.9278571428571428 + "calibrate_thresh": true, + "ftbc": true, + "calib_percentile": 99.9, + "calib_batches": 8, + "ftbc_target_ticks": 8, + "ftbc_ref_ticks": 100, + "trained_T": 100, + "thresh_before": [ + 1.0, + 1.0, + 1.0, + 1.0 + ], + "thresh_after": [ + 2.353323459625244, + 0.8474444150924683, + 1.1090540885925293, + 2.6859006881713867 + ], + "min_ticks_within_1pct_of_full": null, + "min_ticks_within_1pct_per_arm": { + "raw": 50, + "thresh": 50, + "ftbc": 100, + "both": null }, - "pareto": [ + "speedup_at_min_ticks": null, + "full_T_acc": 0.9442857142857143, + "t_sweep_rows": [ { - "conf": 0.5, - "mean_ticks": 2.979285714285714, - "acc": 0.18857142857142858, - "syn_ops": 1660596.797077922 + "T": 4, + "arm": "raw", + "acc": 0.2621428571428571, + "syn_per_inference": 1869022.726461039, + "dense_per_inference": 4907008.0, + "event_fraction_of_dense": 0.38088846124991826 }, { - "conf": 0.7, - "mean_ticks": 4.196428571428571, - "acc": 0.2257142857142857, - "syn_ops": 1722894.4212662338 + "T": 4, + "arm": "thresh", + "acc": 0.40214285714285714, + "syn_per_inference": 1828094.6006493508, + "dense_per_inference": 4907008.0, + "event_fraction_of_dense": 0.37254771148719357 }, { - "conf": 0.8, - "mean_ticks": 4.196428571428571, - "acc": 0.2257142857142857, - "syn_ops": 1722894.1939935065 + "T": 4, + "arm": "ftbc", + "acc": 0.18285714285714286, + "syn_per_inference": 1982641.3717532465, + "dense_per_inference": 4907008.0, + "event_fraction_of_dense": 0.4040428244162729 }, { - "conf": 0.9, - "mean_ticks": 4.197857142857143, - "acc": 0.2257142857142857, - "syn_ops": 1722971.7207792208 + "T": 4, + "arm": "both", + "acc": 0.27714285714285714, + "syn_per_inference": 1953169.6939935065, + "dense_per_inference": 4907008.0, + "event_fraction_of_dense": 0.3980367861624653 }, { - "conf": 0.95, - "mean_ticks": 4.199285714285714, - "acc": 0.2257142857142857, - "syn_ops": 1723035.8133116884 + "T": 8, + "arm": "raw", + "acc": 0.5942857142857143, + "syn_per_inference": 2050550.6517857143, + "dense_per_inference": 9814016.0, + "event_fraction_of_dense": 0.20894103410731288 }, { - "conf": 0.99, - "mean_ticks": 4.243571428571428, - "acc": 0.22642857142857142, - "syn_ops": 1724673.6931818181 + "T": 8, + "arm": "thresh", + "acc": 0.7785714285714286, + "syn_per_inference": 1952516.9748376624, + "dense_per_inference": 9814016.0, + "event_fraction_of_dense": 0.19895188420700174 + }, + { + "T": 8, + "arm": "ftbc", + "acc": 0.375, + "syn_per_inference": 2353354.2873376627, + "dense_per_inference": 9814016.0, + "event_fraction_of_dense": 0.2397952364595353 + }, + { + "T": 8, + "arm": "both", + "acc": 0.53, + "syn_per_inference": 2284980.627435065, + "dense_per_inference": 9814016.0, + "event_fraction_of_dense": 0.23282829653375997 + }, + { + "T": 16, + "arm": "raw", + "acc": 0.8028571428571428, + "syn_per_inference": 2341053.414772727, + "dense_per_inference": 19628032.0, + "event_fraction_of_dense": 0.11927091899853878 + }, + { + "T": 16, + "arm": "thresh", + "acc": 0.8985714285714286, + "syn_per_inference": 2125678.341720779, + "dense_per_inference": 19628032.0, + "event_fraction_of_dense": 0.10829808825055813 + }, + { + "T": 16, + "arm": "ftbc", + "acc": 0.645, + "syn_per_inference": 2743122.541396104, + "dense_per_inference": 19628032.0, + "event_fraction_of_dense": 0.13975535302755282 + }, + { + "T": 16, + "arm": "both", + "acc": 0.7207142857142858, + "syn_per_inference": 2544346.234577922, + "dense_per_inference": 19628032.0, + "event_fraction_of_dense": 0.12962818863235612 + }, + { + "T": 25, + "arm": "raw", + "acc": 0.8764285714285714, + "syn_per_inference": 2563596.2670454546, + "dense_per_inference": 30668800.0, + "event_fraction_of_dense": 0.08358971551040323 + }, + { + "T": 25, + "arm": "thresh", + "acc": 0.9285714285714286, + "syn_per_inference": 2243644.229707792, + "dense_per_inference": 30668800.0, + "event_fraction_of_dense": 0.07315722264020086 + }, + { + "T": 25, + "arm": "ftbc", + "acc": 0.8257142857142857, + "syn_per_inference": 3023309.375, + "dense_per_inference": 30668800.0, + "event_fraction_of_dense": 0.09857931758008139 + }, + { + "T": 25, + "arm": "both", + "acc": 0.81, + "syn_per_inference": 2707661.5560064935, + "dense_per_inference": 30668800.0, + "event_fraction_of_dense": 0.08828716989274095 + }, + { + "T": 50, + "arm": "raw", + "acc": 0.935, + "syn_per_inference": 2919362.8060064935, + "dense_per_inference": 61337600.0, + "event_fraction_of_dense": 0.047594995663451024 + }, + { + "T": 50, + "arm": "thresh", + "acc": 0.9371428571428572, + "syn_per_inference": 2426220.323051948, + "dense_per_inference": 61337600.0, + "event_fraction_of_dense": 0.039555188384481105 + }, + { + "T": 50, + "arm": "ftbc", + "acc": 0.9107142857142857, + "syn_per_inference": 3453336.166396104, + "dense_per_inference": 61337600.0, + "event_fraction_of_dense": 0.05630047746237388 + }, + { + "T": 50, + "arm": "both", + "acc": 0.905, + "syn_per_inference": 2956368.487824675, + "dense_per_inference": 61337600.0, + "event_fraction_of_dense": 0.04819830720185784 + }, + { + "T": 100, + "arm": "raw", + "acc": 0.9442857142857143, + "syn_per_inference": 3270968.9375, + "dense_per_inference": 122675200.0, + "event_fraction_of_dense": 0.026663652779860967 + }, + { + "T": 100, + "arm": "thresh", + "acc": 0.9292857142857143, + "syn_per_inference": 2701710.5844155843, + "dense_per_inference": 122675200.0, + "event_fraction_of_dense": 0.02202328249243192 + }, + { + "T": 100, + "arm": "ftbc", + "acc": 0.9342857142857143, + "syn_per_inference": 3888789.481331169, + "dense_per_inference": 122675200.0, + "event_fraction_of_dense": 0.031699882953776876 + }, + { + "T": 100, + "arm": "both", + "acc": 0.9207142857142857, + "syn_per_inference": 3266400.9139610385, + "dense_per_inference": 122675200.0, + "event_fraction_of_dense": 0.02662641604791383 } - ] + ], + "calibration_reference": "same network at full T (NOT a source ANN)" }, "config": { "method": "harmonic_matched", @@ -1041,568 +1081,231 @@ "decision_margin": 2.0, "export": false, "seed": 1234, + "hub_dir": "/kaggle/working/hub/opt03_ftbc_threshold_balance/default", + "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, - "anytime_fracs": "0.25,0.5,1.0", - "anytime_weights": "0.3,0.3,1.0", - "ic_layer": 0, - "ic_loss_weight": 0.3, - "bayes_fusion": true, - "fusion_prior_weight": 1.0, - "conf_threshold": 0.9, - "conf_temp": 16.0, - "conf_sweep": "0.5,0.7,0.8,0.9,0.95,0.99", - "hub_dir": "/kaggle/working/hub/opt02_seenn_bayes/conf_temp_16", + "calibrate_thresh": true, + "calib_percentile": 99.9, + "calib_batches": 8, + "ftbc": true, + "ftbc_target_ticks": 8, + "ftbc_ref_ticks": 0, + "ftbc_lr": 1.0, + "t_sweep": "4,8,16,25,50,100", + "sampling_rate": 250.0 + } + }, + "zip": { + "name": "default.zip", + "files": 81, + "bytes": 12251189, + "MB": 12.3, + "sha256": "a2408411059da5b902543faccd650a7826414bf770223e315a19896579a36f61" + } + }, + { + "key": "opt04_cudagraph_unroll/control_baseline", + "tag": "control_baseline", + "script": "opt04_cudagraph_unroll.py", + "hf_folder": "applied/opt04_cudagraph_unroll", + "phase": 1, + "status": "ok", + "duration_s": 320.6, + "optimization_summary": { + "optimization": "cudagraph_static_unroll", + "research_section": "2. Temporal-dimension reduction / 5. OS & runtime", + "reference": "CUDA Graphs static capture/replay applied to the unrolled T-tick event-driven inference loop", + "script": "opt04_cudagraph_unroll.py", + "baseline_mode": true, + "method": "harmonic_matched", + "accuracy": { + "test_acc": 0.9385714285714286, + "test_target_acc": 0.9385714285714286, + "best_val_acc": 0.9464285714285714 + }, + "efficiency": { + "spikes_per_inference": null, + "syn_ops_per_inference": 3254834.5267857146, + "dense_macs_per_inference": 122675200.0, + "event_fraction_of_dense": 0.02653213140704653, + "syn_ops_per_inference_dense_fanout": 64831452.31331169, + "weight_sparsity": 0.7324707846410685, + "effective_ticks": 12.097857142857142, + "num_ticks": 100, + "membrane_bytes_per_inference": 451200, + "weight_bytes": 4907008, + "input_raster_bytes": null, + "train_ms_per_step": 92.22967624664307, + "infer_ms_per_sample": 0.6272434443235397, + "peak_vram_mb": 2804.347904 + }, + "optimization_specific": { + "graph_enabled": false + }, + "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/opt04_cudagraph_unroll/control_baseline", "repo_id": "UWU-R-13/SSVEP-SNN", "push_hf": false, "keep_epoch_weights": 1, "no_resume": true, "selftest": false, + "baseline": true, + "bench": true, + "bench_warmup": 10, + "bench_iters": 50, + "bench_train_steps": 20, + "event_capacity": 0, + "graph_warmup": 3, + "bench_batches": "1,8,32,128", "sampling_rate": 250.0 } }, "zip": { - "name": "conf_temp_16.zip", - "files": 81, - "bytes": 12637814, - "MB": 12.6, - "sha256": "d302c2ff3a0a7090de4ff36762170bca52ef860f9f4f098a3fde82a954059161" + "name": "control_baseline.zip", + "files": 80, + "bytes": 12254389, + "MB": 12.3, + "sha256": "90228451e4506fa57fd18dda54312748f259653c71dda8725406593029e0c194" } }, { - "key": "opt06_uticket_prune/prune_readout", - "tag": "prune_readout", - "script": "opt06_uticket_prune.py", - "hf_folder": "applied/opt06_uticket_prune", - "phase": 9, + "key": "opt04_cudagraph_unroll/default", + "tag": "default", + "script": "opt04_cudagraph_unroll.py", + "hf_folder": "applied/opt04_cudagraph_unroll", + "phase": 1, "status": "ok", - "duration_s": 582.6, + "duration_s": 501.8, "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", + "optimization": "cudagraph_static_unroll", + "research_section": "2. Temporal-dimension reduction / 5. OS & runtime", + "reference": "CUDA Graphs static capture/replay applied to the unrolled T-tick event-driven inference loop", + "script": "opt04_cudagraph_unroll.py", "baseline_mode": false, "method": "harmonic_matched", "accuracy": { - "test_acc": 0.4135714285714286, - "test_target_acc": 0.4135714285714286, - "best_val_acc": 0.9335714285714286 + "test_acc": 0.9435714285714286, + "test_target_acc": 0.9435714285714286, + "best_val_acc": 0.95 }, "efficiency": { "spikes_per_inference": null, - "syn_ops_per_inference": 104257.90097402596, + "syn_ops_per_inference": 3255047.327922078, "dense_macs_per_inference": 122675200.0, - "event_fraction_of_dense": 0.0008498694191982239, - "syn_ops_per_inference_dense_fanout": 65062433.861201294, - "weight_sparsity": 0.9917057400354758, - "effective_ticks": 11.177142857142858, + "event_fraction_of_dense": 0.026533866078246277, + "syn_ops_per_inference_dense_fanout": 64831665.11444805, + "weight_sparsity": 0.7324707846410685, + "effective_ticks": 11.80642857142857, "num_ticks": 100, "membrane_bytes_per_inference": 451200, "weight_bytes": 4907008, "input_raster_bytes": null, - "train_ms_per_step": 94.6925303999933, - "infer_ms_per_sample": 0.6165744149999597, - "peak_vram_mb": 2836.776448, - "weight_bytes_nonzero": 40703 + "train_ms_per_step": 92.52521991729736, + "infer_ms_per_sample": 0.6286457926034927, + "peak_vram_mb": 2803.899904 }, "optimization_specific": { - "pruning_enabled": true, - "balance_enabled": true, - "rounds": 5, - "final_sparsity": 0.9917049248747913, - "nnz_per_layer": { - "layer0": 640, - "layer1": 5120, - "layer2": 4096, - "readout": 320 + "graph_enabled": true, + "event_capacity_scan": { + "cap_scan": 98901, + "batch_size_scan": 64, + "n_batches_scanned": 20, + "density_per_sample": 1545.328125, + "per_layer_caps": [ + 98901, + 7501, + 3379, + 3291 + ] }, - "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 - }, - "readout": { - "mean_nnz": 8.0, - "max_nnz": 8.0, - "min_nnz": 8.0, - "total_nnz": 320, - "numel": 10240, - "sparsity": 0.96875, - "utilization": 1.0 + "capacity": 98901, + "overflow_ticks_frac": 0.0, + "graph_vs_eager_pred_agreement": 1.0, + "graph_capture_ms": 233.42132568359375, + "graphed_acc": 0.9435714285714286, + "kernel_launches_eager": 400, + "kernel_launches_graphed": 2, + "launch_reduction_x": 200.0, + "bench_batches": { + "1": { + "ms_per_sample_eager": 157.8002643585205, + "ms_per_sample_graphed": 32.571964263916016, + "throughput_eager_samples_per_s": 6.337124998270032, + "throughput_graphed_samples_per_s": 30.701249451750854, + "speedup_x": 4.844665279623167, + "capacity": 1546 + }, + "8": { + "ms_per_sample_eager": 20.341086983680725, + "ms_per_sample_graphed": 12.358421683311462, + "throughput_eager_samples_per_s": 49.161581227310094, + "throughput_graphed_samples_per_s": 80.91648153990228, + "speedup_x": 1.645929189416548, + "capacity": 12363 + }, + "32": { + "ms_per_sample_eager": 5.914023816585541, + "ms_per_sample_graphed": 10.751050561666489, + "throughput_eager_samples_per_s": 169.08961326729144, + "throughput_graphed_samples_per_s": 93.01416584957377, + "speedup_x": 0.5500879921142168, + "capacity": 49451 + }, + "128": { + "ms_per_sample_eager": 1.9992999359965324, + "ms_per_sample_graphed": 9.524058550596237, + "throughput_eager_samples_per_s": 500.17507728351893, + "throughput_graphed_samples_per_s": 104.99725455146395, + "speedup_x": 0.20992100430455352, + "capacity": 197802 } }, - "pe_utilization_final": 1.0, - "pe_utilization_lth": 0.5667460317460318, - "pe_utilization_uticket": 1.0, - "latency_proxy_dense": 3968, - "latency_proxy_final": 36, - "latency_reduction_frac": 0.9909274193548387, - "rounds_history": [ - { - "round": 1, - "layers": { - "layer0": { - "lth": { - "mean_nnz": 36.0, - "max_nnz": 47.0, - "min_nnz": 25.0, - "total_nnz": 11520, - "numel": 921600, - "sparsity": 0.9875, - "utilization": 0.7659574468085106 - }, - "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": 180.0, - "min_nnz": 123.0, - "total_nnz": 81920, - "numel": 163840, - "sparsity": 0.5, - "utilization": 0.8888888888888888 - }, - "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": 288.0, - "min_nnz": 210.0, - "total_nnz": 65536, - "numel": 131072, - "sparsity": 0.5, - "utilization": 0.8888888888888888 - }, - "uticket": { - "mean_nnz": 256.0, - "max_nnz": 256.0, - "min_nnz": 256.0, - "total_nnz": 65536, - "numel": 131072, - "sparsity": 0.5, - "utilization": 1.0 - } - }, - "readout": { - "lth": { - "mean_nnz": 128.0, - "max_nnz": 143.0, - "min_nnz": 117.0, - "total_nnz": 5120, - "numel": 10240, - "sparsity": 0.5, - "utilization": 0.8951048951048951 - }, - "uticket": { - "mean_nnz": 128.0, - "max_nnz": 128.0, - "min_nnz": 128.0, - "total_nnz": 5120, - "numel": 10240, - "sparsity": 0.5, - "utilization": 1.0 - } - } - }, - "latency_proxy": 580, - "sparsity": 0.8662353923205343 - }, - { - "round": 2, - "layers": { - "layer0": { - "lth": { - "mean_nnz": 18.0, - "max_nnz": 28.0, - "min_nnz": 10.0, - "total_nnz": 5760, - "numel": 921600, - "sparsity": 0.99375, - "utilization": 0.6428571428571429 - }, - "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": 104.0, - "min_nnz": 33.0, - "total_nnz": 40960, - "numel": 163840, - "sparsity": 0.75, - "utilization": 0.7692307692307693 - }, - "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": 93.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 - } - }, - "readout": { - "lth": { - "mean_nnz": 64.0, - "max_nnz": 74.0, - "min_nnz": 56.0, - "total_nnz": 2560, - "numel": 10240, - "sparsity": 0.75, - "utilization": 0.8648648648648649 - }, - "uticket": { - "mean_nnz": 64.0, - "max_nnz": 64.0, - "min_nnz": 64.0, - "total_nnz": 2560, - "numel": 10240, - "sparsity": 0.75, - "utilization": 1.0 - } - } - }, - "latency_proxy": 290, - "sparsity": 0.9331176961602671 - }, - { - "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": 2.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": 85.0, - "min_nnz": 38.0, - "total_nnz": 16384, - "numel": 131072, - "sparsity": 0.875, - "utilization": 0.7529411764705882 - }, - "uticket": { - "mean_nnz": 64.0, - "max_nnz": 64.0, - "min_nnz": 64.0, - "total_nnz": 16384, - "numel": 131072, - "sparsity": 0.875, - "utilization": 1.0 - } - }, - "readout": { - "lth": { - "mean_nnz": 32.0, - "max_nnz": 38.0, - "min_nnz": 26.0, - "total_nnz": 1280, - "numel": 10240, - "sparsity": 0.875, - "utilization": 0.8421052631578947 - }, - "uticket": { - "mean_nnz": 32.0, - "max_nnz": 32.0, - "min_nnz": 32.0, - "total_nnz": 1280, - "numel": 10240, - "sparsity": 0.875, - "utilization": 1.0 - } - } - }, - "latency_proxy": 145, - "sparsity": 0.9665588480801336 - }, - { - "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": 33.0, - "min_nnz": 0.0, - "total_nnz": 10240, - "numel": 163840, - "sparsity": 0.9375, - "utilization": 0.6060606060606061 - }, - "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": 45.0, - "min_nnz": 12.0, - "total_nnz": 8192, - "numel": 131072, - "sparsity": 0.9375, - "utilization": 0.7111111111111111 - }, - "uticket": { - "mean_nnz": 32.0, - "max_nnz": 32.0, - "min_nnz": 32.0, - "total_nnz": 8192, - "numel": 131072, - "sparsity": 0.9375, - "utilization": 1.0 - } - }, - "readout": { - "lth": { - "mean_nnz": 16.0, - "max_nnz": 28.0, - "min_nnz": 11.0, - "total_nnz": 640, - "numel": 10240, - "sparsity": 0.9375, - "utilization": 0.5714285714285714 - }, - "uticket": { - "mean_nnz": 16.0, - "max_nnz": 16.0, - "min_nnz": 16.0, - "total_nnz": 640, - "numel": 10240, - "sparsity": 0.9375, - "utilization": 1.0 - } - } - }, - "latency_proxy": 72, - "sparsity": 0.9834098497495827 - }, - { - "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": 18.0, - "min_nnz": 0.0, - "total_nnz": 5120, - "numel": 163840, - "sparsity": 0.96875, - "utilization": 0.5555555555555556 - }, - "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": 0.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 - } - }, - "readout": { - "lth": { - "mean_nnz": 8.0, - "max_nnz": 14.0, - "min_nnz": 3.0, - "total_nnz": 320, - "numel": 10240, - "sparsity": 0.96875, - "utilization": 0.5714285714285714 - }, - "uticket": { - "mean_nnz": 8.0, - "max_nnz": 8.0, - "min_nnz": 8.0, - "total_nnz": 320, - "numel": 10240, - "sparsity": 0.96875, - "utilization": 1.0 - } - } - }, - "latency_proxy": 36, - "sparsity": 0.9917049248747913 - } - ], - "latency_proxy_lth": 61, - "latency_reduction_vs_lth_frac": 0.4098360655737705 + "speedup_x_at_batch1": 4.844665279623167 }, "config": { "method": "harmonic_matched", @@ -1642,7 +1345,7 @@ "decision_margin": 2.0, "export": false, "seed": 1234, - "hub_dir": "/kaggle/working/hub/opt06_uticket_prune/prune_readout", + "hub_dir": "/kaggle/working/hub/opt04_cudagraph_unroll/default", "repo_id": "UWU-R-13/SSVEP-SNN", "push_hf": false, "keep_epoch_weights": 1, @@ -1653,310 +1356,127 @@ "bench_warmup": 10, "bench_iters": 50, "bench_train_steps": 20, - "prune_rounds": 5, - "prune_rate": 0.5, - "rewind_epoch": 1, - "balance": true, - "balance_iters": 2, - "prune_readout": true, + "event_capacity": 0, + "graph_warmup": 3, + "bench_batches": "1,8,32,128", "sampling_rate": 250.0 } }, "zip": { - "name": "prune_readout.zip", + "name": "default.zip", "files": 81, - "bytes": 8103773, - "MB": 8.1, - "sha256": "71a4d931df327896a7f5538c47ae56a8c6d2a773250c37ea42d325f453d2355a" + "bytes": 12253126, + "MB": 12.3, + "sha256": "dd13cd46e7240e145c6dd659b20ff6be55136f94e8e39058663d3ccbf1811fac" } }, { - "key": "opt06_uticket_prune/prune_rounds_3", - "tag": "prune_rounds_3", - "script": "opt06_uticket_prune.py", - "hf_folder": "applied/opt06_uticket_prune", - "phase": 9, + "key": "opt05_bitpack_popcount/control_baseline", + "tag": "control_baseline", + "script": "opt05_bitpack_popcount.py", + "hf_folder": "applied/opt05_bitpack_popcount", + "phase": 1, "status": "ok", - "duration_s": 320.7, + "duration_s": 584.8, "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, + "optimization": "bitpack_popcount", + "research_section": "3. Spike-Sparsity & MAC->AC Restructuring", + "reference": "SATA, arXiv:2204.05422; BMXNet/BiFSMNv2 popcount GEMM", + "script": "opt05_bitpack_popcount.py", + "baseline_mode": true, "method": "harmonic_matched", "accuracy": { - "test_acc": 0.9057142857142857, - "test_target_acc": 0.9057142857142857, - "best_val_acc": 0.9407142857142857 + "test_acc": 0.9392857142857143, + "test_target_acc": 0.9392857142857143, + "best_val_acc": 0.945 }, "efficiency": { "spikes_per_inference": null, - "syn_ops_per_inference": 550376.6811079546, + "syn_ops_per_inference": 3259960.8547077924, "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, + "event_fraction_of_dense": 0.02657391921682453, + "syn_ops_per_inference_dense_fanout": 64836578.64123377, + "weight_sparsity": 0.7324707846410685, + "effective_ticks": 11.83, "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 + "input_raster_bytes": 403200000, + "train_ms_per_step": 94.69575869998152, + "infer_ms_per_sample": 0.6265434059375252, + "peak_vram_mb": 2827.963904 }, "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 + "bitpack": false, + "pack_hidden": false, + "popcount_readout": false, + "n_channels": 2880, + "packed_words_per_tick": 90, + "input_raster_bytes_uint8": 403200000, + "input_raster_bytes_packed": null, + "memory_reduction_x": 1.0, + "mults_eliminated_per_inference": null, + "pred_agreement_packed_vs_float": null, + "popcount_counts_exact": null, + "crossover_density": 0.01, + "packed_ever_wins": true, + "packed_vs_scatter_ms": [ + { + "density": 0.01, + "measured_density": 0.00997178815305233, + "scatter_ms": 0.1802825927734375, + "packed_ms": 0.046405792236328125, + "pack_ms": 0.1291036605834961, + "speedup_x": 3.8849157418824496, + "packed_wins": true, + "matches_scatter": true + }, + { + "density": 0.05, + "measured_density": 0.0490993931889534, + "scatter_ms": 0.2356719970703125, + "packed_ms": 0.06339550018310547, + "pack_ms": 0.13286590576171875, + "speedup_x": 3.7174877773599095, + "packed_wins": true, + "matches_scatter": true + }, + { + "density": 0.1, + "measured_density": 0.10040690004825592, + "scatter_ms": 0.42845726013183594, + "packed_ms": 0.08290290832519531, + "pack_ms": 0.12605667114257812, + "speedup_x": 5.168181295295065, + "packed_wins": true, + "matches_scatter": true + }, + { + "density": 0.25, + "measured_density": 0.24960395693778992, + "scatter_ms": 1.0294532775878906, + "packed_ms": 0.14525413513183594, + "pack_ms": 0.12697696685791016, + "speedup_x": 7.087256253693126, + "packed_wins": true, + "matches_scatter": true + }, + { + "density": 0.5, + "measured_density": 0.49802517890930176, + "scatter_ms": 1.3754749298095703, + "packed_ms": 0.2714681625366211, + "pack_ms": 0.1302051544189453, + "speedup_x": 5.0668001615991285, + "packed_wins": true, + "matches_scatter": true } ], - "latency_proxy_lth": 168, - "latency_reduction_vs_lth_frac": 0.32738095238095233 + "popcount_vs_loop_ms": { + "loop_ms": 0.013265609741210938, + "popcount_ms": 0.03826141357421875, + "speedup_x": 0.3467098703888335 + } }, "config": { "method": "harmonic_matched", @@ -1996,1144 +1516,88 @@ "decision_margin": 2.0, "export": false, "seed": 1234, - "hub_dir": "/kaggle/working/hub/opt06_uticket_prune/prune_rounds_3", + "hub_dir": "/kaggle/working/hub/opt05_bitpack_popcount/control_baseline", "repo_id": "UWU-R-13/SSVEP-SNN", "push_hf": false, "keep_epoch_weights": 1, "no_resume": true, "selftest": false, - "baseline": false, + "baseline": true, "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, + "bitpack": true, + "pack_hidden": false, + "popcount_readout": true, + "sparsity_sweep": "0.01,0.05,0.1,0.25,0.5", "sampling_rate": 250.0 } }, "zip": { - "name": "prune_rounds_3.zip", + "name": "control_baseline.zip", "files": 81, - "bytes": 8378826, - "MB": 8.4, - "sha256": "4f95cb87dd3ae4936d31d4c1e94317cb6a26fbeb7da655363811df3a91cd6bf8" + "bytes": 12250994, + "MB": 12.3, + "sha256": "ef07404573217d6615260626d16d6c3baa237388a674cc6f4fc50b4f57d95eb3" + } + }, + { + "key": "opt05_bitpack_popcount/default", + "tag": "default", + "script": "opt05_bitpack_popcount.py", + "hf_folder": "applied/opt05_bitpack_popcount", + "phase": 1, + "status": "failed", + "duration_s": 280.1, + "optimization_summary": null, + "zip": { + "name": "FAILED_default.zip", + "files": 76, + "bytes": 10446958, + "MB": 10.4, + "sha256": "a05cd25014d037d0284290f3d579a1d933984716eb304384946909de3e297d93" } }, { - "key": "opt06_uticket_prune/prune_rounds_8", - "tag": "prune_rounds_8", + "key": "opt06_uticket_prune/control_baseline", + "tag": "control_baseline", "script": "opt06_uticket_prune.py", "hf_folder": "applied/opt06_uticket_prune", - "phase": 9, + "phase": 1, "status": "ok", - "duration_s": 322.7, + "duration_s": 323.1, "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.18428571428571427, - "test_target_acc": 0.18428571428571427, - "best_val_acc": 0.9142857142857143 - }, - "efficiency": { - "spikes_per_inference": null, - "syn_ops_per_inference": 129797.51948051948, - "dense_macs_per_inference": 122675200.0, - "event_fraction_of_dense": 0.0010580583482278365, - "syn_ops_per_inference_dense_fanout": 65036167.55113637, - "weight_sparsity": 0.9907585233201168, - "effective_ticks": 16.09857142857143, - "num_ticks": 100, - "membrane_bytes_per_inference": 451200, - "weight_bytes": 4907008, - "input_raster_bytes": null, - "train_ms_per_step": 94.60634120000577, - "infer_ms_per_sample": 0.6177368868750222, - "peak_vram_mb": 2839.143424, - "weight_bytes_nonzero": 4453 - }, - "optimization_specific": { - "pruning_enabled": true, - "balance_enabled": true, - "rounds": 8, - "final_sparsity": 0.9990924873737373, - "nnz_per_layer": { - "layer0": 80, - "layer1": 512, - "layer2": 512 - }, - "pe_stats_per_layer": { - "layer0": { - "mean_nnz": 0.25, - "max_nnz": 1.0, - "min_nnz": 0.0, - "total_nnz": 80, - "numel": 921600, - "sparsity": 0.9999131944444445, - "utilization": 0.25 - }, - "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": 2.0, - "max_nnz": 2.0, - "min_nnz": 2.0, - "total_nnz": 512, - "numel": 131072, - "sparsity": 0.99609375, - "utilization": 1.0 - } - }, - "pe_utilization_final": 0.75, - "pe_utilization_lth": 0.4166666666666667, - "pe_utilization_uticket": 0.75, - "latency_proxy_dense": 3712, - "latency_proxy_final": 4, - "latency_reduction_frac": 0.9989224137931034, - "rounds_history": [ - { - "round": 1, - "layers": { - "layer0": { - "lth": { - "mean_nnz": 36.0, - "max_nnz": 49.0, - "min_nnz": 24.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": 194.0, - "min_nnz": 134.0, - "total_nnz": 81920, - "numel": 163840, - "sparsity": 0.5, - "utilization": 0.8247422680412371 - }, - "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": 289.0, - "min_nnz": 203.0, - "total_nnz": 65536, - "numel": 131072, - "sparsity": 0.5, - "utilization": 0.8858131487889274 - }, - "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": 25.0, - "min_nnz": 9.0, - "total_nnz": 5760, - "numel": 921600, - "sparsity": 0.99375, - "utilization": 0.72 - }, - "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": 102.0, - "min_nnz": 41.0, - "total_nnz": 40960, - "numel": 163840, - "sparsity": 0.75, - "utilization": 0.7843137254901961 - }, - "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": 158.0, - "min_nnz": 80.0, - "total_nnz": 32768, - "numel": 131072, - "sparsity": 0.75, - "utilization": 0.810126582278481 - }, - "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": 15.0, - "min_nnz": 4.0, - "total_nnz": 2880, - "numel": 921600, - "sparsity": 0.996875, - "utilization": 0.6 - }, - "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": 57.0, - "min_nnz": 11.0, - "total_nnz": 20480, - "numel": 163840, - "sparsity": 0.875, - "utilization": 0.7017543859649122 - }, - "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": 84.0, - "min_nnz": 32.0, - "total_nnz": 16384, - "numel": 131072, - "sparsity": 0.875, - "utilization": 0.7619047619047619 - }, - "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": 1.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": 45.0, - "min_nnz": 18.0, - "total_nnz": 8192, - "numel": 131072, - "sparsity": 0.9375, - "utilization": 0.7111111111111111 - }, - "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": 17.0, - "min_nnz": 0.0, - "total_nnz": 5120, - "numel": 163840, - "sparsity": 0.96875, - "utilization": 0.5882352941176471 - }, - "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": 26.0, - "min_nnz": 9.0, - "total_nnz": 4096, - "numel": 131072, - "sparsity": 0.96875, - "utilization": 0.6153846153846154 - }, - "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 - }, - { - "round": 6, - "layers": { - "layer0": { - "lth": { - "mean_nnz": 1.0, - "max_nnz": 2.0, - "min_nnz": 0.0, - "total_nnz": 320, - "numel": 921600, - "sparsity": 0.9996527777777777, - "utilization": 0.5 - }, - "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": 5.0, - "max_nnz": 10.0, - "min_nnz": 0.0, - "total_nnz": 2560, - "numel": 163840, - "sparsity": 0.984375, - "utilization": 0.5 - }, - "uticket": { - "mean_nnz": 5.0, - "max_nnz": 5.0, - "min_nnz": 5.0, - "total_nnz": 2560, - "numel": 163840, - "sparsity": 0.984375, - "utilization": 1.0 - } - }, - "layer2": { - "lth": { - "mean_nnz": 8.0, - "max_nnz": 14.0, - "min_nnz": 3.0, - "total_nnz": 2048, - "numel": 131072, - "sparsity": 0.984375, - "utilization": 0.5714285714285714 - }, - "uticket": { - "mean_nnz": 8.0, - "max_nnz": 8.0, - "min_nnz": 8.0, - "total_nnz": 2048, - "numel": 131072, - "sparsity": 0.984375, - "utilization": 1.0 - } - } - }, - "latency_proxy": 14, - "sparsity": 0.9959490740740741 - }, - { - "round": 7, - "layers": { - "layer0": { - "lth": { - "mean_nnz": 0.5, - "max_nnz": 1.0, - "min_nnz": 0.0, - "total_nnz": 160, - "numel": 921600, - "sparsity": 0.9998263888888889, - "utilization": 0.5 - }, - "uticket": { - "mean_nnz": 0.5, - "max_nnz": 1.0, - "min_nnz": 0.0, - "total_nnz": 160, - "numel": 921600, - "sparsity": 0.9998263888888889, - "utilization": 0.5 - } - }, - "layer1": { - "lth": { - "mean_nnz": 2.5, - "max_nnz": 5.0, - "min_nnz": 0.0, - "total_nnz": 1280, - "numel": 163840, - "sparsity": 0.9921875, - "utilization": 0.5 - }, - "uticket": { - "mean_nnz": 2.0, - "max_nnz": 2.0, - "min_nnz": 2.0, - "total_nnz": 1024, - "numel": 163840, - "sparsity": 0.99375, - "utilization": 1.0 - } - }, - "layer2": { - "lth": { - "mean_nnz": 4.0, - "max_nnz": 7.0, - "min_nnz": 1.0, - "total_nnz": 1024, - "numel": 131072, - "sparsity": 0.9921875, - "utilization": 0.5714285714285714 - }, - "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": 7, - "sparsity": 0.9981849747474747 - }, - { - "round": 8, - "layers": { - "layer0": { - "lth": { - "mean_nnz": 0.25, - "max_nnz": 1.0, - "min_nnz": 0.0, - "total_nnz": 80, - "numel": 921600, - "sparsity": 0.9999131944444445, - "utilization": 0.25 - }, - "uticket": { - "mean_nnz": 0.25, - "max_nnz": 1.0, - "min_nnz": 0.0, - "total_nnz": 80, - "numel": 921600, - "sparsity": 0.9999131944444445, - "utilization": 0.25 - } - }, - "layer1": { - "lth": { - "mean_nnz": 1.0, - "max_nnz": 2.0, - "min_nnz": 0.0, - "total_nnz": 512, - "numel": 163840, - "sparsity": 0.996875, - "utilization": 0.5 - }, - "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": 2.0, - "max_nnz": 4.0, - "min_nnz": 0.0, - "total_nnz": 512, - "numel": 131072, - "sparsity": 0.99609375, - "utilization": 0.5 - }, - "uticket": { - "mean_nnz": 2.0, - "max_nnz": 2.0, - "min_nnz": 2.0, - "total_nnz": 512, - "numel": 131072, - "sparsity": 0.99609375, - "utilization": 1.0 - } - } - }, - "latency_proxy": 4, - "sparsity": 0.9990924873737373 - } - ], - "latency_proxy_lth": 7, - "latency_reduction_vs_lth_frac": 0.4285714285714286 - }, - "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_8", - "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": 8, - "prune_rate": 0.5, - "rewind_epoch": 1, - "balance": true, - "balance_iters": 2, - "prune_readout": false, - "sampling_rate": 250.0 - } - }, - "zip": { - "name": "prune_rounds_8.zip", - "files": 81, - "bytes": 7983037, - "MB": 8.0, - "sha256": "477e6120957d9a5697e3cc386ecc6dce0c2c61b98a383a8e903d9e83590962cc" - } - }, - { - "key": "opt06_uticket_prune/rewind_epoch_0", - "tag": "rewind_epoch_0", - "script": "opt06_uticket_prune.py", - "hf_folder": "applied/opt06_uticket_prune", - "phase": 9, - "status": "ok", - "duration_s": 321.6, - "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 + "baseline_mode": true, + "method": "harmonic_matched", + "accuracy": { + "test_acc": 0.945, + "test_target_acc": 0.945, + "best_val_acc": 0.945 + }, + "efficiency": { + "spikes_per_inference": null, + "syn_ops_per_inference": 3269036.607142857, + "dense_macs_per_inference": 122675200.0, + "event_fraction_of_dense": 0.026647901182495378, + "syn_ops_per_inference_dense_fanout": 64845654.39366884, + "weight_sparsity": 0.7324707846410685, + "effective_ticks": 11.901428571428571, + "num_ticks": 100, + "membrane_bytes_per_inference": 451200, + "weight_bytes": 4907008, + "input_raster_bytes": null, + "train_ms_per_step": 95.36304565003775, + "infer_ms_per_sample": 0.6318974475001937, + "peak_vram_mb": 2828.277248 + }, + "optimization_specific": { + "pruning_enabled": false, + "balance_enabled": false }, "config": { "method": "harmonic_matched", @@ -3173,20 +1637,20 @@ "decision_margin": 2.0, "export": false, "seed": 1234, - "hub_dir": "/kaggle/working/hub/opt06_uticket_prune/rewind_epoch_0", + "hub_dir": "/kaggle/working/hub/opt06_uticket_prune/control_baseline", "repo_id": "UWU-R-13/SSVEP-SNN", "push_hf": false, "keep_epoch_weights": 1, "no_resume": true, "selftest": false, - "baseline": false, + "baseline": true, "bench": true, "bench_warmup": 10, "bench_iters": 50, "bench_train_steps": 20, "prune_rounds": 5, "prune_rate": 0.5, - "rewind_epoch": 0, + "rewind_epoch": 1, "balance": true, "balance_iters": 2, "prune_readout": false, @@ -3194,21 +1658,21 @@ } }, "zip": { - "name": "rewind_epoch_0.zip", - "files": 81, - "bytes": 8131993, - "MB": 8.1, - "sha256": "2759d4be6c9db943f9a4bdcb3c0501243b30044c7b1df1e065f9089899f000db" + "name": "control_baseline.zip", + "files": 80, + "bytes": 12237618, + "MB": 12.2, + "sha256": "b3bf34aaf9578d97fb975b4f1ed60ef42bf6884b49c48fbdd831889668315689" } }, { - "key": "opt06_uticket_prune/rewind_epoch_5", - "tag": "rewind_epoch_5", + "key": "opt06_uticket_prune/default", + "tag": "default", "script": "opt06_uticket_prune.py", "hf_folder": "applied/opt06_uticket_prune", - "phase": 9, + "phase": 1, "status": "ok", - "duration_s": 321.7, + "duration_s": 325.4, "optimization_summary": { "optimization": "uticket_workload_balanced_pruning", "research_section": "3. Spike sparsity & MAC->AC restructuring", @@ -3217,25 +1681,25 @@ "baseline_mode": false, "method": "harmonic_matched", "accuracy": { - "test_acc": 0.77, - "test_target_acc": 0.77, - "best_val_acc": 0.9257142857142857 + "test_acc": 0.7885714285714286, + "test_target_acc": 0.7885714285714286, + "best_val_acc": 0.935 }, "efficiency": { "spikes_per_inference": null, - "syn_ops_per_inference": 216033.23041801946, + "syn_ops_per_inference": 218011.0174512987, "dense_macs_per_inference": 122675200.0, - "event_fraction_of_dense": 0.001761017959767088, - "syn_ops_per_inference_dense_fanout": 65245333.36607143, + "event_fraction_of_dense": 0.0017771401020850075, + "syn_ops_per_inference_dense_fanout": 65250329.547077924, "weight_sparsity": 0.983618530884808, - "effective_ticks": 13.376428571428571, + "effective_ticks": 12.822142857142858, "num_ticks": 100, "membrane_bytes_per_inference": 451200, "weight_bytes": 4907008, "input_raster_bytes": null, - "train_ms_per_step": 95.69244695001089, - "infer_ms_per_sample": 0.6242595653125704, - "peak_vram_mb": 2837.865472, + "train_ms_per_step": 96.64661480001087, + "infer_ms_per_sample": 0.6332334065623968, + "peak_vram_mb": 2837.834752, "weight_bytes_nonzero": 39755 }, "optimization_specific": { @@ -3310,12 +1774,12 @@ "layer1": { "lth": { "mean_nnz": 160.0, - "max_nnz": 189.0, - "min_nnz": 126.0, + "max_nnz": 184.0, + "min_nnz": 119.0, "total_nnz": 81920, "numel": 163840, "sparsity": 0.5, - "utilization": 0.8465608465608465 + "utilization": 0.8695652173913043 }, "uticket": { "mean_nnz": 160.0, @@ -3330,12 +1794,12 @@ "layer2": { "lth": { "mean_nnz": 256.0, - "max_nnz": 288.0, - "min_nnz": 214.0, + "max_nnz": 284.0, + "min_nnz": 226.0, "total_nnz": 65536, "numel": 131072, "sparsity": 0.5, - "utilization": 0.8888888888888888 + "utilization": 0.9014084507042254 }, "uticket": { "mean_nnz": 256.0, @@ -3357,12 +1821,12 @@ "layer0": { "lth": { "mean_nnz": 18.0, - "max_nnz": 28.0, - "min_nnz": 10.0, + "max_nnz": 27.0, + "min_nnz": 8.0, "total_nnz": 5760, "numel": 921600, "sparsity": 0.99375, - "utilization": 0.6428571428571429 + "utilization": 0.6666666666666666 }, "uticket": { "mean_nnz": 18.0, @@ -3377,12 +1841,12 @@ "layer1": { "lth": { "mean_nnz": 80.0, - "max_nnz": 103.0, - "min_nnz": 31.0, + "max_nnz": 109.0, + "min_nnz": 30.0, "total_nnz": 40960, "numel": 163840, "sparsity": 0.75, - "utilization": 0.7766990291262136 + "utilization": 0.7339449541284404 }, "uticket": { "mean_nnz": 80.0, @@ -3397,12 +1861,12 @@ "layer2": { "lth": { "mean_nnz": 128.0, - "max_nnz": 155.0, - "min_nnz": 99.0, + "max_nnz": 162.0, + "min_nnz": 95.0, "total_nnz": 32768, "numel": 131072, "sparsity": 0.75, - "utilization": 0.8258064516129032 + "utilization": 0.7901234567901234 }, "uticket": { "mean_nnz": 128.0, @@ -3425,7 +1889,7 @@ "lth": { "mean_nnz": 9.0, "max_nnz": 17.0, - "min_nnz": 2.0, + "min_nnz": 3.0, "total_nnz": 2880, "numel": 921600, "sparsity": 0.996875, @@ -3444,12 +1908,12 @@ "layer1": { "lth": { "mean_nnz": 40.0, - "max_nnz": 63.0, + "max_nnz": 60.0, "min_nnz": 0.0, "total_nnz": 20480, "numel": 163840, "sparsity": 0.875, - "utilization": 0.6349206349206349 + "utilization": 0.6666666666666666 }, "uticket": { "mean_nnz": 40.0, @@ -3464,12 +1928,12 @@ "layer2": { "lth": { "mean_nnz": 64.0, - "max_nnz": 83.0, - "min_nnz": 44.0, + "max_nnz": 85.0, + "min_nnz": 37.0, "total_nnz": 16384, "numel": 131072, "sparsity": 0.875, - "utilization": 0.7710843373493976 + "utilization": 0.7529411764705882 }, "uticket": { "mean_nnz": 64.0, @@ -3531,12 +1995,12 @@ "layer2": { "lth": { "mean_nnz": 32.0, - "max_nnz": 43.0, - "min_nnz": 19.0, + "max_nnz": 44.0, + "min_nnz": 18.0, "total_nnz": 8192, "numel": 131072, "sparsity": 0.9375, - "utilization": 0.7441860465116279 + "utilization": 0.7272727272727273 }, "uticket": { "mean_nnz": 32.0, @@ -3599,7 +2063,7 @@ "lth": { "mean_nnz": 16.0, "max_nnz": 23.0, - "min_nnz": 7.0, + "min_nnz": 11.0, "total_nnz": 4096, "numel": 131072, "sparsity": 0.96875, @@ -3661,7 +2125,7 @@ "decision_margin": 2.0, "export": false, "seed": 1234, - "hub_dir": "/kaggle/working/hub/opt06_uticket_prune/rewind_epoch_5", + "hub_dir": "/kaggle/working/hub/opt06_uticket_prune/default", "repo_id": "UWU-R-13/SSVEP-SNN", "push_hf": false, "keep_epoch_weights": 1, @@ -3674,7 +2138,7 @@ "bench_train_steps": 20, "prune_rounds": 5, "prune_rate": 0.5, - "rewind_epoch": 5, + "rewind_epoch": 1, "balance": true, "balance_iters": 2, "prune_readout": false, @@ -3682,138 +2146,89 @@ } }, "zip": { - "name": "rewind_epoch_5.zip", + "name": "default.zip", "files": 81, - "bytes": 8032799, - "MB": 8.0, - "sha256": "1d7273c1361cb8ae29ebdbf7f2044317537adba581891a63ec662bd9b3b8d948" + "bytes": 8129041, + "MB": 8.1, + "sha256": "bdbba4d718c46fedaf00215f9c5812e399ad2772542fb2419c85df427e071443" } }, { - "key": "opt07_sfa_integer_train/hard_reset_D1", - "tag": "hard_reset_D1", + "key": "opt07_sfa_integer_train/control_baseline", + "tag": "control_baseline", "script": "opt07_sfa_integer_train.py", "hf_folder": "applied/opt07_sfa_integer_train", - "phase": 9, + "phase": 2, "status": "ok", - "duration_s": 333.6, + "duration_s": 325.5, "optimization_summary": { "optimization": "sfa_integer_train", "research_section": "3. Training-Time Approximation for Fewer Timesteps (SFA) / spike-storm suppression", "reference": "Yao et al., Scaling Spike-driven Transformer with Efficient Spike Firing Approximation Training, arXiv:2411.16061", "script": "opt07_sfa_integer_train.py", - "baseline_mode": false, + "baseline_mode": true, "method": "harmonic_matched", "accuracy": { - "test_acc": 0.9457142857142857, - "test_target_acc": 0.9457142857142857, + "test_acc": 0.9442857142857143, + "test_target_acc": 0.9442857142857143, "best_val_acc": 0.9464285714285714 }, "efficiency": { "spikes_per_inference": null, - "syn_ops_per_inference": 3248166.6850649347, + "syn_ops_per_inference": 3276098.271103896, "dense_macs_per_inference": 122675200.0, - "event_fraction_of_dense": 0.02647777778283577, - "syn_ops_per_inference_dense_fanout": 64824784.47159091, + "event_fraction_of_dense": 0.026705465090775447, + "syn_ops_per_inference_dense_fanout": 64852716.05762987, "weight_sparsity": 0.7324707846410685, - "effective_ticks": 12.107142857142858, + "effective_ticks": 12.049285714285714, "num_ticks": 100, "membrane_bytes_per_inference": 451200, "weight_bytes": 4907008, "input_raster_bytes": null, - "train_ms_per_step": 93.90855915000884, - "infer_ms_per_sample": 0.6246371478124502, - "peak_vram_mb": 2828.755968 + "train_ms_per_step": 95.41663794998385, + "infer_ms_per_sample": 0.6363128081250125, + "peak_vram_mb": 2829.275648 }, "optimization_specific": { "sfa_levels_D": 1, "soft_reset": false, - "storm_reg": 0.001, + "storm_reg": 0.0, "trained_T": 100, "infer_mode": "graded", - "min_ticks_within_1pct_of_full": 100, - "speedup_at_min_ticks": 1.0, - "full_T_acc": 0.9457142857142857, - "t_sweep_rows": [ - { - "T": 4, - "acc": 0.28214285714285714, - "syn_per_inference": 1865061.2053571427, - "dense_per_inference": 4907008.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 25.0 - }, - { - "T": 8, - "acc": 0.5857142857142857, - "syn_per_inference": 2043636.288961039, - "dense_per_inference": 9814016.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 12.5 - }, - { - "T": 16, - "acc": 0.8035714285714286, - "syn_per_inference": 2325766.0089285714, - "dense_per_inference": 19628032.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 6.25 - }, - { - "T": 25, - "acc": 0.8757142857142857, - "syn_per_inference": 2540783.9699675324, - "dense_per_inference": 30668800.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 4.0 - }, - { - "T": 50, - "acc": 0.93, - "syn_per_inference": 2887393.0584415584, - "dense_per_inference": 61337600.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 2.0 - }, - { - "T": 100, - "acc": 0.9457142857142857, - "syn_per_inference": 3248166.713474026, - "dense_per_inference": 122675200.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 1.0 - } - ], - "storm_ratio_peak_over_mean": 4.402592156354595, - "tick_activity_cv": 0.7492657914512895, - "mean_integer_activation": 0.07816793096872668, + "min_ticks_within_1pct_of_full": null, + "speedup_at_min_ticks": null, + "full_T_acc": null, + "t_sweep_rows": null, + "storm_ratio_peak_over_mean": 4.721035628917203, + "tick_activity_cv": 0.8204789844315089, + "mean_integer_activation": 0.07897717574611306, "frac_activations_gt1": 0.0, "max_activation": 1.0, "per_layer_activity": [ { "layer": 0, - "mean_integer_activation": 0.064309815550223, - "peak_tick_activation": 0.28312988951802254, - "storm_ratio": 4.402592156354595, - "tick_activity_cv": 0.7492657914512895, + "mean_integer_activation": 0.0650282603316009, + "peak_tick_activation": 0.3070007339119911, + "storm_ratio": 4.721035628917203, + "tick_activity_cv": 0.8204789844315089, "frac_activations_gt1": 0.0, "max_activation": 1.0 }, { "layer": 1, - "mean_integer_activation": 0.036434059143066404, - "peak_tick_activation": 0.07265853881835938, - "storm_ratio": 1.9942477046833988, - "tick_activity_cv": 0.22539867053210047, + "mean_integer_activation": 0.03752758026123047, + "peak_tick_activation": 0.084075927734375, + "storm_ratio": 2.240377001371265, + "tick_activity_cv": 0.2590329003324282, "frac_activations_gt1": 0.0, "max_activation": 1.0 }, { "layer": 2, - "mean_integer_activation": 0.13375991821289063, - "peak_tick_activation": 0.158294677734375, - "storm_ratio": 1.183423852595627, - "tick_activity_cv": 0.12266443917391988, + "mean_integer_activation": 0.1343756866455078, + "peak_tick_activation": 0.15582275390625, + "storm_ratio": 1.159605266370255, + "tick_activity_cv": 0.12113898330190948, "frac_activations_gt1": 0.0, "max_activation": 1.0 } @@ -3862,19 +2277,19 @@ "decision_margin": 2.0, "export": false, "seed": 1234, - "hub_dir": "/kaggle/working/hub/opt07_sfa_integer_train/hard_reset_D1", + "hub_dir": "/kaggle/working/hub/opt07_sfa_integer_train/control_baseline", "repo_id": "UWU-R-13/SSVEP-SNN", "push_hf": false, "keep_epoch_weights": 1, "no_resume": true, "selftest": false, - "baseline": false, + "baseline": true, "bench": true, "bench_warmup": 10, "bench_iters": 50, "bench_train_steps": 20, "sfa_levels": 4, - "soft_reset": false, + "soft_reset": true, "storm_reg": 0.001, "infer_mode": "graded", "t_sweep": "4,8,16,25,50,100", @@ -3882,21 +2297,21 @@ } }, "zip": { - "name": "hard_reset_D1.zip", - "files": 81, - "bytes": 12247474, + "name": "control_baseline.zip", + "files": 80, + "bytes": 12243558, "MB": 12.2, - "sha256": "14ec9f04c11682c9afbfa8aa48edc10a0d1b46c0b71aa2f5fc9f393b5519c9ad" + "sha256": "ef41cc96bceab3211a07c23bfa9469952a5d4dc3e8ca52e1b569b2e3abe6c088" } }, { - "key": "opt07_sfa_integer_train/infer_expanded", - "tag": "infer_expanded", + "key": "opt07_sfa_integer_train/default", + "tag": "default", "script": "opt07_sfa_integer_train.py", "hf_folder": "applied/opt07_sfa_integer_train", - "phase": 9, + "phase": 2, "status": "ok", - "duration_s": 361.5, + "duration_s": 356.1, "optimization_summary": { "optimization": "sfa_integer_train", "research_section": "3. Training-Time Approximation for Fewer Timesteps (SFA) / spike-storm suppression", @@ -3905,124 +2320,467 @@ "baseline_mode": false, "method": "harmonic_matched", "accuracy": { - "test_acc": 0.9264285714285714, - "test_target_acc": 0.9264285714285714, - "best_val_acc": 0.93 + "test_acc": 0.92, + "test_target_acc": 0.92, + "best_val_acc": 0.9271428571428572 }, "efficiency": { "spikes_per_inference": null, - "syn_ops_per_inference": 5329171.874188311, + "syn_ops_per_inference": 5310716.257305195, "dense_macs_per_inference": 122675200.0, - "event_fraction_of_dense": 0.043441313926435916, - "syn_ops_per_inference_dense_fanout": 66905789.66071429, + "event_fraction_of_dense": 0.04329087099352758, + "syn_ops_per_inference_dense_fanout": 66887334.04383116, "weight_sparsity": 0.7324707846410685, - "effective_ticks": 4.7178571428571425, + "effective_ticks": 3.89, "num_ticks": 100, "membrane_bytes_per_inference": 451200, "weight_bytes": 4907008, "input_raster_bytes": null, - "train_ms_per_step": 98.45181450000382, - "infer_ms_per_sample": 0.660058239062522, - "peak_vram_mb": 2832.446464 + "train_ms_per_step": 99.90659205000156, + "infer_ms_per_sample": 0.6726730093751598, + "peak_vram_mb": 2832.417792 }, "optimization_specific": { "sfa_levels_D": 4, "soft_reset": true, "storm_reg": 0.001, "trained_T": 100, - "infer_mode": "expanded", + "infer_mode": "graded", "min_ticks_within_1pct_of_full": 100, "speedup_at_min_ticks": 1.0, - "full_T_acc": 0.9264285714285714, + "full_T_acc": 0.92, "t_sweep_rows": [ { "T": 4, - "acc": 0.16, - "syn_per_inference": 2778669.6290584416, + "acc": 0.20285714285714285, + "syn_per_inference": 2760457.5081168828, "dense_per_inference": 4907008.0, "infer_mode": "graded", "ticks_speedup_vs_trained_T": 25.0 }, { "T": 8, - "acc": 0.2892857142857143, - "syn_per_inference": 3495133.1233766233, + "acc": 0.31, + "syn_per_inference": 3462951.003246753, "dense_per_inference": 9814016.0, "infer_mode": "graded", "ticks_speedup_vs_trained_T": 12.5 }, { "T": 16, - "acc": 0.5628571428571428, - "syn_per_inference": 4105260.607142857, + "acc": 0.5964285714285714, + "syn_per_inference": 4058790.475649351, "dense_per_inference": 19628032.0, "infer_mode": "graded", "ticks_speedup_vs_trained_T": 6.25 }, { "T": 25, - "acc": 0.765, - "syn_per_inference": 4387251.887987013, + "acc": 0.7807142857142857, + "syn_per_inference": 4340038.356331169, "dense_per_inference": 30668800.0, "infer_mode": "graded", "ticks_speedup_vs_trained_T": 4.0 }, { "T": 50, - "acc": 0.8835714285714286, - "syn_per_inference": 4760043.469155844, + "acc": 0.89, + "syn_per_inference": 4723786.811688311, "dense_per_inference": 61337600.0, "infer_mode": "graded", "ticks_speedup_vs_trained_T": 2.0 }, { "T": 100, - "acc": 0.9264285714285714, - "syn_per_inference": 5327084.303571429, + "acc": 0.92, + "syn_per_inference": 5310716.143668831, "dense_per_inference": 122675200.0, "infer_mode": "graded", "ticks_speedup_vs_trained_T": 1.0 } ], - "storm_ratio_peak_over_mean": 3.6731897953532338, - "tick_activity_cv": 0.5687552774544564, - "mean_integer_activation": 0.10272448336705566, - "frac_activations_gt1": 0.021054688608273864, - "max_activation": 4.0, - "per_layer_activity": [ + "storm_ratio_peak_over_mean": 3.917304922499363, + "tick_activity_cv": 0.5639521370282741, + "mean_integer_activation": 0.10247435106274982, + "frac_activations_gt1": 0.020924500189721584, + "max_activation": 4.0, + "per_layer_activity": [ + { + "layer": 0, + "mean_integer_activation": 0.1845430330466479, + "peak_tick_activation": 0.6301635801792145, + "storm_ratio": 3.414724304547031, + "tick_activity_cv": 0.5639521370282741, + "frac_activations_gt1": 0.020924500189721584, + "max_activation": 4.0 + }, + { + "layer": 1, + "mean_integer_activation": 0.049515380859375, + "peak_tick_activation": 0.12670516967773438, + "storm_ratio": 2.5589052831398074, + "tick_activity_cv": 0.317194117302912, + "frac_activations_gt1": 0.0011785506940213963, + "max_activation": 4.0 + }, + { + "layer": 2, + "mean_integer_activation": 0.07336463928222657, + "peak_tick_activation": 0.28739166259765625, + "storm_ratio": 3.917304922499363, + "tick_activity_cv": 0.5378646067202674, + "frac_activations_gt1": 0.0013993072061566636, + "max_activation": 4.0 + } + ], + "expanded_vs_graded_agreement": 0.9921875, + "expanded_acc": 0.87109375, + "graded_acc": 0.875, + "syn_ratio_expanded_over_graded": 1.0003825206412895, + "expansion_caveat": "exact only at beta=1 (IAF); with beta<1 the expanded mode applies decay per sub-tick and drifts" + }, + "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/opt07_sfa_integer_train/default", + "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, + "sfa_levels": 4, + "soft_reset": true, + "storm_reg": 0.001, + "infer_mode": "graded", + "t_sweep": "4,8,16,25,50,100", + "sampling_rate": 250.0 + } + }, + "zip": { + "name": "default.zip", + "files": 81, + "bytes": 12257656, + "MB": 12.3, + "sha256": "db0dbaf735fdc9917ddc6adb439003d589997a1e3d7383781e05c6761ae5492d" + } + }, + { + "key": "opt08_mint_quant/control_baseline", + "tag": "control_baseline", + "script": "opt08_mint_quant.py", + "hf_folder": "applied/opt08_mint_quant", + "phase": 2, + "status": "ok", + "duration_s": 322.0, + "optimization_summary": { + "optimization": "mint_quant", + "research_section": "4. Membrane-Potential Memory-Wall Optimizations (multiplier-less integer quantization)", + "reference": "Yin et al., MINT: Multiplier-less INTeger Quantization for Energy Efficient Spiking Neural Networks, arXiv:2305.09850 (ASP-DAC 2024)", + "script": "opt08_mint_quant.py", + "baseline_mode": true, + "method": "harmonic_matched", + "accuracy": { + "test_acc": 0.945, + "test_target_acc": 0.945, + "best_val_acc": 0.9464285714285714 + }, + "efficiency": { + "spikes_per_inference": null, + "syn_ops_per_inference": 3264850.94724026, + "dense_macs_per_inference": 122675200.0, + "event_fraction_of_dense": 0.026613781328583608, + "syn_ops_per_inference_dense_fanout": 64841468.73376623, + "weight_sparsity": 0.7324707846410685, + "effective_ticks": 11.907142857142857, + "num_ticks": 100, + "membrane_bytes_per_inference": 451200, + "weight_bytes": 4907008, + "input_raster_bytes": null, + "train_ms_per_step": 94.69941574998302, + "infer_ms_per_sample": 0.626549786562407, + "peak_vram_mb": 2828.246528 + }, + "optimization_specific": { + "w_bits": 0, + "u_bits": 0, + "leak_shift": 0, + "beta_eff": 1.0, + "qat": false, + "batchnorm": true, + "membrane_memory_reduction_x": 1.0, + "weight_memory_reduction_x": 1.0, + "membrane_bytes_per_inference": 451200.0, + "working_set_bytes": 4911520.0, + "baseline_working_set_bytes": 4911520.0, + "l2_cache_fits": false, + "baseline_l2_cache_fits": false, + "l2_budget_bytes": 2097152, + "membrane_saturation_frac": null, + "acc_vs_ubits": {}, + "bits_sweep_rows": null, + "fp32_membrane_acc": null, + "per_layer_scales": [ + { + "layer": 0, + "weight_scale": 9.543621453115142e-11, + "membrane_scale": 1.0, + "shared_scale_gauge_factor": 100000000.0 + }, + { + "layer": 1, + "weight_scale": 6.892802998249627e-11, + "membrane_scale": 1.0, + "shared_scale_gauge_factor": 100000000.0 + }, + { + "layer": 2, + "weight_scale": 3.9894622346473585e-11, + "membrane_scale": 1.0, + "shared_scale_gauge_factor": 100000000.0 + }, + { + "layer": 3, + "weight_scale": 6.857638765596422e-11, + "membrane_scale": 1.0, + "shared_scale_gauge_factor": 100000000.0 + } + ], + "shared_scale_note": "weight grid and membrane grid are the same grid up to a per-layer positive scalar that BatchNorm absorbs exactly; exact only with --batchnorm on", + "multiplier_less_compare": false, + "wall_clock_caveat": "this reference kernel computes in fp32 registers, so the traffic win does not appear in train_ms_per_step; a fixed-point core is where it becomes energy" + }, + "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/opt08_mint_quant/control_baseline", + "repo_id": "UWU-R-13/SSVEP-SNN", + "push_hf": false, + "keep_epoch_weights": 1, + "no_resume": true, + "selftest": false, + "baseline": true, + "bench": true, + "bench_warmup": 10, + "bench_iters": 50, + "bench_train_steps": 20, + "w_bits": 4, + "u_bits": 2, + "leak_shift": 0, + "qat": true, + "bits_sweep": "2,4,8,0", + "l2_bytes": 2097152, + "sampling_rate": 250.0 + } + }, + "zip": { + "name": "control_baseline.zip", + "files": 80, + "bytes": 12247949, + "MB": 12.2, + "sha256": "6cdb33c67b4c87ce6cb384cb3728a02b828738c952c7367ba2e2fbf552054529" + } + }, + { + "key": "opt08_mint_quant/default", + "tag": "default", + "script": "opt08_mint_quant.py", + "hf_folder": "applied/opt08_mint_quant", + "phase": 2, + "status": "ok", + "duration_s": 325.4, + "optimization_summary": { + "optimization": "mint_quant", + "research_section": "4. Membrane-Potential Memory-Wall Optimizations (multiplier-less integer quantization)", + "reference": "Yin et al., MINT: Multiplier-less INTeger Quantization for Energy Efficient Spiking Neural Networks, arXiv:2305.09850 (ASP-DAC 2024)", + "script": "opt08_mint_quant.py", + "baseline_mode": false, + "method": "harmonic_matched", + "accuracy": { + "test_acc": 0.24714285714285714, + "test_target_acc": 0.24714285714285714, + "best_val_acc": 0.5085714285714286 + }, + "efficiency": { + "spikes_per_inference": null, + "syn_ops_per_inference": 850625.0412946428, + "dense_macs_per_inference": 122675200.0, + "event_fraction_of_dense": 0.006933960908925707, + "syn_ops_per_inference_dense_fanout": 63614042.63717532, + "weight_sparsity": 0.9790471097662772, + "effective_ticks": 39.044285714285714, + "num_ticks": 100, + "membrane_bytes_per_inference": 0, + "weight_bytes": 613376, + "input_raster_bytes": null, + "train_ms_per_step": 89.64440669997202, + "infer_ms_per_sample": 0.6133386103124394, + "peak_vram_mb": 2834.896384 + }, + "optimization_specific": { + "w_bits": 4, + "u_bits": 2, + "leak_shift": 0, + "beta_eff": 1.0, + "qat": true, + "batchnorm": true, + "membrane_memory_reduction_x": 16.0, + "weight_memory_reduction_x": 8.0, + "membrane_bytes_per_inference": 28200.0, + "working_set_bytes": 613658.0, + "baseline_working_set_bytes": 4911520.0, + "l2_cache_fits": true, + "baseline_l2_cache_fits": false, + "l2_budget_bytes": 2097152, + "membrane_saturation_frac": 0.019412504155585104, + "acc_vs_ubits": { + "2": 0.24714285714285714, + "4": 0.22214285714285714, + "8": 0.23285714285714285, + "0": 0.18928571428571428 + }, + "bits_sweep_rows": [ + { + "u_bits": 2, + "acc": 0.24714285714285714, + "target_acc": 0.24714285714285714, + "membrane_bytes_per_neuron_per_tick": 0.25, + "membrane_memory_reduction_x": 16.0, + "membrane_saturation_frac": 0.017122742132092198, + "acc_drop_vs_fp32": -0.05785714285714286 + }, + { + "u_bits": 4, + "acc": 0.22214285714285714, + "target_acc": 0.22214285714285714, + "membrane_bytes_per_neuron_per_tick": 0.5, + "membrane_memory_reduction_x": 8.0, + "membrane_saturation_frac": 0.16233945589539006, + "acc_drop_vs_fp32": -0.03285714285714286 + }, + { + "u_bits": 8, + "acc": 0.23285714285714285, + "target_acc": 0.23285714285714285, + "membrane_bytes_per_neuron_per_tick": 1.0, + "membrane_memory_reduction_x": 4.0, + "membrane_saturation_frac": 0.36418647495567374, + "acc_drop_vs_fp32": -0.043571428571428567 + }, + { + "u_bits": 0, + "acc": 0.18928571428571428, + "target_acc": 0.18928571428571428, + "membrane_bytes_per_neuron_per_tick": 4.0, + "membrane_memory_reduction_x": 1.0, + "membrane_saturation_frac": null, + "acc_drop_vs_fp32": 0.0 + } + ], + "fp32_membrane_acc": 0.18928571428571428, + "per_layer_scales": [ { "layer": 0, - "mean_integer_activation": 0.18541565285995604, - "peak_tick_activation": 0.640545666217804, - "storm_ratio": 3.454647201234981, - "tick_activity_cv": 0.5687552774544564, - "frac_activations_gt1": 0.021054688608273864, - "max_activation": 4.0 + "weight_scale": 0.026102902633803233, + "membrane_scale": 1.0, + "shared_scale_gauge_factor": 38.30991572197802 }, { "layer": 1, - "mean_integer_activation": 0.04947120666503906, - "peak_tick_activation": 0.12639999389648438, - "storm_ratio": 2.555021444136521, - "tick_activity_cv": 0.3229986629594537, - "frac_activations_gt1": 0.00117851253162371, - "max_activation": 4.0 + "weight_scale": 0.02913376901830946, + "membrane_scale": 1.0, + "shared_scale_gauge_factor": 34.324429474660086 }, { "layer": 2, - "mean_integer_activation": 0.07328659057617187, - "peak_tick_activation": 0.269195556640625, - "storm_ratio": 3.6731897953532338, - "tick_activity_cv": 0.5266420152224381, - "frac_activations_gt1": 0.0013648986277985387, - "max_activation": 4.0 + "weight_scale": 0.028474173375538418, + "membrane_scale": 1.0, + "shared_scale_gauge_factor": 35.11954453642119 + }, + { + "layer": 3, + "weight_scale": 0.0215481093951634, + "membrane_scale": 1.0, + "shared_scale_gauge_factor": 46.40778370210316 } ], - "expanded_vs_graded_agreement": 1.0, - "expanded_acc": 0.9140625, - "graded_acc": 0.9140625, - "syn_ratio_expanded_over_graded": 1.0003622535345824, - "expansion_caveat": "exact only at beta=1 (IAF); with beta<1 the expanded mode applies decay per sub-tick and drifts" + "shared_scale_note": "weight grid and membrane grid are the same grid up to a per-layer positive scalar that BatchNorm absorbs exactly; exact only with --batchnorm on", + "multiplier_less_compare": true, + "wall_clock_caveat": "this reference kernel computes in fp32 registers, so the traffic win does not appear in train_ms_per_step; a fixed-point core is where it becomes energy" }, "config": { "method": "harmonic_matched", @@ -4062,7 +2820,7 @@ "decision_margin": 2.0, "export": false, "seed": 1234, - "hub_dir": "/kaggle/working/hub/opt07_sfa_integer_train/infer_expanded", + "hub_dir": "/kaggle/working/hub/opt08_mint_quant/default", "repo_id": "UWU-R-13/SSVEP-SNN", "push_hf": false, "keep_epoch_weights": 1, @@ -4073,156 +2831,265 @@ "bench_warmup": 10, "bench_iters": 50, "bench_train_steps": 20, - "sfa_levels": 4, - "soft_reset": true, - "storm_reg": 0.001, - "infer_mode": "expanded", - "t_sweep": "4,8,16,25,50,100", + "w_bits": 4, + "u_bits": 2, + "leak_shift": 0, + "qat": true, + "bits_sweep": "2,4,8,0", + "l2_bytes": 2097152, "sampling_rate": 250.0 } }, "zip": { - "name": "infer_expanded.zip", + "name": "default.zip", "files": 81, - "bytes": 12257806, - "MB": 12.3, - "sha256": "ce5e194365b062cb3866b982931e820ee73fb98483e8b12a4970e99e56ca8bcf" + "bytes": 12351757, + "MB": 12.4, + "sha256": "c2ec90c788101866da3bd41fbc98fc8613354d1e1195170654ec755e22af7703" } }, { - "key": "opt07_sfa_integer_train/storm_reg_1e-2", - "tag": "storm_reg_1e-2", - "script": "opt07_sfa_integer_train.py", - "hf_folder": "applied/opt07_sfa_integer_train", - "phase": 9, + "key": "opt09_srif_softreset/control_baseline", + "tag": "control_baseline", + "script": "opt09_srif_softreset.py", + "hf_folder": "applied/opt09_srif_softreset", + "phase": 2, "status": "ok", - "duration_s": 352.7, + "duration_s": 338.0, "optimization_summary": { - "optimization": "sfa_integer_train", - "research_section": "3. Training-Time Approximation for Fewer Timesteps (SFA) / spike-storm suppression", - "reference": "Yao et al., Scaling Spike-driven Transformer with Efficient Spike Firing Approximation Training, arXiv:2411.16061", - "script": "opt07_sfa_integer_train.py", - "baseline_mode": false, + "optimization": "srif_softreset", + "research_section": "4. Membrane-Potential Memory Wall -- Soft Reset Integrate-and-Fire (SRIF), dynamic reset potential", + "reference": "Guo et al., 'Reducing Information Loss for Spiking Neural Networks' (SRIF), ECCV 2022; research.md S4 (stacks with MINT / SpQuant-SNN membrane quantization)", + "script": "opt09_srif_softreset.py", + "baseline_mode": true, "method": "harmonic_matched", "accuracy": { - "test_acc": 0.9271428571428572, - "test_target_acc": 0.9271428571428572, - "best_val_acc": 0.9257142857142857 + "test_acc": 0.9464285714285714, + "test_target_acc": 0.9464285714285714, + "best_val_acc": 0.9428571428571428 }, "efficiency": { - "spikes_per_inference": null, - "syn_ops_per_inference": 5481484.731331169, + "spikes_per_inference": 7588.84375, + "syn_ops_per_inference": 3247531.347402598, "dense_macs_per_inference": 122675200.0, - "event_fraction_of_dense": 0.04468290845526372, - "syn_ops_per_inference_dense_fanout": 67058102.51785714, + "event_fraction_of_dense": 0.026472598759998744, + "syn_ops_per_inference_dense_fanout": 64824149.13392857, "weight_sparsity": 0.7324707846410685, - "effective_ticks": 3.505714285714286, + "effective_ticks": 12.189285714285715, "num_ticks": 100, "membrane_bytes_per_inference": 451200, "weight_bytes": 4907008, "input_raster_bytes": null, - "train_ms_per_step": 98.8862052499826, - "infer_ms_per_sample": 0.6657202099999893, - "peak_vram_mb": 2833.100288 + "train_ms_per_step": 95.90769074993659, + "infer_ms_per_sample": 0.6329408046872231, + "peak_vram_mb": 2828.263424, + "discarded_charge_per_reset": 0.27173534693841395 }, "optimization_specific": { - "sfa_levels_D": 4, - "soft_reset": true, - "storm_reg": 0.01, - "trained_T": 100, - "infer_mode": "graded", - "min_ticks_within_1pct_of_full": 100, - "speedup_at_min_ticks": 1.0, - "full_T_acc": 0.9271428571428572, - "t_sweep_rows": [ - { - "T": 4, - "acc": 0.21571428571428572, - "syn_per_inference": 2678610.4642857146, - "dense_per_inference": 4907008.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 25.0 - }, - { - "T": 8, - "acc": 0.3557142857142857, - "syn_per_inference": 3344226.649350649, - "dense_per_inference": 9814016.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 12.5 - }, - { - "T": 16, - "acc": 0.6378571428571429, - "syn_per_inference": 3941638.6444805195, - "dense_per_inference": 19628032.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 6.25 - }, - { - "T": 25, - "acc": 0.7914285714285715, - "syn_per_inference": 4239864.0032467535, - "dense_per_inference": 30668800.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 4.0 - }, - { - "T": 50, - "acc": 0.8857142857142857, - "syn_per_inference": 4694799.851461039, - "dense_per_inference": 61337600.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 2.0 - }, - { - "T": 100, - "acc": 0.9271428571428572, - "syn_per_inference": 5481484.731331169, - "dense_per_inference": 122675200.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 1.0 - } - ], - "storm_ratio_peak_over_mean": 3.003345709243902, - "tick_activity_cv": 0.46190065268000957, - "mean_integer_activation": 0.10574525063236555, - "frac_activations_gt1": 0.020694764563813806, - "max_activation": 4.0, - "per_layer_activity": [ - { - "layer": 0, - "mean_integer_activation": 0.19540179803967475, - "peak_tick_activation": 0.5868591517210007, - "storm_ratio": 3.003345709243902, - "tick_activity_cv": 0.46190065268000957, - "frac_activations_gt1": 0.020694764563813806, - "max_activation": 4.0 - }, - { - "layer": 1, - "mean_integer_activation": 0.04897125244140625, - "peak_tick_activation": 0.11265945434570312, - "storm_ratio": 2.3005222192448387, - "tick_activity_cv": 0.26290936311848917, - "frac_activations_gt1": 0.0010063552690553479, - "max_activation": 4.0 - }, - { - "layer": 2, - "mean_integer_activation": 0.07286270141601563, - "peak_tick_activation": 0.21881866455078125, - "storm_ratio": 3.0031643117569575, - "tick_activity_cv": 0.36416396678259205, - "frac_activations_gt1": 0.0011422729294281453, - "max_activation": 4.0 + "reset_mode": "hard", + "learn_reset": false, + "lam_init": 0.9, + "v_reset_init": 0.0, + "u_bits": 0, + "u_scale": 1.0, + "u_headroom_requested": 2.0, + "u_headroom_actual": 0.0, + "u_threshold_level": 0, + "u_levels_above_threshold": null, + "reset_family": { + "reset_mode": "hard", + "learn_reset": false, + "num_spiking_sites": 4, + "extra_params": 0, + "extra_params_frac_of_weights": 0.0, + "extra_flops_per_tick_per_neuron": 0, + "learned_lam_per_layer": [ + 0.0, + 0.0, + 0.0, + 0.0 + ], + "learned_v_reset_per_layer": [ + 0.0, + 0.0, + 0.0, + 0.0 + ] + }, + "reset_stats": { + "reset_mode": "hard", + "learn_reset": false, + "discarded_charge_per_reset": 0.27173534693841395, + "spikes_per_inference": 7588.84375, + "syn_per_inference": 3309132.71875, + "lam_per_site": [ + 0.0, + 0.0, + 0.0, + 0.0 + ], + "v_reset_per_site": [ + 0.0, + 0.0, + 0.0, + 0.0 + ], + "u_bits": 0, + "membrane_saturation_frac": null, + "batches": 4, + "grid_headroom": 0.0, + "grid_levels_above_thresh": null + }, + "reset_x_bits_sweep": { + "rows": [ + { + "reset_mode": "hard", + "u_bits": 0, + "acc": 0.9464285714285714, + "target_acc": 0.9464285714285714, + "grid_headroom": 0.0, + "grid_levels_above_thresh": null, + "discarded_charge_per_reset": 0.2740163210672487, + "spikes_per_inference": 7531.203125, + "membrane_saturation_frac": null, + "membrane_memory_reduction_x": 1.0, + "acc_drop_vs_fp32": 0.0 + }, + { + "reset_mode": "hard", + "u_bits": 4, + "acc": 0.96, + "target_acc": 0.96, + "grid_headroom": 1.75, + "grid_levels_above_thresh": 3, + "discarded_charge_per_reset": 0.16058549060468713, + "spikes_per_inference": 9036.453125, + "membrane_saturation_frac": 0.30208174035904256, + "membrane_memory_reduction_x": 8.0, + "acc_drop_vs_fp32": -0.013571428571428568 + }, + { + "reset_mode": "hard", + "u_bits": 2, + "acc": 0.9007142857142857, + "target_acc": 0.9007142857142857, + "grid_headroom": 1.0, + "grid_levels_above_thresh": 0, + "discarded_charge_per_reset": 0.0, + "spikes_per_inference": 9342.71875, + "membrane_saturation_frac": 0.5301250831117021, + "membrane_memory_reduction_x": 16.0, + "acc_drop_vs_fp32": 0.04571428571428571 + }, + { + "reset_mode": "soft", + "u_bits": 0, + "acc": 0.8421428571428572, + "target_acc": 0.8421428571428572, + "grid_headroom": 0.0, + "grid_levels_above_thresh": null, + "discarded_charge_per_reset": 0.0, + "spikes_per_inference": 10064.375, + "membrane_saturation_frac": null, + "membrane_memory_reduction_x": 1.0, + "acc_drop_vs_fp32": 0.0 + }, + { + "reset_mode": "soft", + "u_bits": 4, + "acc": 0.9585714285714285, + "target_acc": 0.9585714285714285, + "grid_headroom": 1.75, + "grid_levels_above_thresh": 3, + "discarded_charge_per_reset": 0.0, + "spikes_per_inference": 10738.90625, + "membrane_saturation_frac": 0.33801418439716313, + "membrane_memory_reduction_x": 8.0, + "acc_drop_vs_fp32": -0.11642857142857133 + }, + { + "reset_mode": "soft", + "u_bits": 2, + "acc": 0.9007142857142857, + "target_acc": 0.9007142857142857, + "grid_headroom": 1.0, + "grid_levels_above_thresh": 0, + "discarded_charge_per_reset": 0.0, + "spikes_per_inference": 9342.71875, + "membrane_saturation_frac": 0.5301250831117021, + "membrane_memory_reduction_x": 16.0, + "acc_drop_vs_fp32": -0.0585714285714285 + }, + { + "reset_mode": "trained", + "u_bits": 0, + "acc": 0.9464285714285714, + "target_acc": 0.9464285714285714, + "grid_headroom": 0.0, + "grid_levels_above_thresh": null, + "discarded_charge_per_reset": 0.27401632159846223, + "spikes_per_inference": 7531.203125, + "membrane_saturation_frac": null, + "membrane_memory_reduction_x": 1.0, + "acc_drop_vs_fp32": 0.0 + }, + { + "reset_mode": "trained", + "u_bits": 4, + "acc": 0.96, + "target_acc": 0.96, + "grid_headroom": 1.75, + "grid_levels_above_thresh": 3, + "discarded_charge_per_reset": 0.1605852697683357, + "spikes_per_inference": 9036.453125, + "membrane_saturation_frac": 0.30208174035904256, + "membrane_memory_reduction_x": 8.0, + "acc_drop_vs_fp32": -0.013571428571428568 + }, + { + "reset_mode": "trained", + "u_bits": 2, + "acc": 0.9007142857142857, + "target_acc": 0.9007142857142857, + "grid_headroom": 1.0, + "grid_levels_above_thresh": 0, + "discarded_charge_per_reset": 0.0, + "spikes_per_inference": 9342.71875, + "membrane_saturation_frac": 0.5301250831117021, + "membrane_memory_reduction_x": 16.0, + "acc_drop_vs_fp32": 0.04571428571428571 + } + ], + "by_mode": { + "hard": { + "fp32_acc": 0.9464285714285714, + "acc_by_bits": { + "0": 0.9464285714285714, + "4": 0.96, + "2": 0.9007142857142857 + } + }, + "soft": { + "fp32_acc": 0.8421428571428572, + "acc_by_bits": { + "0": 0.8421428571428572, + "4": 0.9585714285714285, + "2": 0.9007142857142857 + } + }, + "trained": { + "fp32_acc": 0.9464285714285714, + "acc_by_bits": { + "0": 0.9464285714285714, + "4": 0.96, + "2": 0.9007142857142857 + } + } } - ], - "expanded_vs_graded_agreement": 0.9921875, - "expanded_acc": 0.90625, - "graded_acc": 0.90625, - "syn_ratio_expanded_over_graded": 1.0003618800383918, - "expansion_caveat": "exact only at beta=1 (IAF); with beta<1 the expanded mode applies decay per sub-tick and drifts" + }, + "mechanism": "V = u - s*((1-lam)*u + lam*thresh) + s*v_r; lam=0,v_r=0 is the baseline hard reset exactly, lam=1,v_r=0 discards zero charge", + "cost": "2 scalars per spiking layer; identical FMA count per tick, so the reset change is free at inference time", + "caveat": "the sweep swaps the reset on ALREADY-TRAINED weights, which under-states what training with each reset would give; and a charge-conserving reset can raise the spike count, so read spikes_per_inference next to the accuracy" }, "config": { "method": "harmonic_matched", @@ -4262,191 +3129,278 @@ "decision_margin": 2.0, "export": false, "seed": 1234, - "hub_dir": "/kaggle/working/hub/opt07_sfa_integer_train/storm_reg_1e-2", + "hub_dir": "/kaggle/working/hub/opt09_srif_softreset/control_baseline", "repo_id": "UWU-R-13/SSVEP-SNN", "push_hf": false, "keep_epoch_weights": 1, "no_resume": true, "selftest": false, - "baseline": false, + "reset_mode": "srif", + "learn_reset": true, + "lam_init": 0.9, + "v_reset_init": 0.0, + "u_bits": 0, + "u_headroom": 2.0, + "reset_sweep": "hard,soft,trained", + "bits_sweep": "0,4,2", + "baseline": true, "bench": true, "bench_warmup": 10, "bench_iters": 50, "bench_train_steps": 20, - "sfa_levels": 4, - "soft_reset": true, - "storm_reg": 0.01, - "infer_mode": "graded", - "t_sweep": "4,8,16,25,50,100", "sampling_rate": 250.0 } }, "zip": { - "name": "storm_reg_1e-2.zip", - "files": 81, - "bytes": 12255265, - "MB": 12.3, - "sha256": "c2a25d9ee33de9bba942a4027d5d7df8d62fa45eb05f8d3d39e831de2f724632" + "name": "control_baseline.zip", + "files": 78, + "bytes": 7975348, + "MB": 8.0, + "sha256": "4186ff3945005fa15ca75a27d3ef1dcacb7656ee24e417d75076703e65e0cf74" } }, { - "key": "opt07_sfa_integer_train/t_sweep_ultra_low", - "tag": "t_sweep_ultra_low", - "script": "opt07_sfa_integer_train.py", - "hf_folder": "applied/opt07_sfa_integer_train", - "phase": 9, + "key": "opt09_srif_softreset/default", + "tag": "default", + "script": "opt09_srif_softreset.py", + "hf_folder": "applied/opt09_srif_softreset", + "phase": 2, "status": "ok", - "duration_s": 351.0, + "duration_s": 349.8, "optimization_summary": { - "optimization": "sfa_integer_train", - "research_section": "3. Training-Time Approximation for Fewer Timesteps (SFA) / spike-storm suppression", - "reference": "Yao et al., Scaling Spike-driven Transformer with Efficient Spike Firing Approximation Training, arXiv:2411.16061", - "script": "opt07_sfa_integer_train.py", + "optimization": "srif_softreset", + "research_section": "4. Membrane-Potential Memory Wall -- Soft Reset Integrate-and-Fire (SRIF), dynamic reset potential", + "reference": "Guo et al., 'Reducing Information Loss for Spiking Neural Networks' (SRIF), ECCV 2022; research.md S4 (stacks with MINT / SpQuant-SNN membrane quantization)", + "script": "opt09_srif_softreset.py", "baseline_mode": false, "method": "harmonic_matched", "accuracy": { - "test_acc": 0.925, - "test_target_acc": 0.925, - "best_val_acc": 0.9285714285714286 + "test_acc": 0.8514285714285714, + "test_target_acc": 0.8514285714285714, + "best_val_acc": 0.8735714285714286 }, "efficiency": { - "spikes_per_inference": null, - "syn_ops_per_inference": 5325856.609577922, + "spikes_per_inference": 9160.76953125, + "syn_ops_per_inference": 4535591.534902598, "dense_macs_per_inference": 122675200.0, - "event_fraction_of_dense": 0.04341428919274574, - "syn_ops_per_inference_dense_fanout": 66902474.39610389, + "event_fraction_of_dense": 0.036972359000862424, + "syn_ops_per_inference_dense_fanout": 66112209.32142857, "weight_sparsity": 0.7324707846410685, - "effective_ticks": 3.922142857142857, + "effective_ticks": 14.777142857142858, "num_ticks": 100, "membrane_bytes_per_inference": 451200, "weight_bytes": 4907008, "input_raster_bytes": null, - "train_ms_per_step": 98.89879284999097, - "infer_ms_per_sample": 0.6661157987500133, - "peak_vram_mb": 2832.45568 + "train_ms_per_step": 99.64558419997047, + "infer_ms_per_sample": 0.6644193996874037, + "peak_vram_mb": 2830.266368, + "discarded_charge_per_reset": -0.4044694791624079 }, "optimization_specific": { - "sfa_levels_D": 4, - "soft_reset": true, - "storm_reg": 0.001, - "trained_T": 100, - "infer_mode": "graded", - "min_ticks_within_1pct_of_full": 100, - "speedup_at_min_ticks": 1.0, - "full_T_acc": 0.925, - "t_sweep_rows": [ - { - "T": 2, - "acc": 0.07642857142857143, - "syn_per_inference": 2239954.340909091, - "dense_per_inference": 2453504.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 50.0 - }, - { - "T": 3, - "acc": 0.1357142857142857, - "syn_per_inference": 2528104.3733766233, - "dense_per_inference": 3680256.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 33.333333333333336 - }, - { - "T": 4, - "acc": 0.1657142857142857, - "syn_per_inference": 2779257.885551948, - "dense_per_inference": 4907008.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 25.0 - }, - { - "T": 6, - "acc": 0.23142857142857143, - "syn_per_inference": 3189504.724837662, - "dense_per_inference": 7360512.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 16.666666666666668 - }, - { - "T": 8, - "acc": 0.30642857142857144, - "syn_per_inference": 3490675.0357142854, - "dense_per_inference": 9814016.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 12.5 - }, - { - "T": 12, - "acc": 0.4342857142857143, - "syn_per_inference": 3871810.025162338, - "dense_per_inference": 14721024.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 8.333333333333334 - }, - { - "T": 16, - "acc": 0.5678571428571428, - "syn_per_inference": 4094637.9375, - "dense_per_inference": 19628032.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 6.25 - }, - { - "T": 25, - "acc": 0.7721428571428571, - "syn_per_inference": 4374663.069805195, - "dense_per_inference": 30668800.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 4.0 - }, - { - "T": 100, - "acc": 0.925, - "syn_per_inference": 5325856.666396104, - "dense_per_inference": 122675200.0, - "infer_mode": "graded", - "ticks_speedup_vs_trained_T": 1.0 - } - ], - "storm_ratio_peak_over_mean": 3.6839613211418474, - "tick_activity_cv": 0.5593002627242345, - "mean_integer_activation": 0.10257062120983997, - "frac_activations_gt1": 0.020979859633371234, - "max_activation": 4.0, - "per_layer_activity": [ - { - "layer": 0, - "mean_integer_activation": 0.18541919242590665, - "peak_tick_activation": 0.6322021558880806, - "storm_ratio": 3.409583159201322, - "tick_activity_cv": 0.5593002627242345, - "frac_activations_gt1": 0.020979859633371234, - "max_activation": 4.0 - }, - { - "layer": 1, - "mean_integer_activation": 0.049783668518066405, - "peak_tick_activation": 0.12538528442382812, - "storm_ratio": 2.518602749781809, - "tick_activity_cv": 0.3183053742457197, - "frac_activations_gt1": 0.0011735152947949246, - "max_activation": 4.0 - }, - { - "layer": 2, - "mean_integer_activation": 0.07250900268554687, - "peak_tick_activation": 0.267120361328125, - "storm_ratio": 3.6839613211418474, - "tick_activity_cv": 0.5338615572684136, - "frac_activations_gt1": 0.0013800048400298692, - "max_activation": 4.0 + "reset_mode": "srif", + "learn_reset": true, + "lam_init": 0.9, + "v_reset_init": 0.0, + "u_bits": 0, + "u_scale": 1.0, + "u_headroom_requested": 2.0, + "u_headroom_actual": 0.0, + "u_threshold_level": 0, + "u_levels_above_threshold": null, + "reset_family": { + "reset_mode": "srif", + "learn_reset": true, + "num_spiking_sites": 4, + "extra_params": 8, + "extra_params_frac_of_weights": 6.5212854757929885e-06, + "extra_flops_per_tick_per_neuron": 0, + "learned_lam_per_layer": [ + 0.7024049758911133, + 0.715212345123291, + 0.6971885561943054, + 0.8579108715057373 + ], + "learned_v_reset_per_layer": [ + 0.4615882337093353, + 0.5068790912628174, + 0.42991286516189575, + 0.912826657295227 + ] + }, + "reset_stats": { + "reset_mode": "srif", + "learn_reset": true, + "discarded_charge_per_reset": -0.4044694791624079, + "spikes_per_inference": 9160.76953125, + "syn_per_inference": 4633346.53125, + "lam_per_site": [ + 0.7024049758911133, + 0.715212345123291, + 0.6971885561943054, + 0.8579108715057373 + ], + "v_reset_per_site": [ + 0.4615882337093353, + 0.5068790912628174, + 0.42991286516189575, + 0.912826657295227 + ], + "u_bits": 0, + "membrane_saturation_frac": null, + "batches": 4, + "grid_headroom": 0.0, + "grid_levels_above_thresh": null + }, + "reset_x_bits_sweep": { + "rows": [ + { + "reset_mode": "hard", + "u_bits": 0, + "acc": 0.7942857142857143, + "target_acc": 0.7942857142857143, + "grid_headroom": 0.0, + "grid_levels_above_thresh": null, + "discarded_charge_per_reset": 0.15664060785650546, + "spikes_per_inference": 6160.265625, + "membrane_saturation_frac": null, + "membrane_memory_reduction_x": 1.0, + "acc_drop_vs_fp32": 0.0 + }, + { + "reset_mode": "hard", + "u_bits": 4, + "acc": 0.8285714285714286, + "target_acc": 0.8285714285714286, + "grid_headroom": 1.75, + "grid_levels_above_thresh": 3, + "discarded_charge_per_reset": 0.05825298222146283, + "spikes_per_inference": 7004.0, + "membrane_saturation_frac": 0.16538030529698583, + "membrane_memory_reduction_x": 8.0, + "acc_drop_vs_fp32": -0.034285714285714364 + }, + { + "reset_mode": "hard", + "u_bits": 2, + "acc": 0.5228571428571429, + "target_acc": 0.5228571428571429, + "grid_headroom": 1.0, + "grid_levels_above_thresh": 0, + "discarded_charge_per_reset": 0.0, + "spikes_per_inference": 2665.6640625, + "membrane_saturation_frac": 0.14770216921542553, + "membrane_memory_reduction_x": 16.0, + "acc_drop_vs_fp32": 0.27142857142857135 + }, + { + "reset_mode": "soft", + "u_bits": 0, + "acc": 0.8521428571428571, + "target_acc": 0.8521428571428571, + "grid_headroom": 0.0, + "grid_levels_above_thresh": null, + "discarded_charge_per_reset": 0.0, + "spikes_per_inference": 6958.1171875, + "membrane_saturation_frac": null, + "membrane_memory_reduction_x": 1.0, + "acc_drop_vs_fp32": 0.0 + }, + { + "reset_mode": "soft", + "u_bits": 4, + "acc": 0.8592857142857143, + "target_acc": 0.8592857142857143, + "grid_headroom": 1.75, + "grid_levels_above_thresh": 3, + "discarded_charge_per_reset": 0.0, + "spikes_per_inference": 7406.828125, + "membrane_saturation_frac": 0.18181211214539006, + "membrane_memory_reduction_x": 8.0, + "acc_drop_vs_fp32": -0.0071428571428572285 + }, + { + "reset_mode": "soft", + "u_bits": 2, + "acc": 0.5228571428571429, + "target_acc": 0.5228571428571429, + "grid_headroom": 1.0, + "grid_levels_above_thresh": 0, + "discarded_charge_per_reset": 0.0, + "spikes_per_inference": 2665.6640625, + "membrane_saturation_frac": 0.14770216921542553, + "membrane_memory_reduction_x": 16.0, + "acc_drop_vs_fp32": 0.3292857142857142 + }, + { + "reset_mode": "trained", + "u_bits": 0, + "acc": 0.8514285714285714, + "target_acc": 0.8514285714285714, + "grid_headroom": 0.0, + "grid_levels_above_thresh": null, + "discarded_charge_per_reset": -0.40519612255012694, + "spikes_per_inference": 9104.9765625, + "membrane_saturation_frac": null, + "membrane_memory_reduction_x": 1.0, + "acc_drop_vs_fp32": 0.0 + }, + { + "reset_mode": "trained", + "u_bits": 4, + "acc": 0.9042857142857142, + "target_acc": 0.9042857142857142, + "grid_headroom": 1.75, + "grid_levels_above_thresh": 3, + "discarded_charge_per_reset": -0.44699663476065854, + "spikes_per_inference": 10173.015625, + "membrane_saturation_frac": 0.3237441129210993, + "membrane_memory_reduction_x": 8.0, + "acc_drop_vs_fp32": -0.052857142857142825 + }, + { + "reset_mode": "trained", + "u_bits": 2, + "acc": 0.46214285714285713, + "target_acc": 0.46214285714285713, + "grid_headroom": 1.0, + "grid_levels_above_thresh": 0, + "discarded_charge_per_reset": -0.4779920437351949, + "spikes_per_inference": 12277.90625, + "membrane_saturation_frac": 0.31902593085106384, + "membrane_memory_reduction_x": 16.0, + "acc_drop_vs_fp32": 0.3892857142857143 + } + ], + "by_mode": { + "hard": { + "fp32_acc": 0.7942857142857143, + "acc_by_bits": { + "0": 0.7942857142857143, + "4": 0.8285714285714286, + "2": 0.5228571428571429 + } + }, + "soft": { + "fp32_acc": 0.8521428571428571, + "acc_by_bits": { + "0": 0.8521428571428571, + "4": 0.8592857142857143, + "2": 0.5228571428571429 + } + }, + "trained": { + "fp32_acc": 0.8514285714285714, + "acc_by_bits": { + "0": 0.8514285714285714, + "4": 0.9042857142857142, + "2": 0.46214285714285713 + } + } } - ], - "expanded_vs_graded_agreement": 1.0, - "expanded_acc": 0.90234375, - "graded_acc": 0.90234375, - "syn_ratio_expanded_over_graded": 1.0003646028320816, - "expansion_caveat": "exact only at beta=1 (IAF); with beta<1 the expanded mode applies decay per sub-tick and drifts" + }, + "mechanism": "V = u - s*((1-lam)*u + lam*thresh) + s*v_r; lam=0,v_r=0 is the baseline hard reset exactly, lam=1,v_r=0 discards zero charge", + "cost": "2 scalars per spiking layer; identical FMA count per tick, so the reset change is free at inference time", + "caveat": "the sweep swaps the reset on ALREADY-TRAINED weights, which under-states what training with each reset would give; and a charge-conserving reset can raise the spike count, so read spikes_per_inference next to the accuracy" }, "config": { "method": "harmonic_matched", @@ -4486,31 +3440,34 @@ "decision_margin": 2.0, "export": false, "seed": 1234, - "hub_dir": "/kaggle/working/hub/opt07_sfa_integer_train/t_sweep_ultra_low", + "hub_dir": "/kaggle/working/hub/opt09_srif_softreset/default", "repo_id": "UWU-R-13/SSVEP-SNN", "push_hf": false, "keep_epoch_weights": 1, "no_resume": true, "selftest": false, + "reset_mode": "srif", + "learn_reset": true, + "lam_init": 0.9, + "v_reset_init": 0.0, + "u_bits": 0, + "u_headroom": 2.0, + "reset_sweep": "hard,soft,trained", + "bits_sweep": "0,4,2", "baseline": false, "bench": true, "bench_warmup": 10, "bench_iters": 50, "bench_train_steps": 20, - "sfa_levels": 4, - "soft_reset": true, - "storm_reg": 0.001, - "infer_mode": "graded", - "t_sweep": "2,3,4,6,8,12,16,25", "sampling_rate": 250.0 } }, "zip": { - "name": "t_sweep_ultra_low.zip", + "name": "default.zip", "files": 81, - "bytes": 12258005, + "bytes": 12267122, "MB": 12.3, - "sha256": "9b40b0bf29d963e1cd4165e4b8d4e3a1993bf7be7ddbb241165fc0976c82fe13" + "sha256": "8a98ec694efb80858eda68b7de3ac75b4d0d071416308c87d101a29f5d7fa79d" } } ] \ No newline at end of file