p-j-r-1-2-3 commited on
Commit
82acc05
·
verified ·
1 Parent(s): bee0ed0

add run bench_deep

Browse files
applied/opt04_cudagraph_unroll/bench_deep.summary.json ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "opt04_cudagraph_unroll/bench_deep",
3
+ "tag": "bench_deep",
4
+ "script": "opt04_cudagraph_unroll.py",
5
+ "script_sha256_16": "847dee0db9d2d87e",
6
+ "hf_folder": "applied/opt04_cudagraph_unroll",
7
+ "priority": 2,
8
+ "note": "long-run timing: shrinks the variance on the graph-vs-eager delta",
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/bench_deep",
35
+ "--keep-epoch-weights",
36
+ "1",
37
+ "--resplit",
38
+ "block",
39
+ "--drop-rest",
40
+ "--bench",
41
+ "--bench-warmup",
42
+ "50",
43
+ "--bench-iters",
44
+ "300",
45
+ "--bench-train-steps",
46
+ "60"
47
+ ],
48
+ "flags": [
49
+ "--bench-warmup",
50
+ "50",
51
+ "--bench-iters",
52
+ "300",
53
+ "--bench-train-steps",
54
+ "60"
55
+ ],
56
+ "epochs_requested": 60,
57
+ "gpus": 2,
58
+ "relative_epoch_cost": 1.0,
59
+ "exit_code": 0,
60
+ "status": "ok",
61
+ "duration_s": 515.1,
62
+ "started_utc": "2026-08-23T05:47:18.398801+00:00",
63
+ "finished_utc": "2026-08-23T05:55:53.540615+00:00",
64
+ "optimization_summary": {
65
+ "optimization": "cudagraph_static_unroll",
66
+ "research_section": "2. Temporal-dimension reduction / 5. OS & runtime",
67
+ "reference": "CUDA Graphs static capture/replay applied to the unrolled T-tick event-driven inference loop",
68
+ "script": "opt04_cudagraph_unroll.py",
69
+ "baseline_mode": false,
70
+ "method": "harmonic_matched",
71
+ "accuracy": {
72
+ "test_acc": 0.9471428571428572,
73
+ "test_target_acc": 0.9471428571428572,
74
+ "best_val_acc": 0.9478571428571428
75
+ },
76
+ "efficiency": {
77
+ "spikes_per_inference": null,
78
+ "syn_ops_per_inference": 3288532.137987013,
79
+ "dense_macs_per_inference": 122675200.0,
80
+ "event_fraction_of_dense": 0.026806821085166462,
81
+ "syn_ops_per_inference_dense_fanout": 64865149.92451298,
82
+ "weight_sparsity": 0.7324707846410685,
83
+ "effective_ticks": 12.623571428571429,
84
+ "num_ticks": 100,
85
+ "membrane_bytes_per_inference": 451200,
86
+ "weight_bytes": 4907008,
87
+ "input_raster_bytes": null,
88
+ "train_ms_per_step": 99.1249680519104,
89
+ "infer_ms_per_sample": 0.6687609851360321,
90
+ "peak_vram_mb": 2804.772352
91
+ },
92
+ "optimization_specific": {
93
+ "graph_enabled": true,
94
+ "event_capacity_scan": {
95
+ "cap_scan": 98901,
96
+ "batch_size_scan": 64,
97
+ "n_batches_scanned": 20,
98
+ "density_per_sample": 1545.328125,
99
+ "per_layer_caps": [
100
+ 98901,
101
+ 7862,
102
+ 3565,
103
+ 3290
104
+ ]
105
+ },
106
+ "capacity": 98901,
107
+ "overflow_ticks_frac": 0.0,
108
+ "graph_vs_eager_pred_agreement": 1.0,
109
+ "graph_capture_ms": 230.26442527770996,
110
+ "graphed_acc": 0.9471428571428572,
111
+ "kernel_launches_eager": 400,
112
+ "kernel_launches_graphed": 2,
113
+ "launch_reduction_x": 200.0,
114
+ "bench_batches": {
115
+ "1": {
116
+ "ms_per_sample_eager": 152.34436988830566,
117
+ "ms_per_sample_graphed": 32.587409019470215,
118
+ "throughput_eager_samples_per_s": 6.564075854809535,
119
+ "throughput_graphed_samples_per_s": 30.686698638806277,
120
+ "speedup_x": 4.674945768081269,
121
+ "capacity": 1546
122
+ },
123
+ "8": {
124
+ "ms_per_sample_eager": 19.862996339797974,
125
+ "ms_per_sample_graphed": 12.355670928955078,
126
+ "throughput_eager_samples_per_s": 50.34487158397024,
127
+ "throughput_graphed_samples_per_s": 80.93449605043585,
128
+ "speedup_x": 1.607601598813201,
129
+ "capacity": 12363
130
+ },
131
+ "32": {
132
+ "ms_per_sample_eager": 5.842189788818359,
133
+ "ms_per_sample_graphed": 11.338528245687485,
134
+ "throughput_eager_samples_per_s": 171.16869464151043,
135
+ "throughput_graphed_samples_per_s": 88.19486782866565,
136
+ "speedup_x": 0.5152511562548153,
137
+ "capacity": 49451
138
+ },
139
+ "128": {
140
+ "ms_per_sample_eager": 2.0107360556721687,
141
+ "ms_per_sample_graphed": 9.604028947651386,
142
+ "throughput_eager_samples_per_s": 497.33031701453734,
143
+ "throughput_graphed_samples_per_s": 104.1229681262617,
144
+ "speedup_x": 0.2093638062350784,
145
+ "capacity": 197802
146
+ }
147
+ },
148
+ "speedup_x_at_batch1": 4.674945768081269
149
+ },
150
+ "config": {
151
+ "method": "harmonic_matched",
152
+ "data_root": "/kaggle/working/data",
153
+ "subjects": "",
154
+ "blocks": "",
155
+ "limit": 0,
156
+ "drop_rest": true,
157
+ "resplit": "block",
158
+ "test_blocks": "6",
159
+ "class_weight": false,
160
+ "epochs": 60,
161
+ "batch_size": 64,
162
+ "lr": 0.002,
163
+ "weight_decay": 0.0005,
164
+ "grad_clip": 5.0,
165
+ "num_bins": 100,
166
+ "window_sec": 5.0,
167
+ "hidden": "512,256",
168
+ "freq_groups": 8,
169
+ "dropout": 0.3,
170
+ "spike_drop": 0.1,
171
+ "time_jitter": 2,
172
+ "label_smoothing": 0.05,
173
+ "no_batchnorm": false,
174
+ "binary_input": false,
175
+ "beta": 1.0,
176
+ "thresh": 1.0,
177
+ "window": 0.5,
178
+ "gain": 1.0,
179
+ "alpha": 0.9,
180
+ "readout": "spikecount",
181
+ "fake_quant": 0,
182
+ "amp": false,
183
+ "spike_reg": 0.0,
184
+ "event_eval": true,
185
+ "decision_margin": 2.0,
186
+ "export": false,
187
+ "seed": 1234,
188
+ "hub_dir": "/kaggle/working/hub/opt04_cudagraph_unroll/bench_deep",
189
+ "repo_id": "UWU-R-13/SSVEP-SNN",
190
+ "push_hf": false,
191
+ "keep_epoch_weights": 1,
192
+ "no_resume": true,
193
+ "selftest": false,
194
+ "baseline": false,
195
+ "bench": true,
196
+ "bench_warmup": 50,
197
+ "bench_iters": 300,
198
+ "bench_train_steps": 60,
199
+ "event_capacity": 0,
200
+ "graph_warmup": 3,
201
+ "bench_batches": "1,8,32,128",
202
+ "sampling_rate": 250.0
203
+ }
204
+ },
205
+ "final_summary": {
206
+ "final_test_acc": 0.9471428571428572,
207
+ "final_test_target_acc": 0.9471428571428572,
208
+ "final_test_rest_recall": NaN,
209
+ "best_acc": 0.9478571428571428,
210
+ "best_epoch": 50,
211
+ "resplit": "block",
212
+ "class_weight": false,
213
+ "drop_rest": true,
214
+ "epochs": 60,
215
+ "method": "harmonic_matched",
216
+ "n_in": 2880,
217
+ "n_classes": 40,
218
+ "num_bins": 100
219
+ },
220
+ "event_driven_summary": {
221
+ "acc": 0.9471428571428572,
222
+ "anytime_acc": {
223
+ "0.25": 0.6328571428571429,
224
+ "0.5": 0.8571428571428571,
225
+ "0.75": 0.9164285714285715,
226
+ "1.0": 0.9471428571428572
227
+ },
228
+ "syn_per_inference": 3288532.137987013,
229
+ "dense_per_inference": 122675200.0,
230
+ "event_fraction_of_dense": 0.026806821085166462,
231
+ "syn_per_inference_dense_fanout": 64865149.92451298,
232
+ "weight_sparsity": 0.7324707846410685,
233
+ "num_ticks": 100,
234
+ "dt_ms": 50.0,
235
+ "margin_decision_acc": 0.4564285714285714,
236
+ "mean_decision_tick": 12.623571428571429,
237
+ "mean_decision_ms": 631.1785714285714,
238
+ "dense_forward_test_acc": 0.9471428571428572
239
+ },
240
+ "extra_sweep_file_present": true,
241
+ "selftest": {
242
+ "mode": "gate",
243
+ "passed": true
244
+ },
245
+ "driver_version": 1,
246
+ "zip": {
247
+ "name": "bench_deep.zip",
248
+ "files": 81,
249
+ "bytes": 12255264,
250
+ "MB": 12.3,
251
+ "sha256": "70a596bb1874f408054a990df12a3c72c0bde75bfcf9116e0193c989df6825e7"
252
+ }
253
+ }
applied/opt04_cudagraph_unroll/bench_deep.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70a596bb1874f408054a990df12a3c72c0bde75bfcf9116e0193c989df6825e7
3
+ size 12255264