A Hacker News post introduces Gall, a custom inference engine that runs the Inkling 2 Mini model on a 24GB M2 MacBook Air. The engine loads one model at a time, saves the KV cache, and unloads the model after each response to keep RAM low.
Key facts
- Thinking Machines Lab gives 32GB as the minimum RAM requirement for Inkling 2 Mini on Mac, but with the Q3 quant I felt it must be possible to get somewhere reasonable on my 24GB M2 MacBook Air.
- Llama.cpp wasn't cutting it even with patches, so I spent this week's Fable allowance (with a sprinkling of Astra) on this custom inference engine.
- strictly one model loaded at a time, requests queued;
- KV cache gets saved and model unloaded after every response (or configurable delay), so RAM stays at 50MB between calls, but reload is fast;
- menu bar app shows status and icon changes when prefilling/generating.
Read aloud
A Hacker News post introduces Gall, a custom inference engine that runs the Inkling two Mini model on a 24GB M2 MacBook Air. The engine loads one model at a time, saves the KV cache, and unloads the model after each response to keep RAM low. Thinking Machines Lab gives 32GB as the minimum RAM requirement for Inkling two Mini on Mac, but with the Q3 quant I felt it must be possible to get somewhere reasonable on my 24GB M2 MacBook Air. Llama.cpp wasn't cutting it even with patches, so I spent this week's Fable allowance with a sprinkling of Astra on this custom inference engine. strictly one model loaded at a time, requests queued; KV cache gets saved and model unloaded after every response or configurable delay, so RAM stays at 50MB between calls, but reload is fast; menu bar app shows status and icon changes when prefilling/generating.
Sources in this cluster
Free daily email
Get AI news, checked against sources
One short email each morning with the day's model launches, price changes and research. Unsubscribe any time.
We email a confirmation link first. Pro and API plans