SSVEN_pasqwerty / applied /opt08_mint_quant /u_bits_0.summary.json
p-j-r-1-2-3's picture
add run u_bits_0
14f260a verified
Raw
History Blame Contribute Delete
8.44 kB
Invalid JSON:Unexpected token 'N', ..."_recall": NaN, ""... is not valid JSON
{
"key": "opt08_mint_quant/u_bits_0",
"tag": "u_bits_0",
"script": "opt08_mint_quant.py",
"script_sha256_16": "dd139bbe634ea732",
"hf_folder": "applied/opt08_mint_quant",
"priority": 1,
"note": "fp32 membrane, quantized weights only",
"phase": 5,
"n_phases": 10,
"method": "harmonic_matched",
"command": [
"/usr/bin/python3",
"-m",
"torch.distributed.run",
"--standalone",
"--nproc_per_node=2",
"/kaggle/working/scripts/opt08_mint_quant.py",
"--method",
"harmonic_matched",
"--data-root",
"/kaggle/working/data",
"--epochs",
"60",
"--seed",
"1234",
"--batch-size",
"64",
"--event-eval",
"--no-resume",
"--decision-margin",
"2.0",
"--hub-dir",
"/kaggle/working/hub/opt08_mint_quant/u_bits_0",
"--keep-epoch-weights",
"1",
"--resplit",
"block",
"--drop-rest",
"--bench",
"--u-bits",
"0"
],
"flags": [
"--u-bits",
"0"
],
"epochs_requested": 60,
"gpus": 2,
"relative_epoch_cost": 1.0,
"exit_code": 0,
"status": "ok",
"duration_s": 341.5,
"started_utc": "2026-08-23T03:30:18.815745+00:00",
"finished_utc": "2026-08-23T03:36:00.363150+00:00",
"optimization_summary": {
"optimization": "mint_quant",
"research_section": "4. Membrane-Potential Memory-Wall Optimizations (multiplier-less integer quantization)",
"reference": "Yin et al., MINT: Multiplier-less INTeger Quantization for Energy Efficient Spiking Neural Networks, arXiv:2305.09850 (ASP-DAC 2024)",
"script": "opt08_mint_quant.py",
"baseline_mode": false,
"method": "harmonic_matched",
"accuracy": {
"test_acc": 0.9407142857142857,
"test_target_acc": 0.9407142857142857,
"best_val_acc": 0.9421428571428572
},
"efficiency": {
"spikes_per_inference": null,
"syn_ops_per_inference": 2152696.525466721,
"dense_macs_per_inference": 122675200.0,
"event_fraction_of_dense": 0.0175479357316452,
"syn_ops_per_inference_dense_fanout": 64922516.865259744,
"weight_sparsity": 0.8335865765859767,
"effective_ticks": 12.575,
"num_ticks": 100,
"membrane_bytes_per_inference": 451200,
"weight_bytes": 613376,
"input_raster_bytes": null,
"train_ms_per_step": 99.00966735000338,
"infer_ms_per_sample": 0.6622065121874954,
"peak_vram_mb": 2833.092608
},
"optimization_specific": {
"w_bits": 4,
"u_bits": 0,
"leak_shift": 0,
"beta_eff": 1.0,
"qat": true,
"batchnorm": true,
"membrane_memory_reduction_x": 1.0,
"weight_memory_reduction_x": 8.0,
"membrane_bytes_per_inference": 451200.0,
"working_set_bytes": 617888.0,
"baseline_working_set_bytes": 4911520.0,
"l2_cache_fits": true,
"baseline_l2_cache_fits": false,
"l2_budget_bytes": 2097152,
"membrane_saturation_frac": null,
"acc_vs_ubits": {
"2": 0.8964285714285715,
"4": 0.9521428571428572,
"8": 0.9521428571428572,
"0": 0.9407142857142857
},
"bits_sweep_rows": [
{
"u_bits": 2,
"acc": 0.8964285714285715,
"target_acc": 0.8964285714285715,
"membrane_bytes_per_neuron_per_tick": 0.25,
"membrane_memory_reduction_x": 16.0,
"membrane_saturation_frac": 0.09132064494680851,
"acc_drop_vs_fp32": 0.04428571428571426
},
{
"u_bits": 4,
"acc": 0.9521428571428572,
"target_acc": 0.9521428571428572,
"membrane_bytes_per_neuron_per_tick": 0.5,
"membrane_memory_reduction_x": 8.0,
"membrane_saturation_frac": 0.2783921348625886,
"acc_drop_vs_fp32": -0.011428571428571455
},
{
"u_bits": 8,
"acc": 0.9521428571428572,
"target_acc": 0.9521428571428572,
"membrane_bytes_per_neuron_per_tick": 1.0,
"membrane_memory_reduction_x": 4.0,
"membrane_saturation_frac": 0.32464220412234046,
"acc_drop_vs_fp32": -0.011428571428571455
},
{
"u_bits": 0,
"acc": 0.9407142857142857,
"target_acc": 0.9407142857142857,
"membrane_bytes_per_neuron_per_tick": 4.0,
"membrane_memory_reduction_x": 1.0,
"membrane_saturation_frac": null,
"acc_drop_vs_fp32": 0.0
}
],
"fp32_membrane_acc": 0.9407142857142857,
"per_layer_scales": [
{
"layer": 0,
"weight_scale": 0.034521830933434625,
"membrane_scale": 1.0,
"shared_scale_gauge_factor": 28.967177376200326
},
{
"layer": 1,
"weight_scale": 0.02071961760520935,
"membrane_scale": 1.0,
"shared_scale_gauge_factor": 48.263438981063956
},
{
"layer": 2,
"weight_scale": 0.013957016170024872,
"membrane_scale": 1.0,
"shared_scale_gauge_factor": 71.64855208433981
},
{
"layer": 3,
"weight_scale": 0.0242827194077628,
"membrane_scale": 1.0,
"shared_scale_gauge_factor": 41.18154903524997
}
],
"shared_scale_note": "weight grid and membrane grid are the same grid up to a per-layer positive scalar that BatchNorm absorbs exactly; exact only with --batchnorm on",
"multiplier_less_compare": false,
"wall_clock_caveat": "this reference kernel computes in fp32 registers, so the traffic win does not appear in train_ms_per_step; a fixed-point core is where it becomes energy"
},
"config": {
"method": "harmonic_matched",
"data_root": "/kaggle/working/data",
"subjects": "",
"blocks": "",
"limit": 0,
"drop_rest": true,
"resplit": "block",
"test_blocks": "6",
"class_weight": false,
"epochs": 60,
"batch_size": 64,
"lr": 0.002,
"weight_decay": 0.0005,
"grad_clip": 5.0,
"num_bins": 100,
"window_sec": 5.0,
"hidden": "512,256",
"freq_groups": 8,
"dropout": 0.3,
"spike_drop": 0.1,
"time_jitter": 2,
"label_smoothing": 0.05,
"no_batchnorm": false,
"binary_input": false,
"beta": 1.0,
"thresh": 1.0,
"window": 0.5,
"gain": 1.0,
"alpha": 0.9,
"readout": "spikecount",
"fake_quant": 0,
"amp": false,
"spike_reg": 0.0,
"event_eval": true,
"decision_margin": 2.0,
"export": false,
"seed": 1234,
"hub_dir": "/kaggle/working/hub/opt08_mint_quant/u_bits_0",
"repo_id": "UWU-R-13/SSVEP-SNN",
"push_hf": false,
"keep_epoch_weights": 1,
"no_resume": true,
"selftest": false,
"baseline": false,
"bench": true,
"bench_warmup": 10,
"bench_iters": 50,
"bench_train_steps": 20,
"w_bits": 4,
"u_bits": 0,
"leak_shift": 0,
"qat": true,
"bits_sweep": "2,4,8,0",
"l2_bytes": 2097152,
"sampling_rate": 250.0
}
},
"final_summary": {
"final_test_acc": 0.9407142857142857,
"final_test_target_acc": 0.9407142857142857,
"final_test_rest_recall": NaN,
"best_acc": 0.9421428571428572,
"best_epoch": 55,
"resplit": "block",
"class_weight": false,
"drop_rest": true,
"epochs": 60,
"method": "harmonic_matched",
"n_in": 2880,
"n_classes": 40,
"num_bins": 100
},
"event_driven_summary": {
"acc": 0.9407142857142857,
"anytime_acc": {
"0.25": 0.6157142857142858,
"0.5": 0.8407142857142857,
"0.75": 0.9092857142857143,
"1.0": 0.9407142857142857
},
"syn_per_inference": 2152696.525466721,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.0175479357316452,
"syn_per_inference_dense_fanout": 64922516.865259744,
"weight_sparsity": 0.8335865765859767,
"num_ticks": 100,
"dt_ms": 50.0,
"margin_decision_acc": 0.4421428571428571,
"mean_decision_tick": 12.575,
"mean_decision_ms": 628.75,
"dense_forward_test_acc": 0.9407142857142857
},
"extra_sweep_file_present": true,
"selftest": {
"mode": "gate",
"passed": true
},
"driver_version": 1,
"zip": {
"name": "u_bits_0.zip",
"files": 81,
"bytes": 12238321,
"MB": 12.2,
"sha256": "de8d0ec3134b59a7b9e26917542d60cf181033520d851a5638465f805487afa4"
}
}