p-j-r-1-2-3 commited on
Commit
ba0c7f4
·
verified ·
1 Parent(s): 11a6d12

add run graph_warmup_1

Browse files
applied/opt04_cudagraph_unroll/graph_warmup_1.summary.json ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "opt04_cudagraph_unroll/graph_warmup_1",
3
+ "tag": "graph_warmup_1",
4
+ "script": "opt04_cudagraph_unroll.py",
5
+ "script_sha256_16": "847dee0db9d2d87e",
6
+ "hf_folder": "applied/opt04_cudagraph_unroll",
7
+ "priority": 1,
8
+ "note": "",
9
+ "phase": 4,
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/graph_warmup_1",
35
+ "--keep-epoch-weights",
36
+ "1",
37
+ "--resplit",
38
+ "block",
39
+ "--drop-rest",
40
+ "--bench",
41
+ "--graph-warmup",
42
+ "1"
43
+ ],
44
+ "flags": [
45
+ "--graph-warmup",
46
+ "1"
47
+ ],
48
+ "epochs_requested": 60,
49
+ "gpus": 2,
50
+ "relative_epoch_cost": 1.0,
51
+ "exit_code": 0,
52
+ "status": "ok",
53
+ "duration_s": 502.8,
54
+ "started_utc": "2026-08-23T04:22:04.171506+00:00",
55
+ "finished_utc": "2026-08-23T04:30:27.005180+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.9464285714285714,
65
+ "test_target_acc": 0.9464285714285714,
66
+ "best_val_acc": 0.9442857142857143
67
+ },
68
+ "efficiency": {
69
+ "spikes_per_inference": null,
70
+ "syn_ops_per_inference": 3261657.1274350653,
71
+ "dense_macs_per_inference": 122675200.0,
72
+ "event_fraction_of_dense": 0.026587746565198713,
73
+ "syn_ops_per_inference_dense_fanout": 64838274.913961045,
74
+ "weight_sparsity": 0.7324707846410685,
75
+ "effective_ticks": 12.156428571428572,
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.66080665588379,
81
+ "infer_ms_per_sample": 0.6402868777513504,
82
+ "peak_vram_mb": 2804.747776
83
+ },
84
+ "optimization_specific": {
85
+ "graph_enabled": true,
86
+ "event_capacity_scan": {
87
+ "cap_scan": 98901,
88
+ "batch_size_scan": 64,
89
+ "n_batches_scanned": 20,
90
+ "density_per_sample": 1545.328125,
91
+ "per_layer_caps": [
92
+ 98901,
93
+ 7665,
94
+ 3579,
95
+ 3350
96
+ ]
97
+ },
98
+ "capacity": 98901,
99
+ "overflow_ticks_frac": 0.0,
100
+ "graph_vs_eager_pred_agreement": 1.0,
101
+ "graph_capture_ms": 240.91601371765137,
102
+ "graphed_acc": 0.9464285714285714,
103
+ "kernel_launches_eager": 400,
104
+ "kernel_launches_graphed": 2,
105
+ "launch_reduction_x": 200.0,
106
+ "bench_batches": {
107
+ "1": {
108
+ "ms_per_sample_eager": 165.45840740203857,
109
+ "ms_per_sample_graphed": 32.71412372589111,
110
+ "throughput_eager_samples_per_s": 6.0438149726060955,
111
+ "throughput_graphed_samples_per_s": 30.567836949536403,
112
+ "speedup_x": 5.057705619395483,
113
+ "capacity": 1546
114
+ },
115
+ "8": {
116
+ "ms_per_sample_eager": 21.272578239440918,
117
+ "ms_per_sample_graphed": 12.35912024974823,
118
+ "throughput_eager_samples_per_s": 47.00887634513087,
119
+ "throughput_graphed_samples_per_s": 80.91190795075978,
120
+ "speedup_x": 1.721204892384979,
121
+ "capacity": 12363
122
+ },
123
+ "32": {
124
+ "ms_per_sample_eager": 6.193430125713348,
125
+ "ms_per_sample_graphed": 10.724300295114517,
126
+ "throughput_eager_samples_per_s": 161.46141632377288,
127
+ "throughput_graphed_samples_per_s": 93.24617667182936,
128
+ "speedup_x": 0.5775136797068972,
129
+ "capacity": 49451
130
+ },
131
+ "128": {
132
+ "ms_per_sample_eager": 2.0725979655981064,
133
+ "ms_per_sample_graphed": 9.626770876348019,
134
+ "throughput_eager_samples_per_s": 482.4862402638815,
135
+ "throughput_graphed_samples_per_s": 103.87699186410437,
136
+ "speedup_x": 0.21529524200999375,
137
+ "capacity": 197802
138
+ }
139
+ },
140
+ "speedup_x_at_batch1": 5.057705619395483
141
+ },
142
+ "config": {
143
+ "method": "harmonic_matched",
144
+ "data_root": "/kaggle/working/data",
145
+ "subjects": "",
146
+ "blocks": "",
147
+ "limit": 0,
148
+ "drop_rest": true,
149
+ "resplit": "block",
150
+ "test_blocks": "6",
151
+ "class_weight": false,
152
+ "epochs": 60,
153
+ "batch_size": 64,
154
+ "lr": 0.002,
155
+ "weight_decay": 0.0005,
156
+ "grad_clip": 5.0,
157
+ "num_bins": 100,
158
+ "window_sec": 5.0,
159
+ "hidden": "512,256",
160
+ "freq_groups": 8,
161
+ "dropout": 0.3,
162
+ "spike_drop": 0.1,
163
+ "time_jitter": 2,
164
+ "label_smoothing": 0.05,
165
+ "no_batchnorm": false,
166
+ "binary_input": false,
167
+ "beta": 1.0,
168
+ "thresh": 1.0,
169
+ "window": 0.5,
170
+ "gain": 1.0,
171
+ "alpha": 0.9,
172
+ "readout": "spikecount",
173
+ "fake_quant": 0,
174
+ "amp": false,
175
+ "spike_reg": 0.0,
176
+ "event_eval": true,
177
+ "decision_margin": 2.0,
178
+ "export": false,
179
+ "seed": 1234,
180
+ "hub_dir": "/kaggle/working/hub/opt04_cudagraph_unroll/graph_warmup_1",
181
+ "repo_id": "UWU-R-13/SSVEP-SNN",
182
+ "push_hf": false,
183
+ "keep_epoch_weights": 1,
184
+ "no_resume": true,
185
+ "selftest": false,
186
+ "baseline": false,
187
+ "bench": true,
188
+ "bench_warmup": 10,
189
+ "bench_iters": 50,
190
+ "bench_train_steps": 20,
191
+ "event_capacity": 0,
192
+ "graph_warmup": 1,
193
+ "bench_batches": "1,8,32,128",
194
+ "sampling_rate": 250.0
195
+ }
196
+ },
197
+ "final_summary": {
198
+ "final_test_acc": 0.9464285714285714,
199
+ "final_test_target_acc": 0.9464285714285714,
200
+ "final_test_rest_recall": NaN,
201
+ "best_acc": 0.9442857142857143,
202
+ "best_epoch": 48,
203
+ "resplit": "block",
204
+ "class_weight": false,
205
+ "drop_rest": true,
206
+ "epochs": 60,
207
+ "method": "harmonic_matched",
208
+ "n_in": 2880,
209
+ "n_classes": 40,
210
+ "num_bins": 100
211
+ },
212
+ "event_driven_summary": {
213
+ "acc": 0.9464285714285714,
214
+ "anytime_acc": {
215
+ "0.25": 0.615,
216
+ "0.5": 0.8385714285714285,
217
+ "0.75": 0.915,
218
+ "1.0": 0.9464285714285714
219
+ },
220
+ "syn_per_inference": 3261657.1274350653,
221
+ "dense_per_inference": 122675200.0,
222
+ "event_fraction_of_dense": 0.026587746565198713,
223
+ "syn_per_inference_dense_fanout": 64838274.913961045,
224
+ "weight_sparsity": 0.7324707846410685,
225
+ "num_ticks": 100,
226
+ "dt_ms": 50.0,
227
+ "margin_decision_acc": 0.435,
228
+ "mean_decision_tick": 12.156428571428572,
229
+ "mean_decision_ms": 607.8214285714287,
230
+ "dense_forward_test_acc": 0.9464285714285714
231
+ },
232
+ "extra_sweep_file_present": true,
233
+ "selftest": {
234
+ "mode": "gate",
235
+ "passed": true
236
+ },
237
+ "driver_version": 1,
238
+ "zip": {
239
+ "name": "graph_warmup_1.zip",
240
+ "files": 81,
241
+ "bytes": 12255071,
242
+ "MB": 12.3,
243
+ "sha256": "99eb4b6cb16094297a01e72d5fd80067bcda54fd85bd8612d7e8ae8c1bd8d43e"
244
+ }
245
+ }
applied/opt04_cudagraph_unroll/graph_warmup_1.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99eb4b6cb16094297a01e72d5fd80067bcda54fd85bd8612d7e8ae8c1bd8d43e
3
+ size 12255071