Localcode's 0.5.43 Release Found Inkling 2 Mini's Experts Running on the CPU: Prompts Were 5x Slower While Logs Said Fully Offloaded
Localcode, an open-source terminal coding agent for Apple Silicon Macs, hit the Hacker News front page on 23 November with the pitch “agentic coding on your Mac with one command.” The more useful detail is in its 0.5.43 changelog: when the maintainers loaded Thinking Machines’ new Inkling 2 Mini, roughly 11 GB of its weights silently stayed on the CPU while the server log reported every layer offloaded.
What was wrong
Unsloth’s quants of Inkling 2 Mini store the expert weights in NVFP4. The Metal backend in llama.cpp had no kernels for that format, so those layers fell back to the CPU. The effect, per the changelog:
- Prompt processing about 5x slower
- Token generation 1.5x to 3x slower
- A log line claiming full GPU offload
The fix is a new patch (0014) adding Metal NVFP4 kernels, tracked upstream as unslothai/llama.cpp#348. Localcode also pulls in upstream’s still-open fix #32704 so the model’s repeated layers keep their weight scales on every pass.
Memory and speed gains on top
Inkling 2 Mini runs 12 of its 24 layers three times per token, which makes its attention memory behave differently from a standard MoE of its size. Localcode’s release notes list:
- Banded attention for the model’s distance bias, borrowed from Unsloth’s llama.cpp work, cutting GPU working memory at 128K context from 13.1 GB to 6.2 GB
- Prompt reading 20 to 30% faster
- A fused SiTU op that removes 384 graph operations per step
- A 16-bit KV cache for Inkling 2 only (every other model defaults to 8-bit), which reads long prompts 1.4x to 1.8x faster and needs 3.3 GB less memory at 128K
Inkling 2 Mini ships in the picker from 7.8 GB (smallest quant) to 22.9 GB (Q8). The UD-Q4_K_XL build is 17.6 GB, aimed at 32 GB Macs and up. It is opt-in and never recommended automatically.
The catalogue
The README lists 12 models and 169 quant options. Smallest-to-largest download sizes include:
| Model | Smallest | Largest |
|---|---|---|
| Gemma 4 12B | 4.7 GB | 24.3 GB |
| Qwen 3.8 27B | 6.2 GB | 54.7 GB |
| Inkling 2 Mini 26B-A5B | 7.8 GB | 22.9 GB |
| Qwen 3.6 35B-A3B | 10.5 GB | 69.8 GB |
| Kolibri 1 78B-A3B | 28.6 GB | 83.1 GB |
| DeepSeek V4 Flash 284B-A13B | 82.4 GB | 161.9 GB |
The minimum hardware is 16 GB of unified memory on macOS 13 or newer. The picker recommends the most capable model that fits the machine’s memory and marks it with a star.
Agent-specific tuning
The project is a fork of the OpenCode interface (rebased onto upstream from 15 November, about 2,200 commits newer) with cloud features removed. Inference is local; the network is used only for model downloads, the web search and fetch tools, and any MCP servers the user adds. Other changes aimed at coding loops:
- Copy drafting: when a model rewrites a file it has already read, it copies rather than generates, which the maintainers put at 3.5x to 4x faster on rewrites
- Speculative drafting with each vendor’s own drafter for Gemma 4, Qwen 3.6, Qwen 3.8 and Muse Glimmer, about 2x faster replies
- Hidden thinking off by default, with recovery for models that get stuck in it
- Stuck detection that nudges, then halts, a model making no progress or failing the same check repeatedly
Why it matters
The speed figures are the maintainers’ own and no independent benchmark accompanies them. The bug story is the stronger signal: a model that reports a clean full offload while running a fifth as fast on prompts is the kind of failure that makes a good small model look bad in casual testing. Artificial Analysis scored Inkling 2 Mini at 20 on its Intelligence Index and put it on the Pareto frontier for size, so local runtimes are now where its real-world reputation gets decided. The project is at v0.5.43 with 78 GitHub stars and an Apache 2.0 licence.