p-j-r-1-2-3 commited on
Commit
42c0b13
·
verified ·
1 Parent(s): 7254b2d

add run event_capacity_256

Browse files
applied/opt04_cudagraph_unroll/event_capacity_256.summary.json ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "opt04_cudagraph_unroll/event_capacity_256",
3
+ "tag": "event_capacity_256",
4
+ "script": "opt04_cudagraph_unroll.py",
5
+ "script_sha256_16": "847dee0db9d2d87e",
6
+ "hf_folder": "applied/opt04_cudagraph_unroll",
7
+ "priority": 2,
8
+ "note": "",
9
+ "phase": 8,
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/opt04_cudagraph_unroll.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/opt04_cudagraph_unroll/event_capacity_256",
35
+ "--keep-epoch-weights",
36
+ "1",
37
+ "--resplit",
38
+ "block",
39
+ "--drop-rest",
40
+ "--bench",
41
+ "--event-capacity",
42
+ "256"
43
+ ],
44
+ "flags": [
45
+ "--event-capacity",
46
+ "256"
47
+ ],
48
+ "epochs_requested": 60,
49
+ "gpus": 2,
50
+ "relative_epoch_cost": 1.0,
51
+ "exit_code": 0,
52
+ "status": "ok",
53
+ "duration_s": 397.3,
54
+ "started_utc": "2026-08-23T05:55:57.045382+00:00",
55
+ "finished_utc": "2026-08-23T06:02:34.392891+00:00",
56
+ "optimization_summary": {
57
+ "optimization": "cudagraph_static_unroll",
58
+ "research_section": "2. Temporal-dimension reduction / 5. OS & runtime",
59
+ "reference": "CUDA Graphs static capture/replay applied to the unrolled T-tick event-driven inference loop",
60
+ "script": "opt04_cudagraph_unroll.py",
61
+ "baseline_mode": false,
62
+ "method": "harmonic_matched",
63
+ "accuracy": {
64
+ "test_acc": 0.9442857142857143,
65
+ "test_target_acc": 0.9442857142857143,
66
+ "best_val_acc": 0.9478571428571428
67
+ },
68
+ "efficiency": {
69
+ "spikes_per_inference": null,
70
+ "syn_ops_per_inference": 3278366.112824675,
71
+ "dense_macs_per_inference": 122675200.0,
72
+ "event_fraction_of_dense": 0.026723951644869338,
73
+ "syn_ops_per_inference_dense_fanout": 64854983.89935065,
74
+ "weight_sparsity": 0.7324707846410685,
75
+ "effective_ticks": 12.275,
76
+ "num_ticks": 100,
77
+ "membrane_bytes_per_inference": 451200,
78
+ "weight_bytes": 4907008,
79
+ "input_raster_bytes": null,
80
+ "train_ms_per_step": 104.75021600723267,
81
+ "infer_ms_per_sample": 0.7042399048805237,
82
+ "peak_vram_mb": 2804.35968
83
+ },
84
+ "optimization_specific": {
85
+ "graph_enabled": true,
86
+ "capacity": 256,
87
+ "overflow_ticks_frac": 0.8656818181818179,
88
+ "graph_vs_eager_pred_agreement": 0.030714285714285715,
89
+ "graph_capture_ms": 229.66456413269043,
90
+ "graphed_acc": 0.029285714285714286,
91
+ "kernel_launches_eager": 400,
92
+ "kernel_launches_graphed": 2,
93
+ "launch_reduction_x": 200.0,
94
+ "bench_batches": {
95
+ "1": {
96
+ "ms_per_sample_eager": 155.55429935455322,
97
+ "ms_per_sample_graphed": 24.810490608215332,
98
+ "throughput_eager_samples_per_s": 6.428623343419849,
99
+ "throughput_graphed_samples_per_s": 40.305531067123546,
100
+ "speedup_x": 6.269698645259581,
101
+ "capacity": 256
102
+ },
103
+ "8": {
104
+ "ms_per_sample_eager": 19.979223608970642,
105
+ "ms_per_sample_graphed": 3.149470090866089,
106
+ "throughput_eager_samples_per_s": 50.05199499098661,
107
+ "throughput_graphed_samples_per_s": 317.5137312464539,
108
+ "speedup_x": 6.343677835491511,
109
+ "capacity": 256
110
+ },
111
+ "32": {
112
+ "ms_per_sample_eager": 5.810043066740036,
113
+ "ms_per_sample_graphed": 0.8300268650054932,
114
+ "throughput_eager_samples_per_s": 172.1157637754123,
115
+ "throughput_graphed_samples_per_s": 1204.78028141099,
116
+ "speedup_x": 6.999825320957033,
117
+ "capacity": 256
118
+ },
119
+ "128": {
120
+ "ms_per_sample_eager": 2.0753739774227142,
121
+ "ms_per_sample_graphed": 0.24644374847412112,
122
+ "throughput_eager_samples_per_s": 481.8408686235151,
123
+ "throughput_graphed_samples_per_s": 4057.721107520848,
124
+ "speedup_x": 8.421288794187642,
125
+ "capacity": 256
126
+ }
127
+ },
128
+ "speedup_x_at_batch1": 6.269698645259581
129
+ },
130
+ "config": {
131
+ "method": "harmonic_matched",
132
+ "data_root": "/kaggle/working/data",
133
+ "subjects": "",
134
+ "blocks": "",
135
+ "limit": 0,
136
+ "drop_rest": true,
137
+ "resplit": "block",
138
+ "test_blocks": "6",
139
+ "class_weight": false,
140
+ "epochs": 60,
141
+ "batch_size": 64,
142
+ "lr": 0.002,
143
+ "weight_decay": 0.0005,
144
+ "grad_clip": 5.0,
145
+ "num_bins": 100,
146
+ "window_sec": 5.0,
147
+ "hidden": "512,256",
148
+ "freq_groups": 8,
149
+ "dropout": 0.3,
150
+ "spike_drop": 0.1,
151
+ "time_jitter": 2,
152
+ "label_smoothing": 0.05,
153
+ "no_batchnorm": false,
154
+ "binary_input": false,
155
+ "beta": 1.0,
156
+ "thresh": 1.0,
157
+ "window": 0.5,
158
+ "gain": 1.0,
159
+ "alpha": 0.9,
160
+ "readout": "spikecount",
161
+ "fake_quant": 0,
162
+ "amp": false,
163
+ "spike_reg": 0.0,
164
+ "event_eval": true,
165
+ "decision_margin": 2.0,
166
+ "export": false,
167
+ "seed": 1234,
168
+ "hub_dir": "/kaggle/working/hub/opt04_cudagraph_unroll/event_capacity_256",
169
+ "repo_id": "UWU-R-13/SSVEP-SNN",
170
+ "push_hf": false,
171
+ "keep_epoch_weights": 1,
172
+ "no_resume": true,
173
+ "selftest": false,
174
+ "baseline": false,
175
+ "bench": true,
176
+ "bench_warmup": 10,
177
+ "bench_iters": 50,
178
+ "bench_train_steps": 20,
179
+ "event_capacity": 256,
180
+ "graph_warmup": 3,
181
+ "bench_batches": "1,8,32,128",
182
+ "sampling_rate": 250.0
183
+ }
184
+ },
185
+ "final_summary": {
186
+ "final_test_acc": 0.9442857142857143,
187
+ "final_test_target_acc": 0.9442857142857143,
188
+ "final_test_rest_recall": NaN,
189
+ "best_acc": 0.9478571428571428,
190
+ "best_epoch": 54,
191
+ "resplit": "block",
192
+ "class_weight": false,
193
+ "drop_rest": true,
194
+ "epochs": 60,
195
+ "method": "harmonic_matched",
196
+ "n_in": 2880,
197
+ "n_classes": 40,
198
+ "num_bins": 100
199
+ },
200
+ "event_driven_summary": {
201
+ "acc": 0.9442857142857143,
202
+ "anytime_acc": {
203
+ "0.25": 0.6264285714285714,
204
+ "0.5": 0.8421428571428572,
205
+ "0.75": 0.9085714285714286,
206
+ "1.0": 0.9442857142857143
207
+ },
208
+ "syn_per_inference": 3278366.112824675,
209
+ "dense_per_inference": 122675200.0,
210
+ "event_fraction_of_dense": 0.026723951644869338,
211
+ "syn_per_inference_dense_fanout": 64854983.89935065,
212
+ "weight_sparsity": 0.7324707846410685,
213
+ "num_ticks": 100,
214
+ "dt_ms": 50.0,
215
+ "margin_decision_acc": 0.44857142857142857,
216
+ "mean_decision_tick": 12.275,
217
+ "mean_decision_ms": 613.75,
218
+ "dense_forward_test_acc": 0.9442857142857143
219
+ },
220
+ "extra_sweep_file_present": true,
221
+ "selftest": {
222
+ "mode": "gate",
223
+ "passed": true
224
+ },
225
+ "driver_version": 1,
226
+ "zip": {
227
+ "name": "event_capacity_256.zip",
228
+ "files": 81,
229
+ "bytes": 12255386,
230
+ "MB": 12.3,
231
+ "sha256": "4abdff6c1e97bc98b4e4387f7e1294d7238450f2a417c19aa850ecd6d73421cf"
232
+ }
233
+ }
applied/opt04_cudagraph_unroll/event_capacity_256.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4abdff6c1e97bc98b4e4387f7e1294d7238450f2a417c19aa850ecd6d73421cf
3
+ size 12255386