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-12T06:11:15.614864+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": "ce7b70032b95506529bfc1d4c59e9b55dd7df958",43      "dirty_tree": true44    },45    "thermal_level_at_collect": null46  },47  "config": {48    "per_domain": 2,49    "max_tokens": 96,50    "window": 64,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": 26.338828755243266,61  "runs": [62    {63      "mode": "verify-all",64      "tau": 2.0,65      "window": 64,66      "tokens_per_s": 1.5931855479899018,67      "deferral_rate": 1.6887892376681615,68      "rollback_rate": 0.09596412556053811,69      "sweep_latency_s_mean": 2.9809600431238654,70      "logical_verify_bytes_per_token": 3527887815.8367715,71      "raw": {72        "tokens": 1115,73        "deferred": 1883,74        "sweeps": 113,75        "rollbacks": 107,76        "sweep_s": 336.8484848729968,77        "gen_s": 363.0072233380015,78        "logical_bytes": 393359491465879      }80    }81  ],82  "quality_8b_judge": {83    "pure_q4": {84      "mean_logprob_8b_judge": -0.7506343560914198,85      "n": 1286    },87    "verify-all_tau2.0": {88      "mean_logprob_8b_judge": -0.5144313722848892,89      "n": 1290    }91  }92}