SPB Git

spb/localvm-research Public License

Running LLMs larger than memory on a consumer Mac — falsification-driven research: margin-gated deferred refinement, out-of-core verification on Apple Silicon. TR-01 published.

Python 63.2% JavaScript 23.5% CSS 11.8% Shell 0.9% Makefile 0.5%
2.2 KB · 92 lines json
Raw Blame History
1{2  "experiment": "candidate_01_scale32b",3  "author": "Simon-Pierre Boucher",4  "contact": "contact@spboucher.ai",5  "manifest": {6    "author": "Simon-Pierre Boucher",7    "contact": "contact@spboucher.ai",8    "project": "localvm-research",9    "collected_utc": "2026-08-12T05:30:42.799916+00:00",10    "chip": {11      "brand": "Apple M5 Max",12      "arch": "arm64",13      "cores_total": 18,14      "cores_performance": 6,15      "cores_efficiency": 12,16      "gpu_cores": 4017    },18    "memory": {19      "unified_bytes": 51539607552,20      "unified_gb": 48.0,21      "pagesize": 1638422    },23    "ssd": {24      "model": "APPLE SSD AP2048Z",25      "size": "2 TB",26      "smart_status": "Verified"27    },28    "os": {29      "product": "macOS",30      "version": "27.0",31      "build": "26A5388g",32      "kernel": "27.0.0"33    },34    "software": {35      "python": "3.14.4",36      "mlx": "0.32.0",37      "mlx_lm": "0.31.3",38      "torch": null,39      "numpy": "2.5.2"40    },41    "git": {42      "commit": "30886de9b97d55c430a638480f14d16f4ba97d44",43      "dirty_tree": false44    },45    "thermal_level_at_collect": null46  },47  "config": {48    "per_domain": 1,49    "max_tokens": 32,50    "window": 32,51    "taus": "2.0",52    "modes": "verify-all"53  },54  "models": {55    "base": "mlx-community/Qwen3-32B-4bit",56    "verify": "mlx-community/Qwen3-32B-8bit",57    "judge": "mlx-community/Qwen3-8B-bf16"58  },59  "q8_streamed_bytes": 34810574466,60  "baseline_pure_q4_tokens_per_s": 23.983917284463768,61  "runs": [62    {63      "mode": "verify-all",64      "tau": 2.0,65      "window": 32,66      "tokens_per_s": 2.4801166056852075,67      "deferral_rate": 0.2760416666666667,68      "rollback_rate": 0.046875,69      "sweep_latency_s_mean": 3.026262025066535,70      "logical_verify_bytes_per_token": 2719576130.15625,71      "raw": {72        "tokens": 192,73        "deferred": 53,74        "sweeps": 15,75        "rollbacks": 9,76        "sweep_s": 45.393930375998025,77        "gen_s": 32.02178449800249,78        "logical_bytes": 52215861699079      }80    }81  ],82  "quality_8b_judge": {83    "pure_q4": {84      "mean_logprob_8b_judge": -0.3015170494715373,85      "n": 686    },87    "verify-all_tau2.0": {88      "mean_logprob_8b_judge": -0.2445124089717865,89      "n": 690    }91  }92}