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rounds_3",
3
+ "tag": "prune_rounds_3",
4
+ "script": "opt06_uticket_prune.py",
5
+ "script_sha256_16": "13957bb36508b8cf",
6
+ "hf_folder": "applied/opt06_uticket_prune",
7
+ "priority": 2,
8
+ "note": "",
9
+ "phase": 9,
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/opt06_uticket_prune.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/opt06_uticket_prune/prune_rounds_3",
35
+ "--keep-epoch-weights",
36
+ "1",
37
+ "--resplit",
38
+ "block",
39
+ "--drop-rest",
40
+ "--bench",
41
+ "--prune-rounds",
42
+ "3"
43
+ ],
44
+ "flags": [
45
+ "--prune-rounds",
46
+ "3"
47
+ ],
48
+ "epochs_requested": 60,
49
+ "gpus": 2,
50
+ "relative_epoch_cost": 1.0,
51
+ "exit_code": 0,
52
+ "status": "ok",
53
+ "duration_s": 320.7,
54
+ "started_utc": "2026-08-23T04:03:57.671625+00:00",
55
+ "finished_utc": "2026-08-23T04:09:18.399792+00:00",
56
+ "optimization_summary": {
57
+ "optimization": "uticket_workload_balanced_pruning",
58
+ "research_section": "3. Spike sparsity & MAC->AC restructuring",
59
+ "reference": "u-Ticket: Workload-Balanced Pruning for Sparse SNNs, arXiv:2302.06746",
60
+ "script": "opt06_uticket_prune.py",
61
+ "baseline_mode": false,
62
+ "method": "harmonic_matched",
63
+ "accuracy": {
64
+ "test_acc": 0.9057142857142857,
65
+ "test_target_acc": 0.9057142857142857,
66
+ "best_val_acc": 0.9407142857142857
67
+ },
68
+ "efficiency": {
69
+ "spikes_per_inference": null,
70
+ "syn_ops_per_inference": 550376.6811079546,
71
+ "dense_macs_per_inference": 122675200.0,
72
+ "event_fraction_of_dense": 0.004486454320905567,
73
+ "syn_ops_per_inference_dense_fanout": 65058668.56331169,
74
+ "weight_sparsity": 0.9592550083472454,
75
+ "effective_ticks": 13.450714285714286,
76
+ "num_ticks": 100,
77
+ "membrane_bytes_per_inference": 451200,
78
+ "weight_bytes": 4907008,
79
+ "input_raster_bytes": null,
80
+ "train_ms_per_step": 94.40872569999783,
81
+ "infer_ms_per_sample": 0.6202037340624855,
82
+ "peak_vram_mb": 2837.544448,
83
+ "weight_bytes_nonzero": 160314
84
+ },
85
+ "optimization_specific": {
86
+ "pruning_enabled": true,
87
+ "balance_enabled": true,
88
+ "rounds": 3,
89
+ "final_sparsity": 0.9673295454545454,
90
+ "nnz_per_layer": {
91
+ "layer0": 2880,
92
+ "layer1": 20480,
93
+ "layer2": 16384
94
+ },
95
+ "pe_stats_per_layer": {
96
+ "layer0": {
97
+ "mean_nnz": 9.0,
98
+ "max_nnz": 9.0,
99
+ "min_nnz": 9.0,
100
+ "total_nnz": 2880,
101
+ "numel": 921600,
102
+ "sparsity": 0.996875,
103
+ "utilization": 1.0
104
+ },
105
+ "layer1": {
106
+ "mean_nnz": 40.0,
107
+ "max_nnz": 40.0,
108
+ "min_nnz": 40.0,
109
+ "total_nnz": 20480,
110
+ "numel": 163840,
111
+ "sparsity": 0.875,
112
+ "utilization": 1.0
113
+ },
114
+ "layer2": {
115
+ "mean_nnz": 64.0,
116
+ "max_nnz": 64.0,
117
+ "min_nnz": 64.0,
118
+ "total_nnz": 16384,
119
+ "numel": 131072,
120
+ "sparsity": 0.875,
121
+ "utilization": 1.0
122
+ }
123
+ },
124
+ "pe_utilization_final": 1.0,
125
+ "pe_utilization_lth": 0.623062015503876,
126
+ "pe_utilization_uticket": 1.0,
127
+ "latency_proxy_dense": 3712,
128
+ "latency_proxy_final": 113,
129
+ "latency_reduction_frac": 0.9695581896551724,
130
+ "rounds_history": [
131
+ {
132
+ "round": 1,
133
+ "layers": {
134
+ "layer0": {
135
+ "lth": {
136
+ "mean_nnz": 36.0,
137
+ "max_nnz": 49.0,
138
+ "min_nnz": 25.0,
139
+ "total_nnz": 11520,
140
+ "numel": 921600,
141
+ "sparsity": 0.9875,
142
+ "utilization": 0.7346938775510204
143
+ },
144
+ "uticket": {
145
+ "mean_nnz": 36.0,
146
+ "max_nnz": 36.0,
147
+ "min_nnz": 36.0,
148
+ "total_nnz": 11520,
149
+ "numel": 921600,
150
+ "sparsity": 0.9875,
151
+ "utilization": 1.0
152
+ }
153
+ },
154
+ "layer1": {
155
+ "lth": {
156
+ "mean_nnz": 160.0,
157
+ "max_nnz": 190.0,
158
+ "min_nnz": 93.0,
159
+ "total_nnz": 81920,
160
+ "numel": 163840,
161
+ "sparsity": 0.5,
162
+ "utilization": 0.8421052631578947
163
+ },
164
+ "uticket": {
165
+ "mean_nnz": 160.0,
166
+ "max_nnz": 160.0,
167
+ "min_nnz": 160.0,
168
+ "total_nnz": 81920,
169
+ "numel": 163840,
170
+ "sparsity": 0.5,
171
+ "utilization": 1.0
172
+ }
173
+ },
174
+ "layer2": {
175
+ "lth": {
176
+ "mean_nnz": 256.0,
177
+ "max_nnz": 297.0,
178
+ "min_nnz": 193.0,
179
+ "total_nnz": 65536,
180
+ "numel": 131072,
181
+ "sparsity": 0.5,
182
+ "utilization": 0.8619528619528619
183
+ },
184
+ "uticket": {
185
+ "mean_nnz": 256.0,
186
+ "max_nnz": 256.0,
187
+ "min_nnz": 256.0,
188
+ "total_nnz": 65536,
189
+ "numel": 131072,
190
+ "sparsity": 0.5,
191
+ "utilization": 1.0
192
+ }
193
+ }
194
+ },
195
+ "latency_proxy": 452,
196
+ "sparsity": 0.8693181818181819
197
+ },
198
+ {
199
+ "round": 2,
200
+ "layers": {
201
+ "layer0": {
202
+ "lth": {
203
+ "mean_nnz": 18.0,
204
+ "max_nnz": 29.0,
205
+ "min_nnz": 8.0,
206
+ "total_nnz": 5760,
207
+ "numel": 921600,
208
+ "sparsity": 0.99375,
209
+ "utilization": 0.6206896551724138
210
+ },
211
+ "uticket": {
212
+ "mean_nnz": 18.0,
213
+ "max_nnz": 18.0,
214
+ "min_nnz": 18.0,
215
+ "total_nnz": 5760,
216
+ "numel": 921600,
217
+ "sparsity": 0.99375,
218
+ "utilization": 1.0
219
+ }
220
+ },
221
+ "layer1": {
222
+ "lth": {
223
+ "mean_nnz": 80.0,
224
+ "max_nnz": 115.0,
225
+ "min_nnz": 28.0,
226
+ "total_nnz": 40960,
227
+ "numel": 163840,
228
+ "sparsity": 0.75,
229
+ "utilization": 0.6956521739130435
230
+ },
231
+ "uticket": {
232
+ "mean_nnz": 80.0,
233
+ "max_nnz": 80.0,
234
+ "min_nnz": 80.0,
235
+ "total_nnz": 40960,
236
+ "numel": 163840,
237
+ "sparsity": 0.75,
238
+ "utilization": 1.0
239
+ }
240
+ },
241
+ "layer2": {
242
+ "lth": {
243
+ "mean_nnz": 128.0,
244
+ "max_nnz": 157.0,
245
+ "min_nnz": 99.0,
246
+ "total_nnz": 32768,
247
+ "numel": 131072,
248
+ "sparsity": 0.75,
249
+ "utilization": 0.8152866242038217
250
+ },
251
+ "uticket": {
252
+ "mean_nnz": 128.0,
253
+ "max_nnz": 128.0,
254
+ "min_nnz": 128.0,
255
+ "total_nnz": 32768,
256
+ "numel": 131072,
257
+ "sparsity": 0.75,
258
+ "utilization": 1.0
259
+ }
260
+ }
261
+ },
262
+ "latency_proxy": 226,
263
+ "sparsity": 0.9346590909090909
264
+ },
265
+ {
266
+ "round": 3,
267
+ "layers": {
268
+ "layer0": {
269
+ "lth": {
270
+ "mean_nnz": 9.0,
271
+ "max_nnz": 18.0,
272
+ "min_nnz": 1.0,
273
+ "total_nnz": 2880,
274
+ "numel": 921600,
275
+ "sparsity": 0.996875,
276
+ "utilization": 0.5
277
+ },
278
+ "uticket": {
279
+ "mean_nnz": 9.0,
280
+ "max_nnz": 9.0,
281
+ "min_nnz": 9.0,
282
+ "total_nnz": 2880,
283
+ "numel": 921600,
284
+ "sparsity": 0.996875,
285
+ "utilization": 1.0
286
+ }
287
+ },
288
+ "layer1": {
289
+ "lth": {
290
+ "mean_nnz": 40.0,
291
+ "max_nnz": 64.0,
292
+ "min_nnz": 6.0,
293
+ "total_nnz": 20480,
294
+ "numel": 163840,
295
+ "sparsity": 0.875,
296
+ "utilization": 0.625
297
+ },
298
+ "uticket": {
299
+ "mean_nnz": 40.0,
300
+ "max_nnz": 40.0,
301
+ "min_nnz": 40.0,
302
+ "total_nnz": 20480,
303
+ "numel": 163840,
304
+ "sparsity": 0.875,
305
+ "utilization": 1.0
306
+ }
307
+ },
308
+ "layer2": {
309
+ "lth": {
310
+ "mean_nnz": 64.0,
311
+ "max_nnz": 86.0,
312
+ "min_nnz": 45.0,
313
+ "total_nnz": 16384,
314
+ "numel": 131072,
315
+ "sparsity": 0.875,
316
+ "utilization": 0.7441860465116279
317
+ },
318
+ "uticket": {
319
+ "mean_nnz": 64.0,
320
+ "max_nnz": 64.0,
321
+ "min_nnz": 64.0,
322
+ "total_nnz": 16384,
323
+ "numel": 131072,
324
+ "sparsity": 0.875,
325
+ "utilization": 1.0
326
+ }
327
+ }
328
+ },
329
+ "latency_proxy": 113,
330
+ "sparsity": 0.9673295454545454
331
+ }
332
+ ],
333
+ "latency_proxy_lth": 168,
334
+ "latency_reduction_vs_lth_frac": 0.32738095238095233
335
+ },
336
+ "config": {
337
+ "method": "harmonic_matched",
338
+ "data_root": "/kaggle/working/data",
339
+ "subjects": "",
340
+ "blocks": "",
341
+ "limit": 0,
342
+ "drop_rest": true,
343
+ "resplit": "block",
344
+ "test_blocks": "6",
345
+ "class_weight": false,
346
+ "epochs": 60,
347
+ "batch_size": 64,
348
+ "lr": 0.002,
349
+ "weight_decay": 0.0005,
350
+ "grad_clip": 5.0,
351
+ "num_bins": 100,
352
+ "window_sec": 5.0,
353
+ "hidden": "512,256",
354
+ "freq_groups": 8,
355
+ "dropout": 0.3,
356
+ "spike_drop": 0.1,
357
+ "time_jitter": 2,
358
+ "label_smoothing": 0.05,
359
+ "no_batchnorm": false,
360
+ "binary_input": false,
361
+ "beta": 1.0,
362
+ "thresh": 1.0,
363
+ "window": 0.5,
364
+ "gain": 1.0,
365
+ "alpha": 0.9,
366
+ "readout": "spikecount",
367
+ "fake_quant": 0,
368
+ "amp": false,
369
+ "spike_reg": 0.0,
370
+ "event_eval": true,
371
+ "decision_margin": 2.0,
372
+ "export": false,
373
+ "seed": 1234,
374
+ "hub_dir": "/kaggle/working/hub/opt06_uticket_prune/prune_rounds_3",
375
+ "repo_id": "UWU-R-13/SSVEP-SNN",
376
+ "push_hf": false,
377
+ "keep_epoch_weights": 1,
378
+ "no_resume": true,
379
+ "selftest": false,
380
+ "baseline": false,
381
+ "bench": true,
382
+ "bench_warmup": 10,
383
+ "bench_iters": 50,
384
+ "bench_train_steps": 20,
385
+ "prune_rounds": 3,
386
+ "prune_rate": 0.5,
387
+ "rewind_epoch": 1,
388
+ "balance": true,
389
+ "balance_iters": 2,
390
+ "prune_readout": false,
391
+ "sampling_rate": 250.0
392
+ }
393
+ },
394
+ "final_summary": {
395
+ "final_test_acc": 0.9057142857142857,
396
+ "final_test_target_acc": 0.9057142857142857,
397
+ "final_test_rest_recall": NaN,
398
+ "best_acc": 0.9407142857142857,
399
+ "best_epoch": 41,
400
+ "resplit": "block",
401
+ "class_weight": false,
402
+ "drop_rest": true,
403
+ "epochs": 60,
404
+ "method": "harmonic_matched",
405
+ "n_in": 2880,
406
+ "n_classes": 40,
407
+ "num_bins": 100
408
+ },
409
+ "event_driven_summary": {
410
+ "acc": 0.9057142857142857,
411
+ "anytime_acc": {
412
+ "0.25": 0.5371428571428571,
413
+ "0.5": 0.7807142857142857,
414
+ "0.75": 0.8742857142857143,
415
+ "1.0": 0.9057142857142857
416
+ },
417
+ "syn_per_inference": 550376.6811079546,
418
+ "dense_per_inference": 122675200.0,
419
+ "event_fraction_of_dense": 0.004486454320905567,
420
+ "syn_per_inference_dense_fanout": 65058668.56331169,
421
+ "weight_sparsity": 0.9592550083472454,
422
+ "num_ticks": 100,
423
+ "dt_ms": 50.0,
424
+ "margin_decision_acc": 0.3742857142857143,
425
+ "mean_decision_tick": 13.450714285714286,
426
+ "mean_decision_ms": 672.5357142857143,
427
+ "dense_forward_test_acc": 0.9057142857142857
428
+ },
429
+ "extra_sweep_file_present": true,
430
+ "selftest": {
431
+ "mode": "gate",
432
+ "passed": true
433
+ },
434
+ "driver_version": 1,
435
+ "zip": {
436
+ "name": "prune_rounds_3.zip",
437
+ "files": 81,
438
+ "bytes": 8378826,
439
+ "MB": 8.4,
440
+ "sha256": "4f95cb87dd3ae4936d31d4c1e94317cb6a26fbeb7da655363811df3a91cd6bf8"
441
+ }
442
+ }
applied/opt06_uticket_prune/prune_rounds_3.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f95cb87dd3ae4936d31d4c1e94317cb6a26fbeb7da655363811df3a91cd6bf8
3
+ size 8378826