p-j-r-1-2-3 commited on
Commit
94c5928
·
verified ·
1 Parent(s): 92547af

add run control_baseline

Browse files
applied/opt10_parallel_lif_scan/control_baseline.summary.json ADDED
@@ -0,0 +1,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "opt10_parallel_lif_scan/control_baseline",
3
+ "tag": "control_baseline",
4
+ "script": "opt10_parallel_lif_scan.py",
5
+ "script_sha256_16": "1b869e8327d5b545",
6
+ "hf_folder": "applied/opt10_parallel_lif_scan",
7
+ "priority": 0,
8
+ "note": "control: --lif-mode sequential (unmodified baseline kernel)",
9
+ "phase": 2,
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/control_baseline",
35
+ "--keep-epoch-weights",
36
+ "1",
37
+ "--resplit",
38
+ "block",
39
+ "--drop-rest",
40
+ "--bench",
41
+ "--baseline"
42
+ ],
43
+ "flags": [
44
+ "--baseline"
45
+ ],
46
+ "epochs_requested": 60,
47
+ "gpus": 2,
48
+ "relative_epoch_cost": 1.0,
49
+ "exit_code": 0,
50
+ "status": "ok",
51
+ "duration_s": 324.9,
52
+ "started_utc": "2026-08-23T04:51:54.176286+00:00",
53
+ "finished_utc": "2026-08-23T04:57:19.110808+00:00",
54
+ "optimization_summary": {
55
+ "optimization": "parallel_lif_scan",
56
+ "research_section": "4. Membrane-Potential Memory Wall (reset-mechanism removal) / 6. Feasibility & Limitations",
57
+ "reference": "Fang et al., Parallel Spiking Neurons, NeurIPS 2023, arXiv:2304.12760; Hillis-Steele parallel prefix scan",
58
+ "script": "opt10_parallel_lif_scan.py",
59
+ "baseline_mode": true,
60
+ "method": "harmonic_matched",
61
+ "accuracy": {
62
+ "test_acc": 0.945,
63
+ "test_target_acc": 0.945,
64
+ "best_val_acc": 0.9457142857142857
65
+ },
66
+ "efficiency": {
67
+ "spikes_per_inference": null,
68
+ "syn_ops_per_inference": 3264338.5738636362,
69
+ "dense_macs_per_inference": 122675200.0,
70
+ "event_fraction_of_dense": 0.02660960466225966,
71
+ "syn_ops_per_inference_dense_fanout": 64840956.36038961,
72
+ "weight_sparsity": 0.7324707846410685,
73
+ "effective_ticks": 12.121428571428572,
74
+ "num_ticks": 100,
75
+ "membrane_bytes_per_inference": 451200,
76
+ "weight_bytes": 4907008,
77
+ "input_raster_bytes": null,
78
+ "train_ms_per_step": 94.87772144993869,
79
+ "infer_ms_per_sample": 0.6268067493749641,
80
+ "peak_vram_mb": 2828.294656
81
+ },
82
+ "optimization_specific": {
83
+ "lif_mode": "sequential",
84
+ "scan_reset_correction": null,
85
+ "psn_init_beta": null,
86
+ "training_T": 100,
87
+ "sequential_depth": 100,
88
+ "sequential_depth_baseline": 100,
89
+ "depth_reduction_x": 1.0,
90
+ "speedup_vs_sequential_at_T": 0.1503121573672922,
91
+ "speedup_vs_sequential_at_T_fwdbwd": 0.20684062130801603,
92
+ "scan_crossover_T": null,
93
+ "scan_ever_wins": false,
94
+ "t_scaling": [
95
+ {
96
+ "T": 25,
97
+ "sequential_ms": 0.045512239994423,
98
+ "scan_ms": 0.3423229399777483,
99
+ "psn_ms": 0.1837123400036944,
100
+ "sequential_fwdbwd_ms": 0.364014920014597,
101
+ "scan_fwdbwd_ms": 0.7510828000158654,
102
+ "psn_fwdbwd_ms": 0.8128121399931842,
103
+ "scan_speedup_x": 0.13295118345671308,
104
+ "scan_speedup_fwdbwd_x": 0.4846535162393651,
105
+ "psn_speedup_x": 0.24773643400061074,
106
+ "psn_speedup_fwdbwd_x": 0.4478463129471091,
107
+ "depth_sequential": 25,
108
+ "depth_scan": 5,
109
+ "depth_psn": 1
110
+ },
111
+ {
112
+ "T": 50,
113
+ "sequential_ms": 0.10447606000525411,
114
+ "scan_ms": 0.5663288799769362,
115
+ "psn_ms": 0.17435837999073556,
116
+ "sequential_fwdbwd_ms": 0.35421625998424133,
117
+ "scan_fwdbwd_ms": 1.0259901999961585,
118
+ "psn_fwdbwd_ms": 0.846563140003127,
119
+ "scan_speedup_x": 0.18447948479955484,
120
+ "scan_speedup_fwdbwd_x": 0.34524331712482986,
121
+ "psn_speedup_x": 0.5992029749921134,
122
+ "psn_speedup_fwdbwd_x": 0.4184168235613624,
123
+ "depth_sequential": 50,
124
+ "depth_scan": 6,
125
+ "depth_psn": 1
126
+ },
127
+ {
128
+ "T": 100,
129
+ "sequential_ms": 0.20700453998870216,
130
+ "scan_ms": 1.3771643200016115,
131
+ "psn_ms": 0.24421506001090165,
132
+ "sequential_fwdbwd_ms": 0.46369539999432163,
133
+ "scan_fwdbwd_ms": 2.241800459996739,
134
+ "psn_fwdbwd_ms": 0.9716448000108358,
135
+ "scan_speedup_x": 0.1503121573672922,
136
+ "scan_speedup_fwdbwd_x": 0.20684062130801603,
137
+ "psn_speedup_x": 0.8476321647791155,
138
+ "psn_speedup_fwdbwd_x": 0.4772272748118968,
139
+ "depth_sequential": 100,
140
+ "depth_scan": 7,
141
+ "depth_psn": 1
142
+ },
143
+ {
144
+ "T": 200,
145
+ "sequential_ms": 0.404842979987734,
146
+ "scan_ms": 2.945772679995571,
147
+ "psn_ms": 0.6542044199886732,
148
+ "sequential_fwdbwd_ms": 0.8978712200041628,
149
+ "scan_fwdbwd_ms": 4.644049820017244,
150
+ "psn_fwdbwd_ms": 2.5973449400044046,
151
+ "scan_speedup_x": 0.13743184690963414,
152
+ "scan_speedup_fwdbwd_x": 0.19333798189116516,
153
+ "psn_speedup_x": 0.6188325355471359,
154
+ "psn_speedup_fwdbwd_x": 0.34568809331988076,
155
+ "depth_sequential": 200,
156
+ "depth_scan": 8,
157
+ "depth_psn": 1
158
+ },
159
+ {
160
+ "T": 400,
161
+ "sequential_ms": 0.8251251399997273,
162
+ "scan_ms": 6.162180259998422,
163
+ "psn_ms": 2.0728505599981872,
164
+ "sequential_fwdbwd_ms": 1.8003722800131072,
165
+ "scan_fwdbwd_ms": 9.709376379978494,
166
+ "psn_fwdbwd_ms": 7.788119739998365,
167
+ "scan_speedup_x": 0.1339014934950862,
168
+ "scan_speedup_fwdbwd_x": 0.18542614989420103,
169
+ "psn_speedup_x": 0.3980630132837212,
170
+ "psn_speedup_fwdbwd_x": 0.23116905493462345,
171
+ "depth_sequential": 400,
172
+ "depth_scan": 9,
173
+ "depth_psn": 1
174
+ }
175
+ ],
176
+ "accuracy_cost_of_reset_removal": {
177
+ "firing_rate_hard_reset": 0.026105469092726707,
178
+ "firing_rate_reset_free": 0.36106836795806885,
179
+ "firing_rate_reset_corrected": 0.00894628930836916,
180
+ "spike_agreement_reset_free": 0.6650371551513672,
181
+ "spike_agreement_reset_corrected": 0.9814648628234863,
182
+ "spike_storm_ratio_reset_free": 13.831138857361761
183
+ },
184
+ "psn_extra_params": 0,
185
+ "deploy_neuron_is_hard_reset": true,
186
+ "train_deploy_neuron_mismatch": false,
187
+ "event_driven_acc_under_hard_reset": 0.945,
188
+ "dense_forward_acc_under_train_neuron": 0.945
189
+ },
190
+ "config": {
191
+ "method": "harmonic_matched",
192
+ "data_root": "/kaggle/working/data",
193
+ "subjects": "",
194
+ "blocks": "",
195
+ "limit": 0,
196
+ "drop_rest": true,
197
+ "resplit": "block",
198
+ "test_blocks": "6",
199
+ "class_weight": false,
200
+ "epochs": 60,
201
+ "batch_size": 64,
202
+ "lr": 0.002,
203
+ "weight_decay": 0.0005,
204
+ "grad_clip": 5.0,
205
+ "num_bins": 100,
206
+ "window_sec": 5.0,
207
+ "hidden": "512,256",
208
+ "freq_groups": 8,
209
+ "dropout": 0.3,
210
+ "spike_drop": 0.1,
211
+ "time_jitter": 2,
212
+ "label_smoothing": 0.05,
213
+ "no_batchnorm": false,
214
+ "binary_input": false,
215
+ "beta": 1.0,
216
+ "thresh": 1.0,
217
+ "window": 0.5,
218
+ "gain": 1.0,
219
+ "alpha": 0.9,
220
+ "readout": "spikecount",
221
+ "fake_quant": 0,
222
+ "amp": false,
223
+ "spike_reg": 0.0,
224
+ "event_eval": true,
225
+ "decision_margin": 2.0,
226
+ "export": false,
227
+ "seed": 1234,
228
+ "hub_dir": "/kaggle/working/hub/opt10_parallel_lif_scan/control_baseline",
229
+ "repo_id": "UWU-R-13/SSVEP-SNN",
230
+ "push_hf": false,
231
+ "keep_epoch_weights": 1,
232
+ "no_resume": true,
233
+ "selftest": false,
234
+ "baseline": true,
235
+ "bench": true,
236
+ "bench_warmup": 10,
237
+ "bench_iters": 50,
238
+ "bench_train_steps": 20,
239
+ "lif_mode": "scan",
240
+ "scan_reset_correction": true,
241
+ "psn_init_beta": 0.95,
242
+ "t_scaling": "25,50,100,200,400",
243
+ "sampling_rate": 250.0
244
+ }
245
+ },
246
+ "final_summary": {
247
+ "final_test_acc": 0.945,
248
+ "final_test_target_acc": 0.945,
249
+ "final_test_rest_recall": NaN,
250
+ "best_acc": 0.9457142857142857,
251
+ "best_epoch": 47,
252
+ "resplit": "block",
253
+ "class_weight": false,
254
+ "drop_rest": true,
255
+ "epochs": 60,
256
+ "method": "harmonic_matched",
257
+ "n_in": 2880,
258
+ "n_classes": 40,
259
+ "num_bins": 100
260
+ },
261
+ "event_driven_summary": {
262
+ "acc": 0.945,
263
+ "anytime_acc": {
264
+ "0.25": 0.6321428571428571,
265
+ "0.5": 0.8535714285714285,
266
+ "0.75": 0.9235714285714286,
267
+ "1.0": 0.945
268
+ },
269
+ "syn_per_inference": 3264338.5738636362,
270
+ "dense_per_inference": 122675200.0,
271
+ "event_fraction_of_dense": 0.02660960466225966,
272
+ "syn_per_inference_dense_fanout": 64840956.36038961,
273
+ "weight_sparsity": 0.7324707846410685,
274
+ "num_ticks": 100,
275
+ "dt_ms": 50.0,
276
+ "margin_decision_acc": 0.44785714285714284,
277
+ "mean_decision_tick": 12.121428571428572,
278
+ "mean_decision_ms": 606.0714285714286,
279
+ "dense_forward_test_acc": 0.945
280
+ },
281
+ "extra_sweep_file_present": true,
282
+ "selftest": {
283
+ "mode": "gate",
284
+ "passed": true
285
+ },
286
+ "driver_version": 1,
287
+ "zip": {
288
+ "name": "control_baseline.zip",
289
+ "files": 81,
290
+ "bytes": 12248909,
291
+ "MB": 12.2,
292
+ "sha256": "00fb9159dc83ab232bbff226d225ac1167b7945e221c3e8ab0a717aeea8955ee"
293
+ }
294
+ }
applied/opt10_parallel_lif_scan/control_baseline.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00fb9159dc83ab232bbff226d225ac1167b7945e221c3e8ab0a717aeea8955ee
3
+ size 12248909