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

add run control_baseline

Browse files
applied/opt08_mint_quant/control_baseline.summary.json ADDED
@@ -0,0 +1,237 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "opt08_mint_quant/control_baseline",
3
+ "tag": "control_baseline",
4
+ "script": "opt08_mint_quant.py",
5
+ "script_sha256_16": "dd139bbe634ea732",
6
+ "hf_folder": "applied/opt08_mint_quant",
7
+ "priority": 0,
8
+ "note": "control: fp32 weights and membrane",
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/opt08_mint_quant.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/opt08_mint_quant/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": 322.0,
52
+ "started_utc": "2026-08-23T04:27:13.833632+00:00",
53
+ "finished_utc": "2026-08-23T04:32:35.861157+00:00",
54
+ "optimization_summary": {
55
+ "optimization": "mint_quant",
56
+ "research_section": "4. Membrane-Potential Memory-Wall Optimizations (multiplier-less integer quantization)",
57
+ "reference": "Yin et al., MINT: Multiplier-less INTeger Quantization for Energy Efficient Spiking Neural Networks, arXiv:2305.09850 (ASP-DAC 2024)",
58
+ "script": "opt08_mint_quant.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.9464285714285714
65
+ },
66
+ "efficiency": {
67
+ "spikes_per_inference": null,
68
+ "syn_ops_per_inference": 3264850.94724026,
69
+ "dense_macs_per_inference": 122675200.0,
70
+ "event_fraction_of_dense": 0.026613781328583608,
71
+ "syn_ops_per_inference_dense_fanout": 64841468.73376623,
72
+ "weight_sparsity": 0.7324707846410685,
73
+ "effective_ticks": 11.907142857142857,
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.69941574998302,
79
+ "infer_ms_per_sample": 0.626549786562407,
80
+ "peak_vram_mb": 2828.246528
81
+ },
82
+ "optimization_specific": {
83
+ "w_bits": 0,
84
+ "u_bits": 0,
85
+ "leak_shift": 0,
86
+ "beta_eff": 1.0,
87
+ "qat": false,
88
+ "batchnorm": true,
89
+ "membrane_memory_reduction_x": 1.0,
90
+ "weight_memory_reduction_x": 1.0,
91
+ "membrane_bytes_per_inference": 451200.0,
92
+ "working_set_bytes": 4911520.0,
93
+ "baseline_working_set_bytes": 4911520.0,
94
+ "l2_cache_fits": false,
95
+ "baseline_l2_cache_fits": false,
96
+ "l2_budget_bytes": 2097152,
97
+ "membrane_saturation_frac": null,
98
+ "acc_vs_ubits": {},
99
+ "bits_sweep_rows": null,
100
+ "fp32_membrane_acc": null,
101
+ "per_layer_scales": [
102
+ {
103
+ "layer": 0,
104
+ "weight_scale": 9.543621453115142e-11,
105
+ "membrane_scale": 1.0,
106
+ "shared_scale_gauge_factor": 100000000.0
107
+ },
108
+ {
109
+ "layer": 1,
110
+ "weight_scale": 6.892802998249627e-11,
111
+ "membrane_scale": 1.0,
112
+ "shared_scale_gauge_factor": 100000000.0
113
+ },
114
+ {
115
+ "layer": 2,
116
+ "weight_scale": 3.9894622346473585e-11,
117
+ "membrane_scale": 1.0,
118
+ "shared_scale_gauge_factor": 100000000.0
119
+ },
120
+ {
121
+ "layer": 3,
122
+ "weight_scale": 6.857638765596422e-11,
123
+ "membrane_scale": 1.0,
124
+ "shared_scale_gauge_factor": 100000000.0
125
+ }
126
+ ],
127
+ "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",
128
+ "multiplier_less_compare": false,
129
+ "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"
130
+ },
131
+ "config": {
132
+ "method": "harmonic_matched",
133
+ "data_root": "/kaggle/working/data",
134
+ "subjects": "",
135
+ "blocks": "",
136
+ "limit": 0,
137
+ "drop_rest": true,
138
+ "resplit": "block",
139
+ "test_blocks": "6",
140
+ "class_weight": false,
141
+ "epochs": 60,
142
+ "batch_size": 64,
143
+ "lr": 0.002,
144
+ "weight_decay": 0.0005,
145
+ "grad_clip": 5.0,
146
+ "num_bins": 100,
147
+ "window_sec": 5.0,
148
+ "hidden": "512,256",
149
+ "freq_groups": 8,
150
+ "dropout": 0.3,
151
+ "spike_drop": 0.1,
152
+ "time_jitter": 2,
153
+ "label_smoothing": 0.05,
154
+ "no_batchnorm": false,
155
+ "binary_input": false,
156
+ "beta": 1.0,
157
+ "thresh": 1.0,
158
+ "window": 0.5,
159
+ "gain": 1.0,
160
+ "alpha": 0.9,
161
+ "readout": "spikecount",
162
+ "fake_quant": 0,
163
+ "amp": false,
164
+ "spike_reg": 0.0,
165
+ "event_eval": true,
166
+ "decision_margin": 2.0,
167
+ "export": false,
168
+ "seed": 1234,
169
+ "hub_dir": "/kaggle/working/hub/opt08_mint_quant/control_baseline",
170
+ "repo_id": "UWU-R-13/SSVEP-SNN",
171
+ "push_hf": false,
172
+ "keep_epoch_weights": 1,
173
+ "no_resume": true,
174
+ "selftest": false,
175
+ "baseline": true,
176
+ "bench": true,
177
+ "bench_warmup": 10,
178
+ "bench_iters": 50,
179
+ "bench_train_steps": 20,
180
+ "w_bits": 4,
181
+ "u_bits": 2,
182
+ "leak_shift": 0,
183
+ "qat": true,
184
+ "bits_sweep": "2,4,8,0",
185
+ "l2_bytes": 2097152,
186
+ "sampling_rate": 250.0
187
+ }
188
+ },
189
+ "final_summary": {
190
+ "final_test_acc": 0.945,
191
+ "final_test_target_acc": 0.945,
192
+ "final_test_rest_recall": NaN,
193
+ "best_acc": 0.9464285714285714,
194
+ "best_epoch": 49,
195
+ "resplit": "block",
196
+ "class_weight": false,
197
+ "drop_rest": true,
198
+ "epochs": 60,
199
+ "method": "harmonic_matched",
200
+ "n_in": 2880,
201
+ "n_classes": 40,
202
+ "num_bins": 100
203
+ },
204
+ "event_driven_summary": {
205
+ "acc": 0.945,
206
+ "anytime_acc": {
207
+ "0.25": 0.6235714285714286,
208
+ "0.5": 0.8507142857142858,
209
+ "0.75": 0.9185714285714286,
210
+ "1.0": 0.945
211
+ },
212
+ "syn_per_inference": 3264850.94724026,
213
+ "dense_per_inference": 122675200.0,
214
+ "event_fraction_of_dense": 0.026613781328583608,
215
+ "syn_per_inference_dense_fanout": 64841468.73376623,
216
+ "weight_sparsity": 0.7324707846410685,
217
+ "num_ticks": 100,
218
+ "dt_ms": 50.0,
219
+ "margin_decision_acc": 0.44785714285714284,
220
+ "mean_decision_tick": 11.907142857142857,
221
+ "mean_decision_ms": 595.3571428571428,
222
+ "dense_forward_test_acc": 0.945
223
+ },
224
+ "extra_sweep_file_present": false,
225
+ "selftest": {
226
+ "mode": "gate",
227
+ "passed": true
228
+ },
229
+ "driver_version": 1,
230
+ "zip": {
231
+ "name": "control_baseline.zip",
232
+ "files": 80,
233
+ "bytes": 12247949,
234
+ "MB": 12.2,
235
+ "sha256": "6cdb33c67b4c87ce6cb384cb3728a02b828738c952c7367ba2e2fbf552054529"
236
+ }
237
+ }
applied/opt08_mint_quant/control_baseline.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6cdb33c67b4c87ce6cb384cb3728a02b828738c952c7367ba2e2fbf552054529
3
+ size 12247949