p-j-r-1-2-3 commited on
Commit
fa49a26
·
verified ·
1 Parent(s): 09710d2

add run t_scaling_wide

Browse files
applied/opt10_parallel_lif_scan/t_scaling_wide.summary.json ADDED
@@ -0,0 +1,328 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "opt10_parallel_lif_scan/t_scaling_wide",
3
+ "tag": "t_scaling_wide",
4
+ "script": "opt10_parallel_lif_scan.py",
5
+ "script_sha256_16": "1b869e8327d5b545",
6
+ "hf_folder": "applied/opt10_parallel_lif_scan",
7
+ "priority": 2,
8
+ "note": "extends lif_scaling.json far enough for O(T) vs O(log T) to separate",
9
+ "phase": 10,
10
+ "n_phases": 10,
11
+ "method": "harmonic_matched",
12
+ "command": [
13
+ "/usr/bin/python3",
14
+ "-m",
15
+ "torch.distributed.run",
16
+ "--standalone",
17
+ "--nproc_per_node=2",
18
+ "/kaggle/working/scripts/opt10_parallel_lif_scan.py",
19
+ "--method",
20
+ "harmonic_matched",
21
+ "--data-root",
22
+ "/kaggle/working/data",
23
+ "--epochs",
24
+ "60",
25
+ "--seed",
26
+ "1234",
27
+ "--batch-size",
28
+ "64",
29
+ "--event-eval",
30
+ "--no-resume",
31
+ "--decision-margin",
32
+ "2.0",
33
+ "--hub-dir",
34
+ "/kaggle/working/hub/opt10_parallel_lif_scan/t_scaling_wide",
35
+ "--keep-epoch-weights",
36
+ "1",
37
+ "--resplit",
38
+ "block",
39
+ "--drop-rest",
40
+ "--bench",
41
+ "--t-scaling",
42
+ "25,50,100,200,400,800,1600"
43
+ ],
44
+ "flags": [
45
+ "--t-scaling",
46
+ "25,50,100,200,400,800,1600"
47
+ ],
48
+ "epochs_requested": 60,
49
+ "gpus": 2,
50
+ "relative_epoch_cost": 1.0,
51
+ "exit_code": 0,
52
+ "status": "ok",
53
+ "duration_s": 395.9,
54
+ "started_utc": "2026-08-23T06:18:13.817576+00:00",
55
+ "finished_utc": "2026-08-23T06:24:49.708995+00:00",
56
+ "optimization_summary": {
57
+ "optimization": "parallel_lif_scan",
58
+ "research_section": "4. Membrane-Potential Memory Wall (reset-mechanism removal) / 6. Feasibility & Limitations",
59
+ "reference": "Fang et al., Parallel Spiking Neurons, NeurIPS 2023, arXiv:2304.12760; Hillis-Steele parallel prefix scan",
60
+ "script": "opt10_parallel_lif_scan.py",
61
+ "baseline_mode": false,
62
+ "method": "harmonic_matched",
63
+ "accuracy": {
64
+ "test_acc": 0.21071428571428572,
65
+ "test_target_acc": 0.21071428571428572,
66
+ "best_val_acc": 0.24357142857142858
67
+ },
68
+ "efficiency": {
69
+ "spikes_per_inference": null,
70
+ "syn_ops_per_inference": 5740561.773538961,
71
+ "dense_macs_per_inference": 122675200.0,
72
+ "event_fraction_of_dense": 0.04679480264584008,
73
+ "syn_ops_per_inference_dense_fanout": 67317179.56006493,
74
+ "weight_sparsity": 0.7324707846410685,
75
+ "effective_ticks": 15.650714285714285,
76
+ "num_ticks": 100,
77
+ "membrane_bytes_per_inference": 451200,
78
+ "weight_bytes": 4907008,
79
+ "input_raster_bytes": null,
80
+ "train_ms_per_step": 105.81391080004323,
81
+ "infer_ms_per_sample": 0.7435474178129198,
82
+ "peak_vram_mb": 2839.607296
83
+ },
84
+ "optimization_specific": {
85
+ "lif_mode": "scan",
86
+ "scan_reset_correction": true,
87
+ "psn_init_beta": null,
88
+ "training_T": 100,
89
+ "sequential_depth": 7,
90
+ "sequential_depth_baseline": 100,
91
+ "depth_reduction_x": 14.285714285714286,
92
+ "speedup_vs_sequential_at_T": 0.15305715408915568,
93
+ "speedup_vs_sequential_at_T_fwdbwd": 0.2103293306291829,
94
+ "scan_crossover_T": null,
95
+ "scan_ever_wins": false,
96
+ "t_scaling": [
97
+ {
98
+ "T": 25,
99
+ "sequential_ms": 0.04411825997522101,
100
+ "scan_ms": 0.33717115999024827,
101
+ "psn_ms": 0.2061137599957874,
102
+ "sequential_fwdbwd_ms": 0.45276624001417076,
103
+ "scan_fwdbwd_ms": 0.8241282599919941,
104
+ "psn_fwdbwd_ms": 0.8754532200327958,
105
+ "scan_speedup_x": 0.13084826109236924,
106
+ "scan_speedup_fwdbwd_x": 0.5493880770677237,
107
+ "psn_speedup_x": 0.2140481061338297,
108
+ "psn_speedup_fwdbwd_x": 0.517179250305584,
109
+ "depth_sequential": 25,
110
+ "depth_scan": 5,
111
+ "depth_psn": 1
112
+ },
113
+ {
114
+ "T": 50,
115
+ "sequential_ms": 0.10431424001581036,
116
+ "scan_ms": 0.5846541800201521,
117
+ "psn_ms": 0.1713858400034951,
118
+ "sequential_fwdbwd_ms": 0.45389636001345934,
119
+ "scan_fwdbwd_ms": 0.9696777199860662,
120
+ "psn_fwdbwd_ms": 0.8600665199992363,
121
+ "scan_speedup_x": 0.1784204125799884,
122
+ "scan_speedup_fwdbwd_x": 0.4680899134405002,
123
+ "psn_speedup_x": 0.6086514499312373,
124
+ "psn_speedup_fwdbwd_x": 0.5277456446204445,
125
+ "depth_sequential": 50,
126
+ "depth_scan": 6,
127
+ "depth_psn": 1
128
+ },
129
+ {
130
+ "T": 100,
131
+ "sequential_ms": 0.20693626000138465,
132
+ "scan_ms": 1.3520195199816953,
133
+ "psn_ms": 0.24157395997463027,
134
+ "sequential_fwdbwd_ms": 0.46748892000323394,
135
+ "scan_fwdbwd_ms": 2.2226520600088406,
136
+ "psn_fwdbwd_ms": 1.1177959400083637,
137
+ "scan_speedup_x": 0.15305715408915568,
138
+ "scan_speedup_fwdbwd_x": 0.2103293306291829,
139
+ "psn_speedup_x": 0.8566165824458761,
140
+ "psn_speedup_fwdbwd_x": 0.41822384862100687,
141
+ "depth_sequential": 100,
142
+ "depth_scan": 7,
143
+ "depth_psn": 1
144
+ },
145
+ {
146
+ "T": 200,
147
+ "sequential_ms": 0.4061622399967746,
148
+ "scan_ms": 2.92458402000193,
149
+ "psn_ms": 0.6494198399741435,
150
+ "sequential_fwdbwd_ms": 0.8960234600090189,
151
+ "scan_fwdbwd_ms": 4.622459459969832,
152
+ "psn_fwdbwd_ms": 2.565028800017899,
153
+ "scan_speedup_x": 0.1388786361475457,
154
+ "scan_speedup_fwdbwd_x": 0.1938412803332334,
155
+ "psn_speedup_x": 0.6254232085255446,
156
+ "psn_speedup_fwdbwd_x": 0.3493229627685921,
157
+ "depth_sequential": 200,
158
+ "depth_scan": 8,
159
+ "depth_psn": 1
160
+ },
161
+ {
162
+ "T": 400,
163
+ "sequential_ms": 0.824057800018636,
164
+ "scan_ms": 6.163467100013804,
165
+ "psn_ms": 2.0700473000033526,
166
+ "sequential_fwdbwd_ms": 1.7980608599827974,
167
+ "scan_fwdbwd_ms": 9.671613400023489,
168
+ "psn_fwdbwd_ms": 7.734516820019053,
169
+ "scan_speedup_x": 0.1337003648509441,
170
+ "scan_speedup_fwdbwd_x": 0.18591115934994162,
171
+ "psn_speedup_x": 0.39808645919216507,
172
+ "psn_speedup_fwdbwd_x": 0.23247229294646077,
173
+ "depth_sequential": 400,
174
+ "depth_scan": 9,
175
+ "depth_psn": 1
176
+ },
177
+ {
178
+ "T": 800,
179
+ "sequential_ms": 1.7200980800043908,
180
+ "scan_ms": 11.663309059986204,
181
+ "psn_ms": 9.010490539985767,
182
+ "sequential_fwdbwd_ms": 3.68699195998488,
183
+ "scan_fwdbwd_ms": 18.278502780012786,
184
+ "psn_fwdbwd_ms": 27.064486919989577,
185
+ "scan_speedup_x": 0.1474794221054814,
186
+ "scan_speedup_fwdbwd_x": 0.20171192380245384,
187
+ "psn_speedup_x": 0.19089949347054172,
188
+ "psn_speedup_fwdbwd_x": 0.13622988571276784,
189
+ "depth_sequential": 800,
190
+ "depth_scan": 10,
191
+ "depth_psn": 1
192
+ },
193
+ {
194
+ "T": 1600,
195
+ "sequential_ms": 3.479094920003263,
196
+ "scan_ms": 103.0052268000145,
197
+ "psn_ms": 29.381623579974985,
198
+ "sequential_fwdbwd_ms": 7.510748759996204,
199
+ "scan_fwdbwd_ms": 156.91702561998682,
200
+ "psn_fwdbwd_ms": 85.88339289999567,
201
+ "scan_speedup_x": 0.03377590660285574,
202
+ "scan_speedup_fwdbwd_x": 0.04786446040715384,
203
+ "psn_speedup_x": 0.11841057423301946,
204
+ "psn_speedup_fwdbwd_x": 0.08745286494144298,
205
+ "depth_sequential": 1600,
206
+ "depth_scan": 11,
207
+ "depth_psn": 1
208
+ }
209
+ ],
210
+ "accuracy_cost_of_reset_removal": {
211
+ "firing_rate_hard_reset": 0.026189453899860382,
212
+ "firing_rate_reset_free": 0.36295852065086365,
213
+ "firing_rate_reset_corrected": 0.008962403051555157,
214
+ "spike_agreement_reset_free": 0.6632310152053833,
215
+ "spike_agreement_reset_corrected": 0.9813530445098877,
216
+ "spike_storm_ratio_reset_free": 13.85895719852328
217
+ },
218
+ "psn_extra_params": 0,
219
+ "deploy_neuron_is_hard_reset": true,
220
+ "train_deploy_neuron_mismatch": true,
221
+ "event_driven_acc_under_hard_reset": 0.5757142857142857,
222
+ "dense_forward_acc_under_train_neuron": 0.21071428571428572
223
+ },
224
+ "config": {
225
+ "method": "harmonic_matched",
226
+ "data_root": "/kaggle/working/data",
227
+ "subjects": "",
228
+ "blocks": "",
229
+ "limit": 0,
230
+ "drop_rest": true,
231
+ "resplit": "block",
232
+ "test_blocks": "6",
233
+ "class_weight": false,
234
+ "epochs": 60,
235
+ "batch_size": 64,
236
+ "lr": 0.002,
237
+ "weight_decay": 0.0005,
238
+ "grad_clip": 5.0,
239
+ "num_bins": 100,
240
+ "window_sec": 5.0,
241
+ "hidden": "512,256",
242
+ "freq_groups": 8,
243
+ "dropout": 0.3,
244
+ "spike_drop": 0.1,
245
+ "time_jitter": 2,
246
+ "label_smoothing": 0.05,
247
+ "no_batchnorm": false,
248
+ "binary_input": false,
249
+ "beta": 1.0,
250
+ "thresh": 1.0,
251
+ "window": 0.5,
252
+ "gain": 1.0,
253
+ "alpha": 0.9,
254
+ "readout": "spikecount",
255
+ "fake_quant": 0,
256
+ "amp": false,
257
+ "spike_reg": 0.0,
258
+ "event_eval": true,
259
+ "decision_margin": 2.0,
260
+ "export": false,
261
+ "seed": 1234,
262
+ "hub_dir": "/kaggle/working/hub/opt10_parallel_lif_scan/t_scaling_wide",
263
+ "repo_id": "UWU-R-13/SSVEP-SNN",
264
+ "push_hf": false,
265
+ "keep_epoch_weights": 1,
266
+ "no_resume": true,
267
+ "selftest": false,
268
+ "baseline": false,
269
+ "bench": true,
270
+ "bench_warmup": 10,
271
+ "bench_iters": 50,
272
+ "bench_train_steps": 20,
273
+ "lif_mode": "scan",
274
+ "scan_reset_correction": true,
275
+ "psn_init_beta": 0.95,
276
+ "t_scaling": "25,50,100,200,400,800,1600",
277
+ "sampling_rate": 250.0
278
+ }
279
+ },
280
+ "final_summary": {
281
+ "final_test_acc": 0.21071428571428572,
282
+ "final_test_target_acc": 0.21071428571428572,
283
+ "final_test_rest_recall": NaN,
284
+ "best_acc": 0.24357142857142858,
285
+ "best_epoch": 58,
286
+ "resplit": "block",
287
+ "class_weight": false,
288
+ "drop_rest": true,
289
+ "epochs": 60,
290
+ "method": "harmonic_matched",
291
+ "n_in": 2880,
292
+ "n_classes": 40,
293
+ "num_bins": 100
294
+ },
295
+ "event_driven_summary": {
296
+ "acc": 0.5757142857142857,
297
+ "anytime_acc": {
298
+ "0.25": 0.32571428571428573,
299
+ "0.5": 0.4764285714285714,
300
+ "0.75": 0.5457142857142857,
301
+ "1.0": 0.5757142857142857
302
+ },
303
+ "syn_per_inference": 5740561.773538961,
304
+ "dense_per_inference": 122675200.0,
305
+ "event_fraction_of_dense": 0.04679480264584008,
306
+ "syn_per_inference_dense_fanout": 67317179.56006493,
307
+ "weight_sparsity": 0.7324707846410685,
308
+ "num_ticks": 100,
309
+ "dt_ms": 50.0,
310
+ "margin_decision_acc": 0.2557142857142857,
311
+ "mean_decision_tick": 15.650714285714285,
312
+ "mean_decision_ms": 782.5357142857143,
313
+ "dense_forward_test_acc": 0.21071428571428572
314
+ },
315
+ "extra_sweep_file_present": true,
316
+ "selftest": {
317
+ "mode": "gate",
318
+ "passed": true
319
+ },
320
+ "driver_version": 1,
321
+ "zip": {
322
+ "name": "t_scaling_wide.zip",
323
+ "files": 81,
324
+ "bytes": 12358628,
325
+ "MB": 12.4,
326
+ "sha256": "3e66b425faef4a4ec035d7304cd723affea02f8560848dae9f615930d6407270"
327
+ }
328
+ }
applied/opt10_parallel_lif_scan/t_scaling_wide.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e66b425faef4a4ec035d7304cd723affea02f8560848dae9f615930d6407270
3
+ size 12358628