No retraining needed: +17pp accuracy on LiquidAI d1-2B with one forward pass on M5 Max
JosephJacks_ · x · 2026-11-30
The author pushed LiquidAI's d1-2B to its limits on a single Apple M5 Max: the model emits calibrated probabilities for 10 typed outputs (choice, score, box, spans, etc.) in one forward pass with no output tokens, at 12.5ms. Error analysis yielded four no-retraining fixes totaling +17pp accuracy and 3.75x batch speed, plus teaching it brand-new visual objects locally in 5–19 seconds:
- Second-opinion Yes/No check: when multiple-choice confidence is under 85%, run 4 quick Yes/No checks on the top-4 candidates in one packed pass (+2.14pp)
- Dual JSON + readable format: show structured states in both raw JSON and labeled sections, then average binary probabilities (+2.68pp)
- Smart number parser: a smarter fallback parser recovers mixed currency formats from exact spans like "$48,000 USD" (100% on numbers)
- Out-of-sample calibration: fit a lightweight bias & slope fix on 300 training rows, zero test leakage (+8.6pp)
Zero weight changes; works on both mlx-vlm (8-bit) and PyTorch MPS, with QLoRA covered later in the thread.
More from Infra
- Tandem-vLLM 0.3.1 runs DeepSeek-V4.1-Flash native FP4 on 2x RTX PRO 6000 at 103 tok/s — smflx · 2026-11-30
- BigMoeOnEdge beats Strata: Qwen 3.8 Flash-Next on a 16 GB MacBook at 15 tok/s — dai_app · 2026-11-30
- DeepSeek V4.1 gets full EXL3 quantization builds for mlx-serve, targeting Apple Silicon — HankYeomans · 2026-11-30
- "Free Silicon for All": Engineer's Dream of GDS Files Traveling Freely Across Foundries — zzznah · 2026-11-30
- LithoWar: ASML's moat is install-base machine data, AI won't break it soon — bookwormengr · 2026-11-30
- 8x Radeon R9700 runs DeepSeek-V4.1-Flash MXFP4 locally with 22k tok/s prefill at 131k context — mikoskinen · 2026-11-30