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

add run graph_warmup_10

Browse files
applied/opt04_cudagraph_unroll/graph_warmup_10.summary.json ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "opt04_cudagraph_unroll/graph_warmup_10",
3
+ "tag": "graph_warmup_10",
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_10",
35
+ "--keep-epoch-weights",
36
+ "1",
37
+ "--resplit",
38
+ "block",
39
+ "--drop-rest",
40
+ "--bench",
41
+ "--graph-warmup",
42
+ "10"
43
+ ],
44
+ "flags": [
45
+ "--graph-warmup",
46
+ "10"
47
+ ],
48
+ "epochs_requested": 60,
49
+ "gpus": 2,
50
+ "relative_epoch_cost": 1.0,
51
+ "exit_code": 0,
52
+ "status": "ok",
53
+ "duration_s": 527.5,
54
+ "started_utc": "2026-08-23T04:30:29.916928+00:00",
55
+ "finished_utc": "2026-08-23T04:39:17.443004+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.9435714285714286,
65
+ "test_target_acc": 0.9435714285714286,
66
+ "best_val_acc": 0.9485714285714286
67
+ },
68
+ "efficiency": {
69
+ "spikes_per_inference": null,
70
+ "syn_ops_per_inference": 3273295.596590909,
71
+ "dense_macs_per_inference": 122675200.0,
72
+ "event_fraction_of_dense": 0.026682618790031802,
73
+ "syn_ops_per_inference_dense_fanout": 64849913.383116886,
74
+ "weight_sparsity": 0.7324707846410685,
75
+ "effective_ticks": 12.09142857142857,
76
+ "num_ticks": 100,
77
+ "membrane_bytes_per_inference": 451200,
78
+ "weight_bytes": 4907008,
79
+ "input_raster_bytes": null,
80
+ "train_ms_per_step": 93.29218864440918,
81
+ "infer_ms_per_sample": 0.6321516633033752,
82
+ "peak_vram_mb": 2803.89888
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
+ 7747,
94
+ 3483,
95
+ 3303
96
+ ]
97
+ },
98
+ "capacity": 98901,
99
+ "overflow_ticks_frac": 0.0,
100
+ "graph_vs_eager_pred_agreement": 1.0,
101
+ "graph_capture_ms": 232.3627471923828,
102
+ "graphed_acc": 0.9435714285714286,
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": 162.28576183319092,
109
+ "ms_per_sample_graphed": 32.69205570220947,
110
+ "throughput_eager_samples_per_s": 6.161970025613662,
111
+ "throughput_graphed_samples_per_s": 30.58847106798535,
112
+ "speedup_x": 4.964073330580522,
113
+ "capacity": 1546
114
+ },
115
+ "8": {
116
+ "ms_per_sample_eager": 20.896499156951904,
117
+ "ms_per_sample_graphed": 12.355339527130127,
118
+ "throughput_eager_samples_per_s": 47.85490586193799,
119
+ "throughput_graphed_samples_per_s": 80.93666692074126,
120
+ "speedup_x": 1.6912929920757669,
121
+ "capacity": 12363
122
+ },
123
+ "32": {
124
+ "ms_per_sample_eager": 6.037041991949081,
125
+ "ms_per_sample_graphed": 10.774523615837097,
126
+ "throughput_eager_samples_per_s": 165.6440358264174,
127
+ "throughput_graphed_samples_per_s": 92.81152797606148,
128
+ "speedup_x": 0.5603070917284402,
129
+ "capacity": 49451
130
+ },
131
+ "128": {
132
+ "ms_per_sample_eager": 2.052377350628376,
133
+ "ms_per_sample_graphed": 9.65143520385027,
134
+ "throughput_eager_samples_per_s": 487.23983418245683,
135
+ "throughput_graphed_samples_per_s": 103.61153329828787,
136
+ "speedup_x": 0.21264996420528384,
137
+ "capacity": 197802
138
+ }
139
+ },
140
+ "speedup_x_at_batch1": 4.964073330580522
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_10",
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": 10,
193
+ "bench_batches": "1,8,32,128",
194
+ "sampling_rate": 250.0
195
+ }
196
+ },
197
+ "final_summary": {
198
+ "final_test_acc": 0.9435714285714286,
199
+ "final_test_target_acc": 0.9435714285714286,
200
+ "final_test_rest_recall": NaN,
201
+ "best_acc": 0.9485714285714286,
202
+ "best_epoch": 45,
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.9435714285714286,
214
+ "anytime_acc": {
215
+ "0.25": 0.6221428571428571,
216
+ "0.5": 0.85,
217
+ "0.75": 0.9178571428571428,
218
+ "1.0": 0.9435714285714286
219
+ },
220
+ "syn_per_inference": 3273295.596590909,
221
+ "dense_per_inference": 122675200.0,
222
+ "event_fraction_of_dense": 0.026682618790031802,
223
+ "syn_per_inference_dense_fanout": 64849913.383116886,
224
+ "weight_sparsity": 0.7324707846410685,
225
+ "num_ticks": 100,
226
+ "dt_ms": 50.0,
227
+ "margin_decision_acc": 0.43714285714285717,
228
+ "mean_decision_tick": 12.09142857142857,
229
+ "mean_decision_ms": 604.5714285714286,
230
+ "dense_forward_test_acc": 0.9435714285714286
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_10.zip",
240
+ "files": 81,
241
+ "bytes": 12254306,
242
+ "MB": 12.3,
243
+ "sha256": "30c304cd94c9123309fe255a127715a8b0a4ba0b1b1ac76f702132aa836c19e0"
244
+ }
245
+ }
applied/opt04_cudagraph_unroll/graph_warmup_10.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30c304cd94c9123309fe255a127715a8b0a4ba0b1b1ac76f702132aa836c19e0
3
+ size 12254306