p-j-r-1-2-3 commited on
Commit
e4156ac
·
verified ·
1 Parent(s): d92613f

add run default

Browse files
applied/opt10_parallel_lif_scan/default.summary.json ADDED
@@ -0,0 +1,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "opt10_parallel_lif_scan/default",
3
+ "tag": "default",
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": "default: --lif-mode scan, reset-correction on",
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/default",
35
+ "--keep-epoch-weights",
36
+ "1",
37
+ "--resplit",
38
+ "block",
39
+ "--drop-rest",
40
+ "--bench"
41
+ ],
42
+ "flags": [],
43
+ "epochs_requested": 60,
44
+ "gpus": 2,
45
+ "relative_epoch_cost": 1.0,
46
+ "exit_code": 0,
47
+ "status": "ok",
48
+ "duration_s": 372.1,
49
+ "started_utc": "2026-08-23T04:57:22.420576+00:00",
50
+ "finished_utc": "2026-08-23T05:03:34.528164+00:00",
51
+ "optimization_summary": {
52
+ "optimization": "parallel_lif_scan",
53
+ "research_section": "4. Membrane-Potential Memory Wall (reset-mechanism removal) / 6. Feasibility & Limitations",
54
+ "reference": "Fang et al., Parallel Spiking Neurons, NeurIPS 2023, arXiv:2304.12760; Hillis-Steele parallel prefix scan",
55
+ "script": "opt10_parallel_lif_scan.py",
56
+ "baseline_mode": false,
57
+ "method": "harmonic_matched",
58
+ "accuracy": {
59
+ "test_acc": 0.24214285714285713,
60
+ "test_target_acc": 0.24214285714285713,
61
+ "best_val_acc": 0.235
62
+ },
63
+ "efficiency": {
64
+ "spikes_per_inference": null,
65
+ "syn_ops_per_inference": 5752150.245941558,
66
+ "dense_macs_per_inference": 122675200.0,
67
+ "event_fraction_of_dense": 0.046889267316797184,
68
+ "syn_ops_per_inference_dense_fanout": 67328768.03246753,
69
+ "weight_sparsity": 0.7324707846410685,
70
+ "effective_ticks": 14.892857142857142,
71
+ "num_ticks": 100,
72
+ "membrane_bytes_per_inference": 451200,
73
+ "weight_bytes": 4907008,
74
+ "input_raster_bytes": null,
75
+ "train_ms_per_step": 107.17174205001356,
76
+ "infer_ms_per_sample": 0.7523749965622528,
77
+ "peak_vram_mb": 2839.768576
78
+ },
79
+ "optimization_specific": {
80
+ "lif_mode": "scan",
81
+ "scan_reset_correction": true,
82
+ "psn_init_beta": null,
83
+ "training_T": 100,
84
+ "sequential_depth": 7,
85
+ "sequential_depth_baseline": 100,
86
+ "depth_reduction_x": 14.285714285714286,
87
+ "speedup_vs_sequential_at_T": 0.1512971521511396,
88
+ "speedup_vs_sequential_at_T_fwdbwd": 0.2055188724369771,
89
+ "scan_crossover_T": null,
90
+ "scan_ever_wins": false,
91
+ "t_scaling": [
92
+ {
93
+ "T": 25,
94
+ "sequential_ms": 0.056348459984292276,
95
+ "scan_ms": 0.332189520013344,
96
+ "psn_ms": 0.1744092200169689,
97
+ "sequential_fwdbwd_ms": 0.34077241998602403,
98
+ "scan_fwdbwd_ms": 0.7870234000074561,
99
+ "psn_fwdbwd_ms": 0.8247870199920726,
100
+ "scan_speedup_x": 0.16962744635059157,
101
+ "scan_speedup_fwdbwd_x": 0.43298893016750917,
102
+ "psn_speedup_x": 0.32308188740715615,
103
+ "psn_speedup_fwdbwd_x": 0.41316414022773945,
104
+ "depth_sequential": 25,
105
+ "depth_scan": 5,
106
+ "depth_psn": 1
107
+ },
108
+ {
109
+ "T": 50,
110
+ "sequential_ms": 0.10444655999890529,
111
+ "scan_ms": 0.5576392600050895,
112
+ "psn_ms": 0.17247703999601072,
113
+ "sequential_fwdbwd_ms": 0.3235841599962441,
114
+ "scan_fwdbwd_ms": 1.0234090399899287,
115
+ "psn_fwdbwd_ms": 0.7876497799952631,
116
+ "scan_speedup_x": 0.18730130299282016,
117
+ "scan_speedup_fwdbwd_x": 0.3161826282083931,
118
+ "psn_speedup_x": 0.6055679063214505,
119
+ "psn_speedup_fwdbwd_x": 0.41082238351947503,
120
+ "depth_sequential": 50,
121
+ "depth_scan": 6,
122
+ "depth_psn": 1
123
+ },
124
+ {
125
+ "T": 100,
126
+ "sequential_ms": 0.2071224999963306,
127
+ "scan_ms": 1.368978180034901,
128
+ "psn_ms": 0.2517574599914951,
129
+ "sequential_fwdbwd_ms": 0.4634688399892184,
130
+ "scan_fwdbwd_ms": 2.255115719999594,
131
+ "psn_fwdbwd_ms": 0.9736074199827272,
132
+ "scan_speedup_x": 0.1512971521511396,
133
+ "scan_speedup_fwdbwd_x": 0.2055188724369771,
134
+ "psn_speedup_x": 0.8227065049167862,
135
+ "psn_speedup_fwdbwd_x": 0.47603256762098306,
136
+ "depth_sequential": 100,
137
+ "depth_scan": 7,
138
+ "depth_psn": 1
139
+ },
140
+ {
141
+ "T": 200,
142
+ "sequential_ms": 0.40420813998935046,
143
+ "scan_ms": 2.944366599986097,
144
+ "psn_ms": 0.6491714200092247,
145
+ "sequential_fwdbwd_ms": 0.8973028199761757,
146
+ "scan_fwdbwd_ms": 4.631695919997583,
147
+ "psn_fwdbwd_ms": 2.604776160005713,
148
+ "scan_speedup_x": 0.13728186564514727,
149
+ "scan_speedup_fwdbwd_x": 0.19373094336828658,
150
+ "psn_speedup_x": 0.622652395855022,
151
+ "psn_speedup_fwdbwd_x": 0.3444836580407768,
152
+ "depth_sequential": 200,
153
+ "depth_scan": 8,
154
+ "depth_psn": 1
155
+ },
156
+ {
157
+ "T": 400,
158
+ "sequential_ms": 0.8248816999912378,
159
+ "scan_ms": 6.174887019988091,
160
+ "psn_ms": 2.065656820013828,
161
+ "sequential_fwdbwd_ms": 1.7981198600318749,
162
+ "scan_fwdbwd_ms": 9.697708020030404,
163
+ "psn_fwdbwd_ms": 7.807624199995189,
164
+ "scan_speedup_x": 0.13358652511715569,
165
+ "scan_speedup_fwdbwd_x": 0.1854169929964789,
166
+ "psn_speedup_x": 0.3993314339531558,
167
+ "psn_speedup_fwdbwd_x": 0.23030307478592307,
168
+ "depth_sequential": 400,
169
+ "depth_scan": 9,
170
+ "depth_psn": 1
171
+ }
172
+ ],
173
+ "accuracy_cost_of_reset_removal": {
174
+ "firing_rate_hard_reset": 0.026105469092726707,
175
+ "firing_rate_reset_free": 0.36106836795806885,
176
+ "firing_rate_reset_corrected": 0.00894628930836916,
177
+ "spike_agreement_reset_free": 0.6650371551513672,
178
+ "spike_agreement_reset_corrected": 0.9814648628234863,
179
+ "spike_storm_ratio_reset_free": 13.831138857361761
180
+ },
181
+ "psn_extra_params": 0,
182
+ "deploy_neuron_is_hard_reset": true,
183
+ "train_deploy_neuron_mismatch": true,
184
+ "event_driven_acc_under_hard_reset": 0.5771428571428572,
185
+ "dense_forward_acc_under_train_neuron": 0.24214285714285713
186
+ },
187
+ "config": {
188
+ "method": "harmonic_matched",
189
+ "data_root": "/kaggle/working/data",
190
+ "subjects": "",
191
+ "blocks": "",
192
+ "limit": 0,
193
+ "drop_rest": true,
194
+ "resplit": "block",
195
+ "test_blocks": "6",
196
+ "class_weight": false,
197
+ "epochs": 60,
198
+ "batch_size": 64,
199
+ "lr": 0.002,
200
+ "weight_decay": 0.0005,
201
+ "grad_clip": 5.0,
202
+ "num_bins": 100,
203
+ "window_sec": 5.0,
204
+ "hidden": "512,256",
205
+ "freq_groups": 8,
206
+ "dropout": 0.3,
207
+ "spike_drop": 0.1,
208
+ "time_jitter": 2,
209
+ "label_smoothing": 0.05,
210
+ "no_batchnorm": false,
211
+ "binary_input": false,
212
+ "beta": 1.0,
213
+ "thresh": 1.0,
214
+ "window": 0.5,
215
+ "gain": 1.0,
216
+ "alpha": 0.9,
217
+ "readout": "spikecount",
218
+ "fake_quant": 0,
219
+ "amp": false,
220
+ "spike_reg": 0.0,
221
+ "event_eval": true,
222
+ "decision_margin": 2.0,
223
+ "export": false,
224
+ "seed": 1234,
225
+ "hub_dir": "/kaggle/working/hub/opt10_parallel_lif_scan/default",
226
+ "repo_id": "UWU-R-13/SSVEP-SNN",
227
+ "push_hf": false,
228
+ "keep_epoch_weights": 1,
229
+ "no_resume": true,
230
+ "selftest": false,
231
+ "baseline": false,
232
+ "bench": true,
233
+ "bench_warmup": 10,
234
+ "bench_iters": 50,
235
+ "bench_train_steps": 20,
236
+ "lif_mode": "scan",
237
+ "scan_reset_correction": true,
238
+ "psn_init_beta": 0.95,
239
+ "t_scaling": "25,50,100,200,400",
240
+ "sampling_rate": 250.0
241
+ }
242
+ },
243
+ "final_summary": {
244
+ "final_test_acc": 0.24214285714285713,
245
+ "final_test_target_acc": 0.24214285714285713,
246
+ "final_test_rest_recall": NaN,
247
+ "best_acc": 0.235,
248
+ "best_epoch": 54,
249
+ "resplit": "block",
250
+ "class_weight": false,
251
+ "drop_rest": true,
252
+ "epochs": 60,
253
+ "method": "harmonic_matched",
254
+ "n_in": 2880,
255
+ "n_classes": 40,
256
+ "num_bins": 100
257
+ },
258
+ "event_driven_summary": {
259
+ "acc": 0.5771428571428572,
260
+ "anytime_acc": {
261
+ "0.25": 0.3107142857142857,
262
+ "0.5": 0.45571428571428574,
263
+ "0.75": 0.5242857142857142,
264
+ "1.0": 0.5771428571428572
265
+ },
266
+ "syn_per_inference": 5752150.245941558,
267
+ "dense_per_inference": 122675200.0,
268
+ "event_fraction_of_dense": 0.046889267316797184,
269
+ "syn_per_inference_dense_fanout": 67328768.03246753,
270
+ "weight_sparsity": 0.7324707846410685,
271
+ "num_ticks": 100,
272
+ "dt_ms": 50.0,
273
+ "margin_decision_acc": 0.22214285714285714,
274
+ "mean_decision_tick": 14.892857142857142,
275
+ "mean_decision_ms": 744.6428571428571,
276
+ "dense_forward_test_acc": 0.24214285714285713
277
+ },
278
+ "extra_sweep_file_present": true,
279
+ "selftest": {
280
+ "mode": "gate",
281
+ "passed": true
282
+ },
283
+ "driver_version": 1,
284
+ "zip": {
285
+ "name": "default.zip",
286
+ "files": 81,
287
+ "bytes": 12352424,
288
+ "MB": 12.4,
289
+ "sha256": "8d98c01092cbf35bc5226c777e850a86617b2eb3b1175013cefefa6e8481a1bd"
290
+ }
291
+ }
applied/opt10_parallel_lif_scan/default.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d98c01092cbf35bc5226c777e850a86617b2eb3b1175013cefefa6e8481a1bd
3
+ size 12352424