Metal residency sets and llama.cpp Metal internals

Parent: Mac local LLMs: llama.cpp internals · Published reference · snapshot 2026-10-05

↓ Facts as markdownall context files

The cost was first measured with the `llama-idle` tool (PR 10119): sleep t, decode one token, repeat. On M2 Ultra with Llama-3.1-8B, F16 decode was 29 ms for pauses up to 1000 ms, then 227 ms at 1200 ms and 413-472 ms from 1400 ms up. Q8_0 went 19 ms to 106 ms (1200 ms) to 225-299 ms. Q4_0 went 1...

These notes link each claim to its source. A source may be a research report hosted on this site rather than the primary document. A published reference means the content is available; it does not certify independent review or accuracy.Read the editorial policy and follow the sources before relying on a claim.

Facts

Children

← the whole tree · 3D view· how to read this page