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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"key": "opt04_cudagraph_unroll/event_capacity_64",
|
| 3 |
+
"tag": "event_capacity_64",
|
| 4 |
+
"script": "opt04_cudagraph_unroll.py",
|
| 5 |
+
"script_sha256_16": "847dee0db9d2d87e",
|
| 6 |
+
"hf_folder": "applied/opt04_cudagraph_unroll",
|
| 7 |
+
"priority": 2,
|
| 8 |
+
"note": "small fixed buffer",
|
| 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_64",
|
| 35 |
+
"--keep-epoch-weights",
|
| 36 |
+
"1",
|
| 37 |
+
"--resplit",
|
| 38 |
+
"block",
|
| 39 |
+
"--drop-rest",
|
| 40 |
+
"--bench",
|
| 41 |
+
"--event-capacity",
|
| 42 |
+
"64"
|
| 43 |
+
],
|
| 44 |
+
"flags": [
|
| 45 |
+
"--event-capacity",
|
| 46 |
+
"64"
|
| 47 |
+
],
|
| 48 |
+
"epochs_requested": 60,
|
| 49 |
+
"gpus": 2,
|
| 50 |
+
"relative_epoch_cost": 1.0,
|
| 51 |
+
"exit_code": 0,
|
| 52 |
+
"status": "ok",
|
| 53 |
+
"duration_s": 398.3,
|
| 54 |
+
"started_utc": "2026-08-23T06:02:38.070652+00:00",
|
| 55 |
+
"finished_utc": "2026-08-23T06:09:16.372079+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.9435714285714286
|
| 67 |
+
},
|
| 68 |
+
"efficiency": {
|
| 69 |
+
"spikes_per_inference": null,
|
| 70 |
+
"syn_ops_per_inference": 3267639.6396103892,
|
| 71 |
+
"dense_macs_per_inference": 122675200.0,
|
| 72 |
+
"event_fraction_of_dense": 0.026636513652395832,
|
| 73 |
+
"syn_ops_per_inference_dense_fanout": 64844257.42613637,
|
| 74 |
+
"weight_sparsity": 0.7324707846410685,
|
| 75 |
+
"effective_ticks": 12.285714285714286,
|
| 76 |
+
"num_ticks": 100,
|
| 77 |
+
"membrane_bytes_per_inference": 451200,
|
| 78 |
+
"weight_bytes": 4907008,
|
| 79 |
+
"input_raster_bytes": null,
|
| 80 |
+
"train_ms_per_step": 105.17575740814209,
|
| 81 |
+
"infer_ms_per_sample": 0.700143352150917,
|
| 82 |
+
"peak_vram_mb": 2803.894272
|
| 83 |
+
},
|
| 84 |
+
"optimization_specific": {
|
| 85 |
+
"graph_enabled": true,
|
| 86 |
+
"capacity": 64,
|
| 87 |
+
"overflow_ticks_frac": 0.9176136363636367,
|
| 88 |
+
"graph_vs_eager_pred_agreement": 0.027857142857142858,
|
| 89 |
+
"graph_capture_ms": 236.41490936279297,
|
| 90 |
+
"graphed_acc": 0.027142857142857142,
|
| 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": 158.45768451690674,
|
| 97 |
+
"ms_per_sample_graphed": 23.493247032165527,
|
| 98 |
+
"throughput_eager_samples_per_s": 6.310833097484171,
|
| 99 |
+
"throughput_graphed_samples_per_s": 42.56542310353527,
|
| 100 |
+
"speedup_x": 6.744818385468646,
|
| 101 |
+
"capacity": 64
|
| 102 |
+
},
|
| 103 |
+
"8": {
|
| 104 |
+
"ms_per_sample_eager": 20.538140535354614,
|
| 105 |
+
"ms_per_sample_graphed": 3.0600184202194214,
|
| 106 |
+
"throughput_eager_samples_per_s": 48.68989956897935,
|
| 107 |
+
"throughput_graphed_samples_per_s": 326.79541841721795,
|
| 108 |
+
"speedup_x": 6.711770229762835,
|
| 109 |
+
"capacity": 64
|
| 110 |
+
},
|
| 111 |
+
"32": {
|
| 112 |
+
"ms_per_sample_eager": 5.965825319290161,
|
| 113 |
+
"ms_per_sample_graphed": 0.8136455714702606,
|
| 114 |
+
"throughput_eager_samples_per_s": 167.6214013116603,
|
| 115 |
+
"throughput_graphed_samples_per_s": 1229.0363704591869,
|
| 116 |
+
"speedup_x": 7.332216297213899,
|
| 117 |
+
"capacity": 64
|
| 118 |
+
},
|
| 119 |
+
"128": {
|
| 120 |
+
"ms_per_sample_eager": 2.094973810017109,
|
| 121 |
+
"ms_per_sample_graphed": 0.24432867765426633,
|
| 122 |
+
"throughput_eager_samples_per_s": 477.3329362011611,
|
| 123 |
+
"throughput_graphed_samples_per_s": 4092.847428311445,
|
| 124 |
+
"speedup_x": 8.574408170708354,
|
| 125 |
+
"capacity": 64
|
| 126 |
+
}
|
| 127 |
+
},
|
| 128 |
+
"speedup_x_at_batch1": 6.744818385468646
|
| 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_64",
|
| 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": 64,
|
| 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.9435714285714286,
|
| 190 |
+
"best_epoch": 33,
|
| 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.625,
|
| 204 |
+
"0.5": 0.8507142857142858,
|
| 205 |
+
"0.75": 0.9192857142857143,
|
| 206 |
+
"1.0": 0.9442857142857143
|
| 207 |
+
},
|
| 208 |
+
"syn_per_inference": 3267639.6396103892,
|
| 209 |
+
"dense_per_inference": 122675200.0,
|
| 210 |
+
"event_fraction_of_dense": 0.026636513652395832,
|
| 211 |
+
"syn_per_inference_dense_fanout": 64844257.42613637,
|
| 212 |
+
"weight_sparsity": 0.7324707846410685,
|
| 213 |
+
"num_ticks": 100,
|
| 214 |
+
"dt_ms": 50.0,
|
| 215 |
+
"margin_decision_acc": 0.455,
|
| 216 |
+
"mean_decision_tick": 12.285714285714286,
|
| 217 |
+
"mean_decision_ms": 614.2857142857143,
|
| 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_64.zip",
|
| 228 |
+
"files": 81,
|
| 229 |
+
"bytes": 12252009,
|
| 230 |
+
"MB": 12.3,
|
| 231 |
+
"sha256": "d9b367329bf9c868c4bbf45a9b7816b94e154460aeb3de3c19397744097e1677"
|
| 232 |
+
}
|
| 233 |
+
}
|
applied/opt04_cudagraph_unroll/event_capacity_64.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9b367329bf9c868c4bbf45a9b7816b94e154460aeb3de3c19397744097e1677
|
| 3 |
+
size 12252009
|