Findings · · Ours
A layout that loads within 0.4 GB of the card's limit dies on its first request
Loading without an error does not show that a configuration works. Instantiating the CUDA graph on the first request needs memory on top of the buffers llama.cpp prints at load.
Measured here at 128k context on Inkling-2-Mini: four layouts that loaded at 11.86–11.9 GB failed their first request with a cudaGraphInstantiate out-of-memory error. Layouts that loaded at 11.35 GB or less ran a 104k or 124k-token prompt and found 3 of 3 needles. Stock master at 64k behaves the same way: it loads at 11.9 GB and fails on the first request.
Treat a load-time table as an upper bound. Count a configuration as working only after a real request near the full window, and leave about 0.4 GB of the card free after load.
| Provenance | Ours. Measured here across several builds, including two unmerged upstream PRs by other authors. |
|---|---|
| Builds on | llama.cpp |
| Applies to | Any llama.cpp CUDA setup that fills the card; the exact margin will differ by model and build. |
| Recipes | inkling-2-mini |
| Evidence | inkling-2-mini/RESULTS.md:27inkling-2-mini/RESULTS.md:158-169inkling-2-mini/RESULTS.md:39 |