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

add run default

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