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

update APPLIED run index

Browse files
applied/_index/APPLIED_RUNS_INDEX.json CHANGED
@@ -2654,5 +2654,198 @@
2654
  "MB": 12.2,
2655
  "sha256": "6cdb33c67b4c87ce6cb384cb3728a02b828738c952c7367ba2e2fbf552054529"
2656
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2657
  }
2658
  ]
 
2654
  "MB": 12.2,
2655
  "sha256": "6cdb33c67b4c87ce6cb384cb3728a02b828738c952c7367ba2e2fbf552054529"
2656
  }
2657
+ },
2658
+ {
2659
+ "key": "opt08_mint_quant/default",
2660
+ "tag": "default",
2661
+ "script": "opt08_mint_quant.py",
2662
+ "hf_folder": "applied/opt08_mint_quant",
2663
+ "phase": 2,
2664
+ "status": "ok",
2665
+ "duration_s": 325.4,
2666
+ "optimization_summary": {
2667
+ "optimization": "mint_quant",
2668
+ "research_section": "4. Membrane-Potential Memory-Wall Optimizations (multiplier-less integer quantization)",
2669
+ "reference": "Yin et al., MINT: Multiplier-less INTeger Quantization for Energy Efficient Spiking Neural Networks, arXiv:2305.09850 (ASP-DAC 2024)",
2670
+ "script": "opt08_mint_quant.py",
2671
+ "baseline_mode": false,
2672
+ "method": "harmonic_matched",
2673
+ "accuracy": {
2674
+ "test_acc": 0.24714285714285714,
2675
+ "test_target_acc": 0.24714285714285714,
2676
+ "best_val_acc": 0.5085714285714286
2677
+ },
2678
+ "efficiency": {
2679
+ "spikes_per_inference": null,
2680
+ "syn_ops_per_inference": 850625.0412946428,
2681
+ "dense_macs_per_inference": 122675200.0,
2682
+ "event_fraction_of_dense": 0.006933960908925707,
2683
+ "syn_ops_per_inference_dense_fanout": 63614042.63717532,
2684
+ "weight_sparsity": 0.9790471097662772,
2685
+ "effective_ticks": 39.044285714285714,
2686
+ "num_ticks": 100,
2687
+ "membrane_bytes_per_inference": 0,
2688
+ "weight_bytes": 613376,
2689
+ "input_raster_bytes": null,
2690
+ "train_ms_per_step": 89.64440669997202,
2691
+ "infer_ms_per_sample": 0.6133386103124394,
2692
+ "peak_vram_mb": 2834.896384
2693
+ },
2694
+ "optimization_specific": {
2695
+ "w_bits": 4,
2696
+ "u_bits": 2,
2697
+ "leak_shift": 0,
2698
+ "beta_eff": 1.0,
2699
+ "qat": true,
2700
+ "batchnorm": true,
2701
+ "membrane_memory_reduction_x": 16.0,
2702
+ "weight_memory_reduction_x": 8.0,
2703
+ "membrane_bytes_per_inference": 28200.0,
2704
+ "working_set_bytes": 613658.0,
2705
+ "baseline_working_set_bytes": 4911520.0,
2706
+ "l2_cache_fits": true,
2707
+ "baseline_l2_cache_fits": false,
2708
+ "l2_budget_bytes": 2097152,
2709
+ "membrane_saturation_frac": 0.019412504155585104,
2710
+ "acc_vs_ubits": {
2711
+ "2": 0.24714285714285714,
2712
+ "4": 0.22214285714285714,
2713
+ "8": 0.23285714285714285,
2714
+ "0": 0.18928571428571428
2715
+ },
2716
+ "bits_sweep_rows": [
2717
+ {
2718
+ "u_bits": 2,
2719
+ "acc": 0.24714285714285714,
2720
+ "target_acc": 0.24714285714285714,
2721
+ "membrane_bytes_per_neuron_per_tick": 0.25,
2722
+ "membrane_memory_reduction_x": 16.0,
2723
+ "membrane_saturation_frac": 0.017122742132092198,
2724
+ "acc_drop_vs_fp32": -0.05785714285714286
2725
+ },
2726
+ {
2727
+ "u_bits": 4,
2728
+ "acc": 0.22214285714285714,
2729
+ "target_acc": 0.22214285714285714,
2730
+ "membrane_bytes_per_neuron_per_tick": 0.5,
2731
+ "membrane_memory_reduction_x": 8.0,
2732
+ "membrane_saturation_frac": 0.16233945589539006,
2733
+ "acc_drop_vs_fp32": -0.03285714285714286
2734
+ },
2735
+ {
2736
+ "u_bits": 8,
2737
+ "acc": 0.23285714285714285,
2738
+ "target_acc": 0.23285714285714285,
2739
+ "membrane_bytes_per_neuron_per_tick": 1.0,
2740
+ "membrane_memory_reduction_x": 4.0,
2741
+ "membrane_saturation_frac": 0.36418647495567374,
2742
+ "acc_drop_vs_fp32": -0.043571428571428567
2743
+ },
2744
+ {
2745
+ "u_bits": 0,
2746
+ "acc": 0.18928571428571428,
2747
+ "target_acc": 0.18928571428571428,
2748
+ "membrane_bytes_per_neuron_per_tick": 4.0,
2749
+ "membrane_memory_reduction_x": 1.0,
2750
+ "membrane_saturation_frac": null,
2751
+ "acc_drop_vs_fp32": 0.0
2752
+ }
2753
+ ],
2754
+ "fp32_membrane_acc": 0.18928571428571428,
2755
+ "per_layer_scales": [
2756
+ {
2757
+ "layer": 0,
2758
+ "weight_scale": 0.026102902633803233,
2759
+ "membrane_scale": 1.0,
2760
+ "shared_scale_gauge_factor": 38.30991572197802
2761
+ },
2762
+ {
2763
+ "layer": 1,
2764
+ "weight_scale": 0.02913376901830946,
2765
+ "membrane_scale": 1.0,
2766
+ "shared_scale_gauge_factor": 34.324429474660086
2767
+ },
2768
+ {
2769
+ "layer": 2,
2770
+ "weight_scale": 0.028474173375538418,
2771
+ "membrane_scale": 1.0,
2772
+ "shared_scale_gauge_factor": 35.11954453642119
2773
+ },
2774
+ {
2775
+ "layer": 3,
2776
+ "weight_scale": 0.0215481093951634,
2777
+ "membrane_scale": 1.0,
2778
+ "shared_scale_gauge_factor": 46.40778370210316
2779
+ }
2780
+ ],
2781
+ "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",
2782
+ "multiplier_less_compare": true,
2783
+ "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"
2784
+ },
2785
+ "config": {
2786
+ "method": "harmonic_matched",
2787
+ "data_root": "/kaggle/working/data",
2788
+ "subjects": "",
2789
+ "blocks": "",
2790
+ "limit": 0,
2791
+ "drop_rest": true,
2792
+ "resplit": "block",
2793
+ "test_blocks": "6",
2794
+ "class_weight": false,
2795
+ "epochs": 60,
2796
+ "batch_size": 64,
2797
+ "lr": 0.002,
2798
+ "weight_decay": 0.0005,
2799
+ "grad_clip": 5.0,
2800
+ "num_bins": 100,
2801
+ "window_sec": 5.0,
2802
+ "hidden": "512,256",
2803
+ "freq_groups": 8,
2804
+ "dropout": 0.3,
2805
+ "spike_drop": 0.1,
2806
+ "time_jitter": 2,
2807
+ "label_smoothing": 0.05,
2808
+ "no_batchnorm": false,
2809
+ "binary_input": false,
2810
+ "beta": 1.0,
2811
+ "thresh": 1.0,
2812
+ "window": 0.5,
2813
+ "gain": 1.0,
2814
+ "alpha": 0.9,
2815
+ "readout": "spikecount",
2816
+ "fake_quant": 0,
2817
+ "amp": false,
2818
+ "spike_reg": 0.0,
2819
+ "event_eval": true,
2820
+ "decision_margin": 2.0,
2821
+ "export": false,
2822
+ "seed": 1234,
2823
+ "hub_dir": "/kaggle/working/hub/opt08_mint_quant/default",
2824
+ "repo_id": "UWU-R-13/SSVEP-SNN",
2825
+ "push_hf": false,
2826
+ "keep_epoch_weights": 1,
2827
+ "no_resume": true,
2828
+ "selftest": false,
2829
+ "baseline": false,
2830
+ "bench": true,
2831
+ "bench_warmup": 10,
2832
+ "bench_iters": 50,
2833
+ "bench_train_steps": 20,
2834
+ "w_bits": 4,
2835
+ "u_bits": 2,
2836
+ "leak_shift": 0,
2837
+ "qat": true,
2838
+ "bits_sweep": "2,4,8,0",
2839
+ "l2_bytes": 2097152,
2840
+ "sampling_rate": 250.0
2841
+ }
2842
+ },
2843
+ "zip": {
2844
+ "name": "default.zip",
2845
+ "files": 81,
2846
+ "bytes": 12351757,
2847
+ "MB": 12.4,
2848
+ "sha256": "c2ec90c788101866da3bd41fbc98fc8613354d1e1195170654ec755e22af7703"
2849
+ }
2850
  }
2851
  ]