# Inkling 2 Mini: 92.6 tok/s, 448k Live, 3.12M Warm on an RTX 3090 Ti

*Hardware: 1x RTX 3090 Ti 24 GB. This file is the text companion of `inkling-hive-complete.html`; every number is rendered from the provenance table at the end.*

**Inspired by [Eris's WHT-KV4 codec work](https://eriskii.net/research/inkling-ikv) to squeeze more juice out of Inkling 2 Mini, I spent some time on a CUDA approach for my single RTX 3090 Ti, and ended up with large gains in llama.cpp that were too good not to share:**

**Faster decode on the same card.** Fused CUDA kernels and re-quantized weights take single-stream decode from 56.5 t/s on stock `llama.cpp` to 92.58 t/s. At 124,742 of context on the shipped GGUF, a later attention-kernel patch takes single-stream decode from 31.61 t/s (stock `fattn-vec`, otherwise the same patched build) to 64.00 t/s, and one stream still decodes at 43.87 t/s with 416,582 of context held entirely on the GPU.

**More live context on the GPU.** Four streams fit 448k live tokens entirely on the card at 65.91 t/s when 90% full, or 524k offloaded at 1,100.02 tok/s prefill.

**Warm sessions park off the card and jump back in milliseconds.** Restores, whole-slot hot-swaps and pre-encoded KV infill all run under a second:

- 69.8 ms for a 128k pinned slot hot-swap
- 21.62 ms for a 32k session from DRAM
- 67.79 ms for a 100k session from DRAM
- 173.47 ms for a 241k session from DRAM
- 701.63 ms for a 100k session from NVMe
- 205.35 ms to inject a 100k pre-encoded document from DRAM

**Warm capacity grows in proportion to storage.** Every GiB of NVMe holds 127,100 warm tokens, and the measured pool held 3,121,472 synthetic tokens under the host RAM cap.

Below is the data I gathered with the assistance of Claude Opus 5.5 and Gemini 4 Neon. I have also made my implementation, [construct-llama-hive](https://github.com/godspede/construct-llama-hive), open source, so that you can check it yourself.

Three kinds of evidence sit behind this report, and the sections below keep them apart. The decode-kernel, re-quantization, live-context, hot-swap, session-restore and multi-agent figures are measured on the live GPU engine. The [WHT-KV4](https://eriskii.net/research/inkling-ikv) codec numbers are measured clean-room in CUDA on captured activations from one prompt, and the 3,121,472-token warm pool is a host-side storage test on synthetic pages of WHT-KV4 size (8,194 MiB process memory against the 12,288 MiB cap).

All GPU runs were budgeted so the desktop stays usable: the verifier fails any run that exceeds 22,500 MiB of VRAM or leaves less than 2,048 MiB free, and the 524k session-restore run left 2,458 MiB free at its tightest. WHT-KV4 is not yet wired into live attention, which still stores global KV in Q4_0 and the sliding window in FP16.

Code and result files: https://github.com/godspede/construct-llama-hive

## Figures, described in text: The evidence

The HTML version of this paper has three interactive figures here. They are described below in words, and their measured content is in the tables of the sections that follow.

**Figure 1, codec head to head.** A table of the five measured codec variants (bytes per vector, KiB per token, output-logit KL) beside an illustrative chart. The chart builds a synthetic 128-dimension vector with a few outlier dimensions in the browser and shows what a 4-bit quantizer sees before and after the Rademacher-signed Walsh-Hadamard rotation, and the reconstruction error per dimension. The chart is illustrative and uses a uniform 4-bit quantizer; only the table is measured.

**Figure 2, the memory hierarchy.** Left: measured time to restore a parked session to the GPU from pageable DRAM (21.62 ms, 67.79 ms and 173.47 ms at 32k, 100k and 241k tokens) and from an NVMe cartridge (701.63 ms at 100k), on a log time axis, beside a derived cold re-prefill time. Right: the page store, 762,496 tokens of pages in DRAM and 2,358,976 on NVMe, with process RSS 8,194 MiB against a 12,288 MiB cap.

**Figure 3, decode speed across the context envelope.** The patched engine against stock `llama.cpp` in two views. All-GPU (`cold=0`): 4k at B=1, 1x128k at 50% and 96.7% fill, and 448k (four 112k streams) at 50% and 90% fill. The 1x128k bars are the earlier build on the re-quantized GGUF; the later fattn-vec results are in the long-context table, not in this figure. Offloaded: four streams from 262k to 786k, with `cold=N` MoE layers on the CPU. Every bar is a measured entry listed in the decode-speed and context sections.

## Every optimization at a glance

Each row is one family of optimization, ordered from the GPU silicon outward to host DRAM, NVMe, and multi-agent scheduling. The sections below give each one in full. The configurations differ: some numbers come from a 448k context held entirely on the GPU, some from a 524k–786k context with mixture-of-experts layers offloaded to the CPU, and some from a component measured alone. The last column says which.

**Headline measurement per family.** Every value is a measured result from the run named. Rows are not additive: each was measured in its own configuration.

| Family | Headline measurement | Configuration |
| --- | --- | --- |
| Decode kernels and re-quantization | 4k decode at B=1: 92.58 t/s, against 56.5 t/s on stock `llama.cpp` | All-GPU, 4k context, one stream. |
| Long-context decode | B=1 decode at 124,742 of context: 64.00 t/s against 31.61 t/s with stock `fattn-vec` in the same patched build (patch 0005), output identical to that build with stock attention on the short-context parity set. At 416,582, the largest single-stream context that fits on the GPU: 43.87 t/s against 13.25 t/s. | Shipped GGUF, all-GPU, one stream, exact AttnRes mode. |
| All-GPU context | 448k at 90% full: 65.91 t/s summed over four streams, peak 22,687 MiB | 448k all-GPU, `cold=0`, re-quantized GGUF. |
| Offloaded context | 524k: prefill 1,100.02 tok/s and decode 36.4 tok/s with four Q8_0 layers on the CPU | 524k offloaded, shallow fill, one stream (Phase-3). |
| Live KV precision | Logit KL 4.49e-03 with the sliding-window cache in FP16, against 1.53e-02 with all Q4_0 | Running bit-exact engine, fixed prompt set. Measured alone. |
| KV compression | WHT-KV4 logit KL 0.001543 against 0.010482 for Q4_0, at 8.25 KiB/tok | Captured activations, one prompt. Measured alone (M10). |
| Session restore | 100k tokens from DRAM in 67.79 ms, against 701.63 ms from NVMe | 524k offloaded engine (M9), Q4_0 cartridges. |
| Pinned hot-swap | A whole 128k slot set back onto the GPU in 69.8 ms | One populated slot, hot-swap tool. Measured alone. |
| Warm pool and NVMe tiering | 3,121,472 tokens of pages at 8,194 MiB process memory | Synthetic pages, host only. Measured alone (M10). |
| Scheduler and tool-yield | A tool-calling session yields its GPU cells in 25.93 ms and swaps back from DRAM in 6.84 ms | Scheduler run (M12). Measured alone. |
| KV infill | 100,130 pre-encoded tokens injected from DRAM in 205.35 ms, against 350.9 s to prefill them | Infill run (M14). Measured alone. |
| Systems traps | Page eviction from 84,836.4 ms to 10.71 ms | Before-and-after pairs, one per trap. |

> **Measured alone, not end to end**
>
> These optimizations were measured one at a time, each in the configuration its row names. No run combines all of them, and nothing in this paper is an end-to-end result for the whole stack.

## Model, hardware, and methods

Inkling 2 Mini has two structural features that shape every number in this report. First, it runs its core layers (layers 6 to 17) three times per token and mixes in earlier block outputs (AttnRes) at every step, so naive execution emits a long chain of small GPU kernels. Second, it keeps two kinds of attention cache: 8 global full-attention passes with no rotary position encoding (NoPE), whose cache grows with every token and dominates VRAM at long context, and 40 sliding-window passes of 1,024 tokens, whose cache is fixed in size. This paper measures how far one 24 GB RTX 3090 Ti can be pushed across four layers of the stack — faster GPU decode kernels and smaller weights, larger live context (all-GPU and offloaded), compressed warm-session parking in DRAM and NVMe, and multi-agent KV sharing — while keeping the desktop usable (VRAM under 22,500 MiB with at least 2,048 MiB free, and host pool memory under 12,288 MiB).

The model is Inkling 2 Mini, published by the `thinkingmachines` organization on Hugging Face ([model card](https://huggingface.co/thinkingmachines/Inkling-2-Mini), licence Apache-2.0 as stated on that card). The GGUF file is `Inkling-2-Mini-IQ4_NL` from [ggml-org/Inkling-2-Mini-GGUF](https://huggingface.co/ggml-org/Inkling-2-Mini-GGUF), run on [llama.cpp](https://github.com/ggml-org/llama.cpp) (MIT) with this repository's patches.

The table below lists every measurement family in this report, its input, and how many runs sit behind it.

**Methods: scope of each result.** What ran, on what input, and how many times.

| Result | Input | Evidence | Run |
| --- | --- | --- | --- |
| Decode kernels patched against stock | 4k context, B=1, B=4 and B=8 | Measured on GPU. Logit KL and greedy-token match over a fixed prompt set, against stock FP16. | Engine runs |
| Long-context decode patch 0005 against stock `fattn-vec` in the same build | Saved cartridges filled to 65,760, 124,742, 241,396 and 416,582, plus four 32k slots, B=1, shipped GGUF | Measured on GPU. Logit KL against the 0004 build (stock `fattn-vec`): 0 with 160/160 tokens identical on the 10-prompt short-context set; parity at depth is described under the long-context table. | Long-context runs |
| Re-quantized GGUF | The four coda MoE layers and the output head re-quantized | Measured on GPU. The same prompt-set comparison. | Engine runs |
| All-GPU and offloaded context | Saved cartridges at 50% and 90% fill, the same cartridges for patched and stock | Measured on GPU. One serving hold per cell. | Context runs |
| Q8_0-first offload 524k and 786k | A baseline and three offload layouts; one short needle prompt, shallow fill | Measured on GPU. One run per layout. | Phase-3 |
| Codec fidelity WHT-KV4 against Q4_0 | Real model activations, 2,048 captured tokens of one prompt | Measured on GPU. One prompt, one next-token comparison per variant. | M10 |
| Session restore to GPU DRAM and NVMe | Real sessions of 32,417, 100,056 and 241,483 tokens, Q4_0 cartridges | Measured on GPU. One timing per size; 3/3 continuations exact. | M9 (the session-restore run) |
| Page store capacity 3,121,472 tokens | Synthetic content-hashed pages in WHT-KV4 size, not prefilled model cache | Measured on the host: memory, dedup and read-back. No GPU restore. | M10 |
| Page scan WHT-2bit sketches | Generated page sketches with a planted needle page | Measured on GPU. Three needle depths per size. | M10 |
| Hot-swap, scheduler, board and infill | Real populated slots and sessions | Measured on GPU. Each primitive in its own run. | Hot-swap tool, M11, M12, M4, M14 |
| Systems traps | Before-and-after pairs | Measured; one pair per trap. | Traps benchmark |

The engine results ran the patched `llama.cpp` build against the same version unpatched, on the same card and the same saved cartridges. "Bit-exact" mode is an opt-in switch that makes the AttnRes fusion reproduce stock output exactly (160/160 greedy tokens matched against stock FP16). "Fast" mode is the default, where that fusion takes a faster floating-point path; this report carries no separate fidelity figure for fast mode. A match against stock here means against stock output of the same configuration, not against stock FP16 KV unless the table says so. Every timing is a single run unless the table says otherwise.

> **Read the headline with this in mind**
>
> No run has prefilled 3,121,472 real tokens, and none has restored a WHT-KV4 session into live attention. The largest real session restored to the GPU is 241,483 tokens, in Q4_0. The 3,121,472 figure describes how much the store held and what that cost in host memory.

## Decode speed: fewer kernel launches per token

Because Inkling 2 Mini loops its core three times per token and mixes in earlier block outputs at every step, stock `llama.cpp` launched 7,319 kernels per token. On Windows the gap between kernel launches costs more than many of those kernels take to run, and stock 4k decode at B=1 was 56.5 t/s.

Three patches cut launches first to 3,265 (Arm 4) and then to 2,617 (Arm 5, -64.2%). The first keeps one captured CUDA graph per batch shape instead of recapturing whenever the batch size changes ([`patches/0001-cuda-graph-multi-shape-key.patch`](https://github.com/godspede/construct-llama-hive/blob/main/patches/0001-cuda-graph-multi-shape-key.patch)). The second adds opt-in switches that choose which matrix-vector kernel serves a given batch width ([`patches/0002-batch-kernel-parity-optin.patch`](https://github.com/godspede/construct-llama-hive/blob/main/patches/0002-batch-kernel-parity-optin.patch)). The third fuses runs of small operations into single kernels — norm and clip, AttnRes, and the short convolutions ([`patches/0003-inkling2-cuda-fusions-and-graph-opt.patch`](https://github.com/godspede/construct-llama-hive/blob/main/patches/0003-inkling2-cuda-fusions-and-graph-opt.patch)). The first fused AttnRes kernel spilled 56 B per thread to local memory; a narrower specialization spilled 0 B at 62 regs. Before that specialization, Arm 5 all-Q4_0 ran at 74.9 t/s in bit-exact mode (logit KL 0.0000 against stock Q4_0) and 85.0 t/s in fast mode. The convolution fusions are bit-exact, and with AttnRes on its bit-exact path the fused engine matched stock FP16 with logit KL 0.0000 and 160/160 greedy tokens.

**4k decode and prefill.** Engine runs. All-GPU, 4k context. B=4 and B=8 are summed over the streams. "SWA FP16" is the mixed KV setting detailed in the KV compression section.

| Configuration | Launches per token | B=1 | B=4 | B=8 | 4k prefill |
| --- | --- | --- | --- | --- | --- |
| Stock `llama.cpp`, all Q4_0 | 7,319 | 56.5 t/s | 158.7 t/s | 237.7 t/s | 1,431 t/s |
| Patched, bit-exact, all Q4_0 | 2,617 | 79.5 t/s | 189.8 t/s | 275.9 t/s | 1,832 t/s |
| Patched, bit-exact, SWA FP16 | 2,617 | 83.5 t/s (+47.7%) | 196.4 t/s | 284.2 t/s | 1,832 t/s |
| Patched, fast, SWA FP16 | 2,617 | 91.2 t/s (+61.4%) | 203.4 t/s | 299.2 t/s | 1,832 t/s (+28.1%) |
| Patched, fast, SWA FP16, re-quantized GGUF | 2,617 | 92.58 t/s (+63.8%) | 210.5 t/s | 313.7 t/s | not measured at 4k |

With the whole cache in FP16, fast mode reached 93.4 t/s at B=1. In bit-exact mode the re-quantized GGUF ran at 86.80 t/s at B=1 and 298.4 t/s at B=8. Prefill at 4k went from 2.86 s to 2.24 s.

## Re-quantizing the parts the GGUF left at Q8_0

The published `Inkling-2-Mini-IQ4_NL` file stores most mixture-of-experts layers in IQ4_NL but leaves the four coda layers and the output head in Q8_0. A coda layer in Q8_0 takes 1,032.8 MiB of VRAM, against 546.8 MiB for a layer in IQ4_NL. A streaming re-quantizer ([`src/hive_engine/gguf_stream_requant_multi.cpp`](https://github.com/godspede/construct-llama-hive/blob/main/src/hive_engine/gguf_stream_requant_multi.cpp), with the single-tensor version in [`src/hive_engine/gguf_stream_requant.cpp`](https://github.com/godspede/construct-llama-hive/blob/main/src/hive_engine/gguf_stream_requant.cpp) peaking at 115.7 MiB for the output head alone) rewrites only those tensors — the coda layers to IQ4_NL and the output head to Q6_K — reading the file in pieces: peak host memory 115.3 MiB, wall time 292.5 s.

**Re-quantized GGUF against the published file.** Engine runs. Logit KL against stock FP16 on the fixed prompt set.

| Quantity | Value |
| --- | --- |
| Model size, published | 16.42 GiB |
| Model size, re-quantized | 14.41 GiB |
| VRAM saved | 2.00 GiB |
| Logit KL, all re-quantized tensors | 4.76e-04 |
| Logit KL, coda layers only | 4.47e-04 |
| Logit KL, output head only | 9.21e-05 |
| Greedy tokens matched | 160/160 |
| Top-1 agreement | 10/10 |

The saving matters twice. On the GPU it is the room that lets 448k fit with no layers offloaded, below. On the CPU, when the coda layers are offloaded, smaller weights decode faster: with four coda layers on the CPU at B=4, IQ4_NL ran at 28.08 t/s per stream against 24.01 t/s for Q8_0, +17.0%.

## Live context: 448k all-GPU, 524k–786k offloaded

Spending the 2.00 GiB reclaimed above alongside the mixed live-KV setting (sliding window FP16, global Q4_0) lets 448k live tokens fit 100% on the card. Past 24 GiB, mixture-of-experts layers move to the CPU (`cold=N`). Because all-GPU 448k, Phase-3 shallow 524k, and the filled four-stream offloaded envelope are distinct configurations, they are kept apart below.

### All-GPU: 1x128k and 448k with nothing offloaded

Every number in the two tables below is from the all-GPU configuration: `cold=0`, meaning no mixture-of-experts layer runs on the CPU, with the re-quantized GGUF and the mixed KV setting. Decode speed at long context depends on how full the context is, not on how much was allocated. A 1x128k allocation holding a few hundred tokens decoded at 88.49 t/s, close to the 4k figure. So each point below was measured from a saved cartridge filled to the stated depth, and patched and stock loaded the same cartridge.

**1x128k, one stream, all-GPU.** Context runs, patches 0001 to 0003 only (before the fattn-vec change below). `cold=0`, re-quantized GGUF, B=1. Prefill ran at 1,994.4 t/s from empty to 50% and 1,413.8 t/s from 50% to 95%.

| Fill | Patched | Stock | Gain | Time to first token, patched / stock | Peak VRAM, patched |
| --- | --- | --- | --- | --- | --- |
| Shallow probe, published GGUF | 86.15 t/s | not measured | not computed | not measured | 20,406 MiB |
| Shallow probe, re-quantized GGUF | 88.49 t/s | not measured | not computed | not measured | 18,356 MiB |
| 50% full | 46.40 t/s | 38.25 t/s | +21.3% | 674.0 ms / 864.8 ms | 19,093 MiB |
| 96.7% full | 32.51 t/s | 27.82 t/s | +16.9% | 973.2 ms / 1049.6 ms | 19,262 MiB |

#### Long-context B=1 decode after the fattn-vec change (patch 0005)

At long context the decode step is dominated by attention over the cached keys and values. Patch 0005 changes the `fattn-vec` kernel in three ways. It loads each mask and relative-position tile once instead of repeating the load, it skips a tile that is entirely masked out, and it handles the three query heads that share one key-value head together (GQA-3) instead of one at a time. It applies to a head size of 128 with a group ratio divisible by 3. GQA-3 is on by default for a batch of one token (`INKLING_FATTN_VEC_GQA3_MAX_B=1`); larger batches are opt-in and are not reported here, because their logit parity has not been checked.

These runs differ from the two tables around them. They use the **shipped** `IQ4_NL` GGUF, not the re-quantized one, with the sliding window in FP16 and global attention in Q4_0 under the Rademacher-signed rotation above, in bit-exact mode (`GGML_CUDA_INKLING_EXACT_ATTNRES=1`), every cell all-GPU. The fills are saved cartridges of 65,760, 124,742, 241,396 and 416,582, so the first two are close to, but not the same points as, the 50% and 96.7% fills of the 1x128k table. Each result is one run of 48 measured CUDA-graph steps at B=1, and the gain column is the ratio of mean per-stream tokens per second. "Stock" here means stock `fattn-vec` in the same patched build (patches 0001 to 0004), not the unpatched `llama.cpp` of the other tables.

The 262,144-cell row is the nearest to 240k that the saved cartridges allow. The last row is the largest context one stream holds entirely on the GPU: a search in steps of 4,096 cells found 438,272 cells to fit with a guard of 256 MiB free, while the next size up left 228 MiB free and was rejected. It was filled to 416,582 and decoded with 290 MiB of VRAM free, so headroom there is thin. The four-stream 448k runs below hold more cells in total (458,752) because they use the re-quantized GGUF.

**Parity.** The reference is the 0004 build, which has stock `fattn-vec`. On the 10-prompt, 16-token set at short context, logit KL against it was 0 with 160/160 greedy tokens identical. That is a statement about the kernel change, not a claim that output matches stock FP16 KV: that comparison is the KL in the live-KV table below. At depth, a separate check loaded the saved cartridges and compared 16 greedy steps with the 0004 build. The mask hoist and warp skip with GQA-3 off had KL 0, 0, 0 and 0 at the four depths. With GQA-3 on, KL was 0 at 65,648, then 1.05e-03 at 124,630, 6.09e-04 at 241,284 and 2.05e-04 at 416,470, with every greedy token identical (16/16, 16/16, 16/16 and 16/16). So GQA-3 is not bit-exact at depth: it drifts slightly, which we attribute to the split of the attention work across blocks changing with the GQA-3 layout under FP16 partial sums. That is a hypothesis from the kernel structure and was not isolated. One cartridge was checked per depth, and the 4 x 32k row has only the short-context check.

**Long-context decode, one stream, B=1, shipped GGUF.** Long-context runs. Bit-exact mode, all-GPU, tokens per second per stream. The 4 x 32k row is four 32k slots resident, decoding one stream. The last two rows are about 240k and the largest single-stream context that fits on the GPU.

| Context | Stock `fattn-vec` | Mask hoist and skip, GQA-3 off | Patch 0005, GQA-3 on | Gain over stock |
| --- | --- | --- | --- | --- |
| 65,760 | 43.87 t/s | 65.48 t/s | 67.72 t/s | 1.54× |
| 124,742 | 31.61 t/s | 56.91 t/s | 64.00 t/s | 2.03× |
| 4 x 32k, 90% full | 31.22 t/s | 62.00 t/s | 64.62 t/s | 2.07× |
| 241,396 in 262,144 cells, 2,686 MiB free | 20.49 t/s | 45.09 t/s | 53.36 t/s | 2.60× |
| 416,582 in 438,272 cells, the largest all-GPU context for one stream, 290 MiB free | 13.25 t/s | 34.29 t/s | 43.87 t/s | 3.31× |

What this changes in the 1x128k table above: its patched speeds of 46.40 t/s at 50% fill and 32.51 t/s at 96.7% fill are the earlier build (patches 0001 to 0003) on the re-quantized GGUF, and the stock column there is unpatched `llama.cpp`. The new table is the faster measured configuration at comparable depth, on a different GGUF and KV setting, so the two are not subtracted from each other. On the shipped GGUF, stock `fattn-vec` reads 43.87 t/s at 65,760 and 31.61 t/s at 124,742 in this build, and the kernel change takes that to 67.72 t/s and 64.00 t/s. The gain over stock grows with depth, from 1.54× at 65,760 to 3.31× at 416,582, as expected when attention is the larger share of the step. The 4 x 32k row sits at a similar gain to the 1x124k row. The 448k four-stream tables below are B=4 runs of the earlier build and are not re-measured with this kernel.

The 2.00 GiB freed by re-quantization lets four streams of 112k fit with nothing offloaded: 458,752 cells in all, with 1.62 GiB of private host memory at 90% full.

**448k, four streams, all-GPU.** Context runs. `cold=0`, re-quantized GGUF, B=4. Serving holds loaded from the saved 50% and 90% cartridges.

| Fill | Arm | Per stream | Four streams summed | Time to first token | Peak VRAM |
| --- | --- | --- | --- | --- | --- |
| 50% full | Patched | 23.54 t/s (+17.6%) | 94.15 t/s | 1,245 ms | 22,683 MiB |
| 50% full | Stock | 20.02 t/s | 80.08 t/s | 1,404 ms | 22,646 MiB |
| 90% full | Patched | 16.48 t/s (+12.8%) | 65.91 t/s | 2,170 ms | 22,687 MiB |
| 90% full | Stock | 14.60 t/s | 58.41 t/s | 2,177 ms | 22,652 MiB |

One stream alone at 90% full decoded at 13.27 t/s.

> **Serving fits; continuous prefill spiked higher**
>
> Serving from the 90% cartridge peaked at 22,687 MiB, and a shallow 448k probe at 23,103 MiB. Prefilling from 50% to 90% in one continuous hold spiked to 24,453 MiB, above both. A 416k layout probed at 22,624 MiB. Fit at this size has to be checked on a deep fill, not a shallow probe.

### Crossing 24 GiB: where the cold experts sit

When a context pushes past 24 GiB, which layers move to the CPU matters as much as how many. Because the core layers (6 to 17) run three times per token (see [`hive/arena.py`](https://github.com/godspede/construct-llama-hive/blob/main/hive/arena.py)), moving the once-per-token prelude and coda (layers 0 to 5 and 18 to 23) instead of layers 0 to 11 keeps the hot experts on the GPU. In the M9 run, decode rose from 24.879 tok/s to 29.865 tok/s (1.2004x), while the earlier E55 run measured prefill at 0.8525x of the old placement's speed. Those two runs differed in host-cache flags; a later controlled traps benchmark ran both placements with identical flags and no host cache, measuring decode from 27.27 tok/s to 32.06 tok/s (1.1757x) and prefill at 0.828x of the old placement's speed.

### Q8_0-first placement at 524k: one stream, shallow fill

On the published GGUF, the four coda layers sit in Q8_0 at 1,032.8 MiB each against 546.8 MiB for an IQ4_NL layer, so moving only those four layers first frees the most VRAM per layer moved. The Phase-3 run compared that `cold=4` placement with the earlier `cold=12` layout at a 524k context. Each run read one short needle prompt and generated a short reply, so the context was nearly empty: these are shallow-fill numbers, from the published GGUF, one stream.

**524k offloaded, one stream, shallow fill.** Phase-3. Each run found its needle. Rows differ in placement and batch size.

| Layout | Prefill | Decode | Peak VRAM |
| --- | --- | --- | --- |
| Earlier layout, `cold=12`, batch 128 | 266.4 tok/s | 28.97 tok/s | 17,139 MiB |
| Q8_0 coda only, `cold=4`, batch 512 | 1,100.02 tok/s (4.1292x) | 36.4 tok/s (1.2565x) | 21,805 MiB |
| Full coda, `cold=6`, batch 512 | 1,004.18 tok/s | 35.3 tok/s | 20,713 MiB |
| 786k context, `cold=12`, batch 256 | 459.86 tok/s | 28.74 tok/s | 20,597 MiB |

The four-layer placement prefilled 4.1292x faster and decoded 1.2565x faster than the `cold=12` layout, using 21,805 MiB of VRAM. The batch size changed too, so this compares two configurations, not one variable.

### The four-stream envelope from 262k to 786k: filled cartridges

A second set of runs served four streams from cartridges filled to 50% and 90%, patched against stock on the same cartridges. Figures are per stream. These are the offloaded counterparts of the 448k all-GPU table above, and they use the published GGUF and an all-Q4_0 cache except where a row says otherwise.

**Offloaded, four streams, per stream.** Context runs. B=4. Peak VRAM and private host memory are from the 90% run.

| Context | Cold layers | 50% full, patched / stock | 90% full, patched / stock | Peak VRAM | Private host memory |
| --- | --- | --- | --- | --- | --- |
| 262k | 4 | 16.69 t/s / 13.82 t/s | 15.07 t/s / 13.94 t/s | 18,704 MiB | 5.43 GiB |
| 524k | 4 | 14.91 t/s / 14.32 t/s | 11.22 t/s / 10.80 t/s | 22,325 MiB | 5.71 GiB |
| 624k | 6 | 12.36 t/s / 11.89 t/s | 10.15 t/s / 9.31 t/s | 22,736 MiB | 6.79 GiB |
| 624k, re-quantized GGUF, SWA FP16 | 4 | 16.53 t/s (+33.7% vs `cold=6`) | 11.04 t/s | 22,959 MiB | 4.05 GiB |
| 786k | 10 | 10.58 t/s / 9.54 t/s (+11.0%) | 7.88 t/s (stock pair not used) | 22,786 MiB | 9.20 GiB |

The kernel gains shrink as layers move to the CPU: at `cold=10` the CPU-side layers set the pace. Re-quantizing the GGUF let 624k run with four cold layers instead of six, +33.7% faster per stream at 50% full. Figure 3 above draws both the all-GPU and the offloaded tables.

## Compressing the KV cache: live precision and WHT-KV4

Compressing the cache sits at two boundaries: what the running GPU engine attends over today (live KV precision), and what sits parked in host memory or on NVMe (offline WHT-KV4 and Tiered-SWA). Live attention currently uses Q4_0 for global passes; WHT-KV4 is measured on captured activations and in the host page store.

### Live KV precision: what the running engine stores

In the running engine, the global passes grow with context while the sliding-window passes are fixed in size. A separate set of runs varied the precision of each part and compared the model's output with stock FP16. Keeping the global cache in Q4_0 and the fixed-size sliding-window cache in FP16 cut logit KL by 3.4× against an all-Q4_0 cache. That mixed setting is what the decode and all-GPU context results above use (upstream default rotation; the Rademacher-signed live WHT-128 variant is the last mixed row).

**Live KV precision against stock FP16.** Bit-exact patched engine, the fixed prompt set. A separate measurement from the WHT-KV4 codec table below: different prompts, a different engine path.

| Live KV configuration | Logit KL | Greedy tokens matched | KL vs all-Q4_0 |
| --- | --- | --- | --- |
| All Q4_0, upstream Hadamard rotation off | 1.70e-02 | 122/160 | not computed |
| All Q4_0, upstream default | 1.53e-02 | 126/160 | baseline |
| All Q4_0 with a live 128-point WHT rotation | 7.74e-03 | 141/160 | not computed |
| Sliding window FP16, global Q4_0 | 4.49e-03 | 150/160 | 3.4× lower |
| Sliding window FP16, global Q4_0, Rademacher-signed WHT-128 (patch 0004) | 2.35e-03 | 160/160 (10/10 sequences) | 6.5× lower |
| Sliding window Q8_0, global Q4_0 | 3.64e-03 | 149/160 | 4.2× lower |
| All Q8_0 (reference; costs more VRAM) | 2.81e-03 | 158/160 | not computed |

The sliding-window Q8_0 row had the lower KL of the two mixed settings and matched one token fewer. Upstream `llama.cpp` already rotates Q4_0 KV by default; turning that off raised KL to 1.70e-02. The live WHT rotation lowered KL against the default, but the mixed-precision setting lowered it further, and the live path does not use WHT-KV4's Lloyd-Max codebooks.

The last mixed row adds one change to the live rotation: fixed random signs. The unsigned Sylvester transform has an all-ones first row, so any non-zero mean across a vector's channels is concentrated 11.31× into coordinate 0. We attribute the gain to this: the spike would inflate the Q4_0 scale of the first block, and multiplying by a fixed pattern of ±1 signs on both sides (`D·H·D`, which is its own inverse) would spread it out. That mechanism is consistent with the measured drop but was not isolated: no block-0 scales or channel means were measured, and the measured result is the KL. The signs are compile-time constants applied in registers, so the change costs no VRAM and no memory bandwidth. It lowered KL from 4.49e-03 to 2.35e-03 (1.9×; 10 prompts, one run each), below the all-Q8_0 reference of 2.81e-03 at 158/160 tokens, with all 160/160 greedy tokens matching stock. It is off unless `INKLING_LIVE_WHT_RADEMACHER=1` is set. It shares the prompt set and the one-run-each protocol of the rows above.

### Offline storage: WHT-KV4 rotates first, then spends four bits

A 4-bit quantizer has sixteen levels. Attention vectors have a few dimensions far larger than the rest, so Q4_0 limits the damage by giving every block of 32 dimensions its own scale, at 72 B per 128-dimension vector. WHT-KV4, designed by Eris, removes the outliers instead: each vector is multiplied by a fixed pattern of random signs and passed through a 128-point Walsh-Hadamard transform, spreading any large dimension evenly over all 128 outputs. One scale then serves the whole vector, at 66 B (8.3% smaller than Q4_0). Across 8 global passes and 8 key-value heads, keys and values come to 8,448 B/tok, or 8.25 KiB/tok. The measured implementation uses trained Lloyd-Max codebooks and lives in [`src/ikv_wht/wht_kernels.cu`](https://github.com/godspede/construct-llama-hive/blob/main/src/ikv_wht/wht_kernels.cu) with a Python reference in [`hive/ikv_wht.py`](https://github.com/godspede/construct-llama-hive/blob/main/hive/ikv_wht.py).

**Codec variants on real activations.** M10. 2,048 captured tokens from one 2,748-token prompt. Cosine and MSE compare reconstructed vectors with FP16; KL compares the model's next-token distribution with the FP16 run.

| Variant | B / vector | KiB / token | Cosine | MSE | Logit KL | KL vs Q4_0 | Top-1 kept |
| --- | --- | --- | --- | --- | --- | --- | --- |
| Q4_0 | 72 B | 9.00 KiB/tok | 0.99784 | 0.003097 | 0.010482 | baseline | True |
| WHT-KV4 | 66 B | 8.25 KiB/tok | 0.99853 | 0.002087 | 0.001543 | 6.79x lower | True |
| WHT-KV4 + DC_mean | 66 B | 8.25 KiB/tok | 0.99864 | 0.001887 | 0.001878 | 5.58x lower | True |
| WHT-KV4 + Tiered-SWA | 66 B | 8.25 KiB/tok | 0.99853 | 0.002087 | 0.001982 | 5.29x lower | True |
| Combined | 66 B | 8.25 KiB/tok | 0.99864 | 0.001887 | 0.001865 | 5.62x lower | True |

Uncompressed FP16 would be 256 B per vector and 32.00 KiB/tok. DC_mean sink folding (also Eris's design) subtracts each channel's mean before coding and stores it once in the attention-sink entry; the fold was exact to 5.11e-15 and lowered vector error from 0.002087 to 0.001887 MSE, though on this one prompt plain WHT-KV4 had the lower logit KL (0.001543 against 0.001878).

### The local-window tail: 26.25 MiB in place of 188.0 MiB

The 40 sliding-window passes each keep the last 1,024 tokens. That cache does not grow with context, but every parked session carries one. Tiered-SWA stores the nearest 256 tokens at 4 bits and the outer 768 at 2 bits, for 26.25 MiB per session against 160.0 MiB in FP16 and 188.0 MiB in padded Q4_0, a 7.16x reduction. With the tiered tail in the loop, logit KL was 0.001982, slightly above plain WHT-KV4 and still 5.29x below Q4_0.

## Parking, hot-swapping, and the 3.12M-token warm pool

Once a session leaves the GPU, every restored byte crosses PCIe. Two transport paths serve different jobs: a small page-locked staging ring for many sessions parked in ordinary pageable DRAM, and direct page-locked hot-swap for a few slots kept ready to jump back onto the card. Beyond live Q4_0 restores, the two-tier WHT-KV4 page store holds millions of warm tokens across DRAM and NVMe under a tight host-memory cap.

### Staged session restore from pageable DRAM and NVMe

On Windows a large page-locked host buffer is mapped into the GPU's address space and counts against VRAM, while handing CUDA ordinary pageable memory forces the driver to lock pages on every call. The M9 path separates storage from transport: parked sessions live in ordinary pageable DRAM capped at 6,144 MiB, and transfers stream through one small page-locked ring of 256 MiB split into 16 slots ([`src/kv_arena/kv_arena_cli.cpp`](https://github.com/godspede/construct-llama-hive/blob/main/src/kv_arena/kv_arena_cli.cpp)).

**Restore to the GPU.** M9. Real sessions in Q4_0 cartridges. One timing per row.

| Session | Tokens | Cartridge | From DRAM | From NVMe |
| --- | --- | --- | --- | --- |
| 32k | 32,417 | 334.0 MiB | 21.62 ms | not measured |
| 100k | 100,056 | 929.2 MiB | 67.79 ms | 701.63 ms |
| 241k | 241,483 | 2,173.8 MiB | 173.47 ms | not measured |

At 100k tokens the DRAM path was 10.35x faster than the NVMe cartridge. Saving the 32k session took 84.25 ms. After each restore the model continued generation, and the continuation matched the uninterrupted run in 3/3 cases. Cartridges drop the 8-token throwaway prefix that Eris's sink trick prepends. The M9 run peaked at 21,852 MiB of VRAM with 2,458 MiB free and 10,655 MiB of process memory, passing 16/16 verifier checks.

### Pinned hot-swap of a whole slot

A second tool, [`src/hive_engine/state_swap_cli.cpp`](https://github.com/godspede/construct-llama-hive/blob/main/src/hive_engine/state_swap_cli.cpp), moves a populated slot's whole state (KV and recurrent) with `llama.cpp`'s own state get and set calls, verifying next-token parity after every swap. Raw page-locked transfers reached 26.85 GB/s host to device and 26.39 GB/s device to host, against 13.18 GB/s from pageable memory.

**Whole-slot hot-swap.** Hot-swap tool. Real populated slots; median timings. A separate measurement from the M9 restore table: whole state, not a cartridge.

| Slot | State size | Get, pinned | Set, pinned | Set, pageable |
| --- | --- | --- | --- | --- |
| 128k | 1.37 GB | 59.2 ms | 69.8 ms (19.65 GB/s) | 174.6 ms |
| 240k | 2.43 GB | 103.3 ms | 132.6 ms | 343.6 ms |

Because Windows counts large page-locked buffers against VRAM (measured in the traps section below), pinned hot-swap suits a few slots kept ready to resume, while M9's staged ring suits many sessions parked in ordinary DRAM.

### The two-tier WHT-KV4 page store

To measure warm capacity at scale, the M10 verifier generated synthetic content-hashed pages of 64 tokens in WHT-KV4 size (8.25 KiB/tok) for 16 simulated multi-turn sessions and pushed them through [`hive/wht_pool.py`](https://github.com/godspede/construct-llama-hive/blob/main/hive/wht_pool.py). No model produced these pages; the test measures capacity, deduplication, host memory and read-back. At 8,448 B/tok, 3,121,472 unique tokens come to 25,148.6 MiB (24.56 GiB) — about twice the 12,288 MiB host cap. The store keeps a least-recently-used hot set in pageable DRAM (under a 6,656 MiB Tier-1 cap) and writes the bulk to NVMe in 256 MiB files opened without OS buffering so cold pages do not count against host memory a second time.

**Where the 3,121,472 tokens sat and host memory against the cap.** M10. Synthetic pages of 64 tokens across 16 simulated sessions.

| Tier or budget | Tokens | Pages | Size |
| --- | --- | --- | --- |
| Tier 1, pageable DRAM | 762,496 | 11,914 | 6,143.2 MiB (5.999 GiB) |
| Tier 2, NVMe (75 unbuffered files of 256 MiB) | 2,358,976 | 36,859 | 19,005.4 MiB (18.56 GiB) |
| Total stored payload | 3,121,472 | 48,773 | 25,148.6 MiB |
| **Host memory and system headroom** |   |   |   |
| Process RSS outside Tier 1 (not broken down further) | – | – | 2,050.8 MiB |
| Peak process RSS (verifier cap 12,288 MiB) | – | – | 8,194 MiB (4,094 MiB headroom) |
| System RAM left free / GPU phase peak VRAM | – | – | 13,591 MiB / 21,829 MiB |

Identical pages shared between sessions were stored once (240 deduplication hits), and 201/201 sampled pages (100.0%) read back byte-identical, including a planted page evicted to NVMe. Host-side read-back (no GPU upload) took 1.13 ms for a 240k session in Tier 1, 292.42 ms for 100k from NVMe, and 752.69 ms for 240k from NVMe; note that M10's 292.42 ms is host-only page reassembly, whereas M9's 701.63 ms restores a real Q4_0 cartridge into GPU attention (an earlier failed E55 timing is recorded in [Appendix A](#appendix-scaling)). The run passed 20/20 verifier checks. At 127,100 warm tokens per GiB (12.71M per 100 GiB of NVMe), larger capacities are straight-line payload arithmetic; see [Appendix A](#appendix-scaling) for the full scaling table and where the line bends.

### Finding the right pages: a 2-bit sketch scan

A parked context is cut into pages, and each page gets a 2-bit sketch in the rotated basis. To decide which far pages a step needs, the GPU scores every sketch against the current queries.

**CUDA sketch scan.** M10. A needle page was planted at 10%, 50% and 90% depth; rank is its worst position across the three.

| Context | Pages | Tokens / page | Scan time | Pages selected | Needle rank |
| --- | --- | --- | --- | --- | --- |
| 256k tokens | 4,096 | 64 | 0.352 ms | 26 | #1 |
| 1M tokens | 8,192 | 128 | 1.353 ms | 18 | #1 |

The two rows use different page sizes, so they are not one curve. This measures the scan kernel and whether a planted page ranks first; it does not measure answer quality on a task with sparse paging switched on.

## Multi-agent primitives on one card

Several agents on one card spend most of their time not decoding: waiting on a tool, or reading a document another agent already read. Four primitives in the engine address that. Each was measured alone, in its own run, and none of these runs combines them.

**Multi-agent KV primitives.** One run each. Peak VRAM is the run's own.

| Primitive | What it does | Measured | Peak VRAM |
| --- | --- | --- | --- |
| Tool-yield M12 | A session waiting on a tool call gives back its GPU cells, and comes back when the tool returns. | Yield in 25.93 ms; swap back in from DRAM in 6.84 ms, from NVMe in 63.57 ms | 17,291 MiB |
| Arena carve-up M11 | One KV arena split live between specialist sessions of different sizes, with sessions created and dropped repeatedly. | 516,096 of 524,288 cells in use; 60 cycles of churn | 19,191 MiB |
| Shared board M4 | Workers share one band of KV that all of them attend over, in place of each re-reading the others' posts as text. | 101.6 s against 171.0 s appending text (1.68×) and 881.2 s re-prefixing (8.67×); 48/48 solved; mean distribution 3.01 ms | 21,410 MiB |
| KV infill M14 | A document encoded once is injected into a live session's global cache, with no prefill. | 100,130 tokens from DRAM in 205.35 ms (1,708.7×) and from NVMe in 693.09 ms (506.3×), against 350.9 s directly timed cold prefill | 18,142 MiB |

Infill and the shared board rest on one property of the model: its global attention carries no rotary position encoding, so a block of global KV encoded in one place can be placed in another session's cache without re-encoding. Unlike the derived cold-prefill reference in Figure 2, M14 directly timed a real 100k cold prefill at 350.9 s. The speedups are against prefilling the same tokens in the same run, not against another system.

## Systems traps and what failed first

### Platform traps fixed

Several costs on this machine came from the platform rather than the model. Each row is a before-and-after pair from the traps benchmark, measured in the configuration its row names.

**Systems traps.** Traps benchmark. One pair per row.

| Trap and fix | Before | After | Change |
| --- | --- | --- | --- |
| Page eviction scanned every page once per victim; sorted once per batch instead | 84,836.4 ms | 10.71 ms | 7,924× |
| Large page-locked host pools counted against VRAM on Windows; pageable DRAM behind a small page-locked ring instead (peak VRAM, two earlier runs compared) | 22,647 MiB | 21,852 MiB | 795 MiB less |
| Restore from pageable DRAM with no staging ring; with a page-locked staging ring (a prefilled 30,000-token session) | 27.94 ms | 21.72 ms | 1.29× |
| Infill scratch allocated on first use; pre-committed at start-up (first infill, M14, same cartridge) | 103.34 ms | 70.25 ms | not computed |
| Attention-mask buffers sized for batch 512; batch 128 instead (peak VRAM, 524k offloaded, `cold=12`) | 17,390 MiB | 17,040 MiB | 350 MiB less |
| Layers 0 to 11 on the CPU; layers 0 to 5 and 18 to 23 instead (decode, 524k offloaded) | 27.27 t/s | 32.06 t/s | 5,220 MiB VRAM saved |

The placement row is the change described in the live-context section, with the VRAM it saved. The batch-size row and the Phase-3 runs point different ways on batch size: a smaller batch saved memory in the twelve-layer layout, and the Q8_0-first layout spent that memory on a larger batch for prefill speed.

### Ideas that failed first

Several of these paths failed their verifiers before they passed. The failed result files remain in the repository.

- **The first codec run (E56) was worse than Q4_0.** On a 1,993-token prompt, WHT-KV4 logit KL was 0.14458 against 0.07852 for Q4_0, and both WHT-KV4 variants changed the top-1 token (DC_mean raised KL to 0.31466 despite lower MSE). Adding 1/√d_k scaling and restricting DC_mean to the 8 global passes in M10 brought KL down to 0.001543; full E56 figures and provenance caveats are in [Appendix A](#appendix-scaling).
- **The first DRAM cache (E55) broke the VRAM budget and parity.** Putting the whole host cache in page-locked memory gave faster raw loads (16.84 ms at 32k, 48.24 ms at 100k) but peaked at 22,647 MiB of VRAM and failed continuation parity (0 matches). M9's staged ring is slower per restore and stays inside the envelope.
- **Two passes through the looped core broke the output.** Running the core twice per token instead of three times gave logit KL 0.525 and matched 57/160 greedy tokens. Four passes gave 0.236 and ran slower. The change was dropped.
- **Suffix speculation slowed decode down.** Drafting tokens from repeated suffixes was accepted 16.7% of the time, ran at 0.898× of normal speed and produced 28 mismatches (19 prompts). It was dropped.

## Caveats and limits

- **Live attention still stores Q4_0.** WHT-KV4 is measured on captured activations and used as a storage format. The GPU attention path holds 9.00 KiB/tok today, and a fused WHT-KV4 attention kernel is not built.
- **Each optimization was measured alone, not end to end.** The kernel, re-quantization, context, codec, scan, restore, store, scheduler and trap results come from separate runs in separate configurations. Gains are not additive, and no run solves a task over a multi-million-token context.
- **The 3.12M page store is synthetic, and larger sizes are arithmetic.** The store held synthetic content-hashed pages (real sessions may deduplicate differently from 240 hits), and the scaling table divides a byte budget by 8,448 B/tok with nothing larger than 3,121,472 tokens built or timed.
- **Two context configurations, kept apart.** The 448k figures are all-GPU (`cold=0`) with the re-quantized GGUF. The 524k–786k figures have layers on the CPU, and the Phase-3 ones are shallow fill with one stream, so they are not comparable with the filled four-stream envelope.
- **Fidelity checks are narrow, not task benchmarks.** The WHT-KV4 codec table is one prompt (2,048 captured tokens, one next-token comparison per variant), and the engine, re-quantization and live-KV KL tables use a fixed prompt set against stock FP16 rather than downstream tasks. The kernel parity check against the 0004 build covers 10 prompts of 16 tokens at short context, plus one cartridge per depth at the long depths.
- **Figure 2's cold re-prefill bar is derived, not timed.** It divides token counts by 487.48 tok/s from a shorter run (≈ 66.5 s, ≈ 205 s and ≈ 495 s); only M14 directly timed a 100k cold prefill (350.9 s).
- **One machine, one operating system.** Every number is from a single RTX 3090 Ti on Windows, with single-run timings and no variance reported.

## Replicate on your GPU

Everything is in [github.com/godspede/construct-llama-hive](https://github.com/godspede/construct-llama-hive). The fast checks need no GPU and no model weights.

1. Run the CPU-only checks for both verifiers.

```text
python bench/verify_m9_staged_dram_ikv.py --unit-only
python bench/verify_m10_wht_3m_pool.py --unit-only
```
2. Point the repository at your model file and llama.cpp build, as its README describes, then build the two CUDA targets. The build scripts are Windows batch files.

```text
src\kv_arena\build.cmd cuda
src\ikv_wht\build.cmd cuda
```
3. For the decode-speed results, apply the five patches to llama.cpp in order and build it with the flags in [`patches/README.md`](https://github.com/godspede/construct-llama-hive/blob/main/patches/README.md), which also names the base commit and every switch the patches add.

```text
git apply patches/0001-cuda-graph-multi-shape-key.patch
git apply patches/0002-batch-kernel-parity-optin.patch
git apply patches/0003-inkling2-cuda-fusions-and-graph-opt.patch
git apply patches/0004-rademacher-live-wht128.patch
git apply patches/0005-fattn-vec-gqa3-and-warp-skip.patch
``` Patches 0004 and 0005 add switches. Set `INKLING_LIVE_WHT_RADEMACHER=1` for the Rademacher-signed rotation (default 0). `INKLING_FATTN_VEC_GQA3` defaults to 1, and `INKLING_FATTN_VEC_GQA3_MAX_B` defaults to 1, the only batch width whose logit parity was checked (bit-exact at short context, with a small drift at depth; see the long-context parity paragraph). The long-context rows also used `INKLING_KV_TYPE_SWA=f16`, `INKLING_LIVE_WHT_KV=global` and `GGML_CUDA_INKLING_EXACT_ATTNRES=1`.
4. For the re-quantized GGUF, build [`src/hive_engine/gguf_stream_requant_multi.cpp`](https://github.com/godspede/construct-llama-hive/blob/main/src/hive_engine/gguf_stream_requant_multi.cpp) and pass it the published file, an output path and one `regex=type` pair per tensor group. `--dry-run` lists the tensors it would rewrite.
5. Run the full verifiers on a 24 GB card. Each prints its checks and writes a `summary.json`; expect 16/16 and 20/20.

```text
python bench/verify_m9_staged_dram_ikv.py
python bench/verify_m10_wht_3m_pool.py
```
6. Compare your output with [`results/m9_staged_dram_ikv/summary.json`](https://github.com/godspede/construct-llama-hive/blob/main/results/m9_staged_dram_ikv/summary.json), [`results/m10_wht_3m_pool/summary.json`](https://github.com/godspede/construct-llama-hive/blob/main/results/m10_wht_3m_pool/summary.json), [`results/phase3_q8first/summary.json`](https://github.com/godspede/construct-llama-hive/blob/main/results/phase3_q8first/summary.json), and the systems-run JSON files under `results/`. Every number on this page names the file and key it was read from.

The page store needs about 19,005.4 MiB of free NVMe space for Tier 2. Timings depend on your drive, your PCIe link and your driver's memory model.

## Compared with Eris's Inkling-IKV

The codec ideas here are Eris's. They published WHT-KV4, DC_mean sink folding, the 8-token BOS strip and 2-bit page sketches for this model, with results on a 48 GB unified-memory Apple laptop: [their report](https://eriskii.net/research/inkling-ikv) and [their code](https://github.com/Eriskii/erisinky). This work asks whether the same designs hold on a discrete 24 GB card, where the cache has to cross PCIe and host memory is a separate, smaller budget.

The implementation measured here is a reimplementation under Apache-2.0, written from Eris's published report rather than their code. Eris's code is GPL-3.0, and none of it was copied. The two machines have different memory layouts, so the table sets results side by side without ranking them. Eris's column quotes their report as published; this project has not re-run their experiments.

**Side by side.** Different hardware. Cells this project did not measure say so.

| Dimension | This work | Eris, as published |
| --- | --- | --- |
| Hardware | One RTX 3090 Ti, 24 GB, over PCIe; host memory capped at 12,288 MiB; NVMe | Apple M5 Pro, 48 GB unified memory |
| WHT-KV4 size | 8.25 KiB/tok | 8.25 KiB/tok; also a 3-bit key, 2-bit value variant at 5.25 KiB/tok |
| WHT-KV4 fidelity | Logit KL 0.010482 with Q4_0, 0.001543 with WHT-KV4, one prompt | measured differently; not compared here |
| DC_mean sink fold | Fold exact to 5.11e-15; lower MSE, no KL gain on one prompt | Quantization KL 0.0319 down to 0.0181 |
| BOS strip | 8 tokens; 3/3 exact continuations | 8-token prefix stripped before saving |
| Page sketch scan | 0.352 ms at 256k, 1.353 ms at 1M, CUDA | about 1.6 ms at 256k, Metal |
| 3-bit / 2-bit codec | not implemented | 5.25 KiB/tok |
| Multi-file synthesis task | not run | 89/100 on 20 stitched files |
| 25-task suite with sparse paging | not run | 25/25 |
| 10M-token needle | not run | needle page ranked #1 of 81,918 at three depths |
| Two-tier page store | 3,121,472 tokens of synthetic pages, 8,194 MiB RSS | not in their report |

The task-level rows matter most and are the ones this project has not run. Eris has shown these codecs holding up on real long-context tasks. This paper shows the storage and transport pieces working on a discrete GPU.

## Appendix: Storage scaling arithmetic & historical E55/E56 notes

### Storage scaling arithmetic

> **Arithmetic, not a measurement**
>
> Everything in this subsection is computed from the measured 8,448 B/tok. Only one size was run: the 3,121,472 tokens in the warm-pool section. No pool larger than that was built, filled or read back.

A warm token costs a fixed 8,448 B/tok of WHT-KV4 for all global passes. A page is 64 tokens of those bytes, so a tier holds as many tokens as its payload budget divides into:

```text
warm tokens = payload bytes / 8,448
            = 127,100 tokens per GiB of payload (rounded down)
```

Both measured tiers obey it: Tier 1's 6,143.2 MiB and Tier 2's 19,005.4 MiB divide into 762,496 and 2,358,976 tokens. Doubling a tier doubles its tokens; the two tiers add. The table applies the formula to other sizes.

**Warm tokens by payload budget.** Computed, not measured. Payload bytes only, rounded down to a whole token. A budget is the space given to pages, not the size of the machine.

| Tier and budget | Warm tokens |
| --- | --- |
| **Tier 1: DRAM payload budget** |   |
| 6 GiB | 762,600 |
| 12 GiB | 1,525,201 |
| 32 GiB | 4,067,203 |
| **Tier 2: NVMe payload budget** |   |
| 100 GiB | 12,710,012 |
| 500 GiB | 63,550,060 |
| 1 TB (10^12 bytes, not TiB) | 118,371,212 |

The 3,121,472 figure marks where this run stopped: its verifier required at least 3,120,000 tokens and the run reached 3,121,472. Where the straight line bends:

- **Payload is not the whole cost.** Process memory was 2,050.8 MiB above the Tier 1 payload; the result file does not break down how much of that grows with page count.
- **Each parked session carries a fixed tail.** The sliding-window tail is 26.25 MiB per session (420 MiB across 16 sessions), growing with session count rather than tokens.
- **Read-back and scan were tested at fixed sizes.** NVMe read-back was timed at 100k (292.42 ms) and 240k (752.69 ms), and the sketch scan at 8,192 pages of 128 tokens (1.353 ms) on generated sketches.
- **Real capacity is below raw capacity.** File-system overhead is not subtracted, and none of the table represents attended context (the largest real session restored to GPU is 241,483 tokens in Q4_0).

### Historical failed runs: E55 and E56

Both earlier runs failed their verifiers and are retained for provenance. E56 used a 1,993-token prompt (different from M10's 2,748-token prompt), and both runs' code and result files entered the repository in one commit, so commit history cannot isolate the fix; the author's account is that E56 omitted 1/√d_k scaling and applied DC_mean outside the 8 global passes.

**Earlier failed runs retained for provenance.** E55 (pinned-DRAM restore) and E56 (first codec run).

| Run and metric | Value | Note |
| --- | --- | --- |
| E55 peak VRAM | 22,647 MiB | Exceeded desktop VRAM budget due to large page-locked host cache. |
| E55 swap parity | 0 | Restored continuations failed exact-match check. |
| E55 32k / 100k DRAM restore | 16.84 ms / 48.24 ms | Faster raw loads from all-pinned host memory. |
| E55 100k NVMe restore | 582.18 ms | Earlier failed run; retained for provenance against M9 and M10. |
| E55 Prelude+Coda decode / prefill ratio | 1.2349x / 0.8525x | Measured with host cache enabled on the new placement only. |
| E56 Q4_0 logit KL / top-1 | 0.07852 / True | Baseline on 1,993-token prompt. |
| E56 WHT-KV4 logit KL / MSE / top-1 | 0.14458 / 0.000388 / False | Worse than Q4_0 before 1/√d_k scaling fix. |
| E56 WHT-KV4 + DC_mean logit KL / MSE / top-1 | 0.31466 / 0.000361 / False | Lower MSE but higher KL before restricting fold to global passes. |

### Exact byte sizes behind derived MiB totals

The MiB figures in the body are derived from these exact byte counts recorded in the M9 and M10 result files.

**Exact byte inputs.** Raw byte fields behind derived MiB entries.

| Quantity | Exact bytes | Derived MiB |
| --- | --- | --- |
| M9 pinned DMA staging ring | 268,435,456 B | 256 MiB |
| M9 32k / 100k / 241k cartridge payloads | 350,178,520 B / 974,351,212 B / 2,279,439,568 B | 334.0 MiB / 929.2 MiB / 2,173.8 MiB |
| M10 Tiered-SWA tail per slot | 27,525,120 B | 26.25 MiB |
| M10 FP16 / padded Q4_0 SWA tail per slot | 167,772,160 B / 197,132,288 B | 160.0 MiB / 188.0 MiB |
| M10 NVMe cartridge size | 268,435,456 B | 256 MiB |
| M10 Tiered-SWA tails across all 16 sessions | 440,401,920 B | 420 MiB |

## Data and provenance

Every value below is embedded in the HTML page as JSON (`<script type="application/json" id="paper-data">`). Paths are relative to the repository root at `main`. M1 is the swarm-envelope run (prefill rate), M9 the session-restore run, M10 the 3M warm-pool and codec run, E55 an earlier failed run of the M9 path, and E56 the first codec run. The engine, re-quantization, 1x128k, 448k, offloaded-envelope, KV-precision and hot-swap figures come from the systems runs published with the patch set. Phase-3 is the Q8_0-first offload run, M11 the specialist-churn run, M12 the tool-yield run, M4 the shared-board run and M14 the document-cartridge run. Status: *measured* is read straight from a result file; *derived* is arithmetic on measured values, with the formula shown; *estimate* and *unsourced* are not measurements; *threshold* is a verifier pass/fail limit.

| id | shown as | exact value | status | source › key, or formula | run |
| --- | --- | --- | --- | --- | --- |
| `m9.peak_vram_mib` | 21,852 MiB | 21852 MiB | measured | `results/m9_staged_dram_ikv/summary.json` › `peak_vram_mib` | M9 |
| `m9.vram_free_mib` | 2,458 MiB | 2458 MiB | measured | `results/m9_staged_dram_ikv/summary.json` › `vram_free_mib` | M9 |
| `m9.process_rss_mib` | 10,655 MiB | 10655 MiB | measured | `results/m9_staged_dram_ikv/summary.json` › `process_rss_mib` | M9 |
| `m9.legacy_decode_tps` | 24.879 tok/s | 24.879 tok/s | measured | `results/m9_staged_dram_ikv/summary.json` › `legacy_decode_tps` | M9 |
| `m9.prelude_coda_decode_tps` | 29.865 tok/s | 29.865 tok/s | measured | `results/m9_staged_dram_ikv/summary.json` › `prelude_coda_decode_tps` | M9 |
| `m9.prelude_coda_speedup` | 1.2004x | 1.2004 x | measured | `results/m9_staged_dram_ikv/summary.json` › `prelude_coda_speedup` | M9 |
| `m9.ram_cache_mib` | 6,144 MiB | 6144 MiB | measured | `results/m9_staged_dram_ikv/summary.json` › `ram_cache_mib` | M9 |
| `m9.dma_ring_bytes` | 268,435,456 B | 268435456 B | measured | `results/m9_staged_dram_ikv/summary.json` › `ram_stats.dma_staging_bytes` | M9 |
| `m9.dma_ring_mib` | 256 MiB | 256 MiB | derived | dma_staging_bytes / 2^20 | M9 |
| `m9.ram_32k_tokens` | 32,417 | 32417 tokens | measured | `results/m9_staged_dram_ikv/summary.json` › `ram_32k_tokens` | M9 |
| `m9.ram_32k_bytes` | 350,178,520 B | 350178520 B | measured | `results/m9_staged_dram_ikv/summary.json` › `ram_32k_bytes` | M9 |
| `m9.ram_32k_mib` | 334.0 MiB | 333.95626068115234 MiB | derived | bytes / 2^20 | M9 |
| `m9.ram_32k_load_ms` | 21.62 ms | 21.62 ms | measured | `results/m9_staged_dram_ikv/summary.json` › `ram_32k_load_ms` | M9 |
| `m9.ram_100k_tokens` | 100,056 | 100056 tokens | measured | `results/m9_staged_dram_ikv/summary.json` › `ram_100k_tokens` | M9 |
| `m9.ram_100k_bytes` | 974,351,212 B | 974351212 B | measured | `results/m9_staged_dram_ikv/summary.json` › `ram_100k_bytes` | M9 |
| `m9.ram_100k_mib` | 929.2 MiB | 929.2137260437012 MiB | derived | bytes / 2^20 | M9 |
| `m9.ram_100k_load_ms` | 67.79 ms | 67.79 ms | measured | `results/m9_staged_dram_ikv/summary.json` › `ram_100k_load_ms` | M9 |
| `m9.ram_240k_tokens` | 241,483 | 241483 tokens | measured | `results/m9_staged_dram_ikv/summary.json` › `ram_240k_tokens` | M9 |
| `m9.ram_240k_bytes` | 2,279,439,568 B | 2279439568 B | measured | `results/m9_staged_dram_ikv/summary.json` › `ram_240k_bytes` | M9 |
| `m9.ram_240k_mib` | 2,173.8 MiB | 2173.842971801758 MiB | derived | bytes / 2^20 | M9 |
| `m9.ram_240k_load_ms` | 173.47 ms | 173.47 ms | measured | `results/m9_staged_dram_ikv/summary.json` › `ram_240k_load_ms` | M9 |
| `m9.ram_32k_save_ms` | 84.25 ms | 84.25 ms | measured | `results/m9_staged_dram_ikv/summary.json` › `ram_32k_save_ms` | M9 |
| `m9.nvme_100k_load_ms` | 701.63 ms | 701.63 ms | measured | `results/m9_staged_dram_ikv/summary.json` › `nvme_100k_load_ms` | M9 |
| `m9.ram_100k_speedup_vs_nvme` | 10.35x | 10.35 x | measured | `results/m9_staged_dram_ikv/summary.json` › `ram_100k_speedup_vs_nvme` | M9 |
| `m9.parity` | 3/3 | 3/3 (value 1, exact matches) | derived | count(parity[*].match && match_tokens && logits_restored && needle) / count(parity) | M9 |
| `m9.bos_strip_tokens` | 8 | 8 tokens | measured | `results/m9_staged_dram_ikv/summary.json` › `bos_strip_tokens` | M9 |
| `m9.checks` | 16/16 | 16/16 (value 1, checks) | derived | count(checks[*].ok) / count(checks) | M9 |
| `m10.capture_tokens` | 2,048 | 2048 tokens | measured | `results/m10_wht_3m_pool/summary.json` › `capture.n_tokens` | M10 |
| `m10.n_prompt_tokens` | 2,748 | 2748 tokens | measured | `results/m10_wht_3m_pool/summary.json` › `n_prompt_tokens` | M10 |
| `m10.kv_heads` | 8 | 8 heads | measured | `results/m10_wht_3m_pool/summary.json` › `capture.kv_heads` | M10 |
| `m10.global_passes` | 8 | 8 passes | measured | `results/m10_wht_3m_pool/summary.json` › `global_passes.passes` | M10 |
| `m10.kv_bytes_per_token` | 8,448 B/tok | 8448 B/token | measured | `results/m10_wht_3m_pool/summary.json` › `global_passes.kv_bytes_per_token` | M10 |
| `m10.kv_kib_per_token` | 8.25 KiB/tok | 8.25 KiB/token | measured | `results/m10_wht_3m_pool/summary.json` › `global_passes.kv_kib_per_token` | M10 |
| `fp16.bytes_per_vec` | 256 B | 256 B/vector | derived | 128 dims x 2 B (FP16) | M10 |
| `fp16.kib_per_tok` | 32.00 KiB/tok | 32 KiB/token | derived | bytes_per_vec x global passes x KV heads x 2 (K+V) / 1024 | M10 |
| `m10.q4_0.bytes_per_vec` | 72 B | 72 B/vector | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=q4_0].bytes_per_vec` | M10 |
| `m10.q4_0.kib_per_tok` | 9.00 KiB/tok | 9 KiB/token | derived | bytes_per_vec x global passes x KV heads x 2 (K+V) / 1024 | M10 |
| `m10.q4_0.cos` | 0.99784 | 0.9978388387669233 cosine | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=q4_0].attention_cosine` | M10 |
| `m10.q4_0.mse` | 0.003097 | 0.0030971076887904114 MSE | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=q4_0].attention_mse` | M10 |
| `m10.q4_0.kl` | 0.010482 | 0.010482150688327934 nats (KL) | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=q4_0].output_logit_kl` | M10 |
| `m10.q4_0.top1` | True | true bool | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=q4_0].top1_match` | M10 |
| `m10.wht_kv4.bytes_per_vec` | 66 B | 66 B/vector | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_kv4].bytes_per_vec` | M10 |
| `m10.wht_kv4.kib_per_tok` | 8.25 KiB/tok | 8.25 KiB/token | derived | bytes_per_vec x global passes x KV heads x 2 (K+V) / 1024 | M10 |
| `m10.wht_kv4.cos` | 0.99853 | 0.9985262509413814 cosine | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_kv4].attention_cosine` | M10 |
| `m10.wht_kv4.mse` | 0.002087 | 0.0020872743614006235 MSE | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_kv4].attention_mse` | M10 |
| `m10.wht_kv4.kl` | 0.001543 | 0.0015426716192926736 nats (KL) | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_kv4].output_logit_kl` | M10 |
| `m10.wht_kv4.top1` | True | true bool | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_kv4].top1_match` | M10 |
| `m10.wht_kv4.kl_ratio` | 6.79x | 6.794803610332884 x lower KL than q4_0 | derived | q4_0 output_logit_kl / variant output_logit_kl | M10 |
| `m10.wht_kv4_dc.bytes_per_vec` | 66 B | 66 B/vector | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_kv4_dc].bytes_per_vec` | M10 |
| `m10.wht_kv4_dc.kib_per_tok` | 8.25 KiB/tok | 8.25 KiB/token | derived | bytes_per_vec x global passes x KV heads x 2 (K+V) / 1024 | M10 |
| `m10.wht_kv4_dc.cos` | 0.99864 | 0.9986424383691775 cosine | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_kv4_dc].attention_cosine` | M10 |
| `m10.wht_kv4_dc.mse` | 0.001887 | 0.001887310063825214 MSE | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_kv4_dc].attention_mse` | M10 |
| `m10.wht_kv4_dc.kl` | 0.001878 | 0.0018776806041404402 nats (KL) | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_kv4_dc].output_logit_kl` | M10 |
| `m10.wht_kv4_dc.top1` | True | true bool | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_kv4_dc].top1_match` | M10 |
| `m10.wht_kv4_dc.kl_ratio` | 5.58x | 5.582499316025276 x lower KL than q4_0 | derived | q4_0 output_logit_kl / variant output_logit_kl | M10 |
| `m10.wht_tiered_swa.bytes_per_vec` | 66 B | 66 B/vector | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_tiered_swa].bytes_per_vec` | M10 |
| `m10.wht_tiered_swa.kib_per_tok` | 8.25 KiB/tok | 8.25 KiB/token | derived | bytes_per_vec x global passes x KV heads x 2 (K+V) / 1024 | M10 |
| `m10.wht_tiered_swa.cos` | 0.99853 | 0.9985262509413814 cosine | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_tiered_swa].attention_cosine` | M10 |
| `m10.wht_tiered_swa.mse` | 0.002087 | 0.0020872743614006235 MSE | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_tiered_swa].attention_mse` | M10 |
| `m10.wht_tiered_swa.kl` | 0.001982 | 0.0019815432292454877 nats (KL) | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_tiered_swa].output_logit_kl` | M10 |
| `m10.wht_tiered_swa.top1` | True | true bool | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_tiered_swa].top1_match` | M10 |
| `m10.wht_tiered_swa.kl_ratio` | 5.29x | 5.289892510858429 x lower KL than q4_0 | derived | q4_0 output_logit_kl / variant output_logit_kl | M10 |
| `m10.wht_combined.bytes_per_vec` | 66 B | 66 B/vector | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_combined].bytes_per_vec` | M10 |
| `m10.wht_combined.kib_per_tok` | 8.25 KiB/tok | 8.25 KiB/token | derived | bytes_per_vec x global passes x KV heads x 2 (K+V) / 1024 | M10 |
| `m10.wht_combined.cos` | 0.99864 | 0.9986424383691775 cosine | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_combined].attention_cosine` | M10 |
| `m10.wht_combined.mse` | 0.001887 | 0.001887310063825214 MSE | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_combined].attention_mse` | M10 |
| `m10.wht_combined.kl` | 0.001865 | 0.0018646172615649462 nats (KL) | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_combined].output_logit_kl` | M10 |
| `m10.wht_combined.top1` | True | true bool | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_combined].top1_match` | M10 |
| `m10.wht_combined.kl_ratio` | 5.62x | 5.621609809366678 x lower KL than q4_0 | derived | q4_0 output_logit_kl / variant output_logit_kl | M10 |
| `m10.size_reduction_pct` | 8.3% | 8.333333333333337 % | derived | 1 - wht_kv4 bytes_per_vec / q4_0 bytes_per_vec | M10 |
| `m10.sink_err` | 5.11e-15 | 5.10702591327572e-15 max abs error | measured | `results/m10_wht_3m_pool/summary.json` › `variants[name=wht_kv4_dc].sink_fold_equiv_max_err` | M10 |
| `m10.swa.payload_mib` | 26.25 MiB | 26.25 MiB | measured | `results/m10_wht_3m_pool/summary.json` › `tiered_swa.payload_mib` | M10 |
| `m10.swa.payload_bytes` | 27,525,120 B | 27525120 B | measured | `results/m10_wht_3m_pool/summary.json` › `tiered_swa.payload_bytes` | M10 |
| `m10.swa.fp16_bytes` | 167,772,160 B | 167772160 B | measured | `results/m10_wht_3m_pool/summary.json` › `tiered_swa.fp16_bytes` | M10 |
| `m10.swa.q4_0_padded_bytes` | 197,132,288 B | 197132288 B | measured | `results/m10_wht_3m_pool/summary.json` › `tiered_swa.q4_0_padded_bytes` | M10 |
| `m10.swa.fp16_mib` | 160.0 MiB | 160 MiB | derived | fp16_bytes / 2^20 | M10 |
| `m10.swa.q4_0_padded_mib` | 188.0 MiB | 188 MiB | derived | q4_0_padded_bytes / 2^20 | M10 |
| `m10.swa.ratio_vs_q4` | 7.16x | 7.161904761904762 x smaller | derived | q4_0_padded_bytes / payload_bytes | M10 |
| `m10.swa.inner` | 256 | 256 tokens | measured | `results/m10_wht_3m_pool/summary.json` › `tiered_swa.inner` | M10 |
| `m10.swa.outer` | 768 | 768 tokens | measured | `results/m10_wht_3m_pool/summary.json` › `tiered_swa.outer` | M10 |
| `m10.swa.passes` | 40 | 40 passes | measured | `results/m10_wht_3m_pool/summary.json` › `tiered_swa.passes` | M10 |
| `m10.swa.window` | 1,024 | 1024 tokens | measured | `results/m10_wht_3m_pool/summary.json` › `tiered_swa.window` | M10 |
| `m10.scan.256k.ms` | 0.352 ms | 0.35225600004196167 ms | measured | `results/m10_wht_3m_pool/summary.json` › `page_scan.256k.ms` | M10 |
| `m10.scan.256k.pages` | 4,096 | 4096 pages | measured | `results/m10_wht_3m_pool/summary.json` › `page_scan.256k.pages` | M10 |
| `m10.scan.256k.page_tokens` | 64 | 64 tokens/page | measured | `results/m10_wht_3m_pool/summary.json` › `page_scan.256k.page_tokens` | M10 |
| `m10.scan.256k.selected` | 26 | 26 pages | measured | `results/m10_wht_3m_pool/summary.json` › `page_scan.256k.selected_pages` | M10 |
| `m10.scan.256k.rank` | #1 | #1 (value 1, worst rank over depths 10/50/90) | derived | max(needle_rank[10], needle_rank[50], needle_rank[90]) | M10 |
| `m10.scan.1m.ms` | 1.353 ms | 1.3527040481567383 ms | measured | `results/m10_wht_3m_pool/summary.json` › `page_scan.1m.ms` | M10 |
| `m10.scan.1m.pages` | 8,192 | 8192 pages | measured | `results/m10_wht_3m_pool/summary.json` › `page_scan.1m.pages` | M10 |
| `m10.scan.1m.page_tokens` | 128 | 128 tokens/page | measured | `results/m10_wht_3m_pool/summary.json` › `page_scan.1m.page_tokens` | M10 |
| `m10.scan.1m.selected` | 18 | 18 pages | measured | `results/m10_wht_3m_pool/summary.json` › `page_scan.1m.selected_pages` | M10 |
| `m10.scan.1m.rank` | #1 | #1 (value 1, worst rank over depths 10/50/90) | derived | max(needle_rank[10], needle_rank[50], needle_rank[90]) | M10 |
| `m10.pool.unique_tokens` | 3,121,472 | 3121472 tokens | measured | `results/m10_wht_3m_pool/summary.json` › `pool.unique_tokens` | M10 |
| `m10.pool.unique_pages` | 48,773 | 48773 pages | measured | `results/m10_wht_3m_pool/summary.json` › `pool.unique_pages` | M10 |
| `m10.pool.tier1_pages` | 11,914 | 11914 pages | measured | `results/m10_wht_3m_pool/summary.json` › `pool.tier1_pages` | M10 |
| `m10.pool.tier2_pages` | 36,859 | 36859 pages | measured | `results/m10_wht_3m_pool/summary.json` › `pool.tier2_pages` | M10 |
| `m10.pool.tier1_mib` | 6,143.2 MiB | 6143.15625 MiB | measured | `results/m10_wht_3m_pool/summary.json` › `pool.tier1_mib` | M10 |
| `m10.pool.tier2_mib` | 19,005.4 MiB | 19005.421875 MiB | measured | `results/m10_wht_3m_pool/summary.json` › `pool.tier2_mib` | M10 |
| `m10.pool.dedup_hits` | 240 | 240 hits | measured | `results/m10_wht_3m_pool/summary.json` › `pool.dedup_hits` | M10 |
| `m10.pool.rss_mib` | 8,194 MiB | 8194 MiB | measured | `results/m10_wht_3m_pool/summary.json` › `pool.process_rss_mib` | M10 |
| `m10.pool.sessions` | 16 | 16 sessions | measured | `results/m10_wht_3m_pool/summary.json` › `pool.sessions` | M10 |
| `m10.pool.cartridges` | 75 | 75 cartridges | measured | `results/m10_wht_3m_pool/summary.json` › `pool.tier2.cartridges` | M10 |
| `m10.pool.cartridge_bytes` | 268,435,456 B | 268435456 B | measured | `results/m10_wht_3m_pool/summary.json` › `pool.tier2.cartridge_bytes` | M10 |
| `m10.pool.cartridge_mib` | 256 MiB | 256 MiB | derived | cartridge_bytes / 2^20 | M10 |
| `m10.pool.needle_pct` | 100.0% | 100 % | measured | `results/m10_wht_3m_pool/summary.json` › `pool.needle_reconstruction_pct` | M10 |
| `m10.pool.swap_240k_dram_ms` | 1.13 ms | 1.1254000000917586 ms | measured | `results/m10_wht_3m_pool/summary.json` › `pool.swap_240k_dram_ms` | M10 |
| `m10.pool.swap_100k_nvme_ms` | 292.42 ms | 292.4222000001464 ms | measured | `results/m10_wht_3m_pool/summary.json` › `pool.swap_100k_nvme_ms` | M10 |
| `m10.pool.swap_240k_nvme_ms` | 752.69 ms | 752.6926999998977 ms | measured | `results/m10_wht_3m_pool/summary.json` › `pool.swap_240k_nvme_ms` | M10 |
| `m10.pool.page_tokens` | 64 | 64 tokens/page | derived | unique_tokens / unique_pages | M10 |
| `m10.pool.tier1_tokens` | 762,496 | 762496 tokens | derived | tier1_pages x page_tokens | M10 |
| `m10.pool.tier2_tokens` | 2,358,976 | 2358976 tokens | derived | tier2_pages x page_tokens | M10 |
| `m10.pool.total_mib` | 25,148.6 MiB | 25148.578125 MiB | derived | tier1_mib + tier2_mib | M10 |
| `m10.pool.total_gib` | 24.56 GiB | 24.559158325195312 GiB | derived | (tier1_mib + tier2_mib) / 1024 | M10 |
| `m10.cap.rss_mib` | 12,288 MiB | 12288 MiB | threshold | `results/m10_wht_3m_pool/summary.json` › `gates[name=process_rss_mib].detail` | M10 |
| `m10.cap.tier1_mib` | 6,656 MiB | 6656 MiB | threshold | `results/m10_wht_3m_pool/summary.json` › `gates[name=tier1_ram_cap].detail` | M10 |
| `m10.free_system_ram_mib` | 13,591 MiB | 13591 MiB | measured | `results/m10_wht_3m_pool/summary.json` › `free_system_ram_mib` | M10 |
| `m10.gates` | 20/20 | 20/20 (value 1, gates) | derived | count(gates[*].ok) / count(gates) | M10 |
| `m1.prefill_tps` | 487.48 tok/s | 487.48499249979244 tok/s | measured | `results/m1_swarm_max/summary.json` › `prefill_tps` | M1 |
| `m1.cold_prefill_32k_s` | ≈ 66.5 s | 66.49845738587287 s | derived | cartridge tokens / M1 prefill tok/s | M1 + M9 |
| `m1.cold_prefill_100k_s` | ≈ 205 s | 205.24939544686106 s | derived | cartridge tokens / M1 prefill tok/s | M1 + M9 |
| `m1.cold_prefill_240k_s` | ≈ 495 s | 495.36499321074547 s | derived | cartridge tokens / M1 prefill tok/s | M1 + M9 |
| `e55.peak_vram_mib` | 22,647 MiB | 22647 MiB | measured | `results/e55_ram_ikv/summary.json` › `peak_vram_mib` | E55 |
| `e55.ram_32k_load_ms` | 16.84 ms | 16.84 ms | measured | `results/e55_ram_ikv/summary.json` › `ram_32k_load_ms` | E55 |
| `e55.ram_100k_load_ms` | 48.24 ms | 48.24 ms | measured | `results/e55_ram_ikv/summary.json` › `ram_100k_load_ms` | E55 |
| `e55.nvme_100k_load_ms` | 582.18 ms | 582.18 ms | measured | `results/e55_ram_ikv/summary.json` › `nvme_100k_load_ms` | E55 |
| `e55.swap_parity` | 0 | 0 exact matches | measured | `results/e55_ram_ikv/summary.json` › `swap_parity` | E55 |
| `e55.prefill_speedup` | 0.8525x | 0.8525 x | measured | `results/e55_ram_ikv/summary.json` › `prelude_coda_prefill_speedup` | E55 |
| `e55.decode_speedup` | 1.2349x | 1.2349 x | measured | `results/e55_ram_ikv/summary.json` › `prelude_coda_decode_speedup` | E55 |
| `e56.q4_0.kl` | 0.07852 | 0.07852478722368625 nats (KL) | measured | `results/e56_wht_sparse/summary.json` › `variants[name=q4_0].output_logit_kl` | E56 |
| `e56.q4_0.top1` | True | true bool | measured | `results/e56_wht_sparse/summary.json` › `variants[name=q4_0].top1_match` | E56 |
| `e56.wht_kv4.kl` | 0.14458 | 0.1445752426823727 nats (KL) | measured | `results/e56_wht_sparse/summary.json` › `variants[name=wht_kv4].output_logit_kl` | E56 |
| `e56.wht_kv4.top1` | False | false bool | measured | `results/e56_wht_sparse/summary.json` › `variants[name=wht_kv4].top1_match` | E56 |
| `e56.wht_kv4_dc.kl` | 0.31466 | 0.3146552944240493 nats (KL) | measured | `results/e56_wht_sparse/summary.json` › `variants[name=wht_kv4_dc].output_logit_kl` | E56 |
| `e56.wht_kv4_dc.top1` | False | false bool | measured | `results/e56_wht_sparse/summary.json` › `variants[name=wht_kv4_dc].top1_match` | E56 |
| `e56.wht_kv4.mse` | 0.000388 | 0.00038799245028457626 MSE | measured | `results/e56_wht_sparse/summary.json` › `variants[name=wht_kv4].attention_mse` | E56 |
| `e56.wht_kv4_dc.mse` | 0.000361 | 0.0003614910835862098 MSE | measured | `results/e56_wht_sparse/summary.json` › `variants[name=wht_kv4_dc].attention_mse` | E56 |
| `e56.n_prompt_tokens` | 1,993 | 1993 tokens | measured | `results/e56_wht_sparse/summary.json` › `n_prompt_tokens` | E56 |
| `m10.vram_peak_mib` | 21,829 MiB | 21829 MiB | measured | `results/m10_wht_3m_pool/summary.json` › `vram_used_mib` | M10 |
| `m10.pool.needle_sample` | 201/201 | 201/201 (value 201, pages read back byte-identical) | derived | sample = every floor(pages/200)-th stored page, first 200, plus 1 planted page evicted to Tier 2 (bench/verify_m10_wht_3m_pool.py); needle_reconstruction_pct = 100.0 means all of them matched | M10 |
| `m9.cap.vram_free_mib` | 2,048 MiB | 2048 MiB | threshold | `bench/verify_m9_staged_dram_ikv.py` › `min_vram_free_mib` | M9 |
| `m9.cap.vram_used_mib` | 22,500 MiB | 22500 MiB | threshold | `results/m9_staged_dram_ikv/summary.json` › `gates[name=peak_vram_mib].detail` | M9 |
| `traps.t4.legacy_tps` | 27.27 tok/s | 27.27 tok/s | measured | `results/traps_ab/summary.json` › `traps[3].before` |  |
| `traps.t4.pc_tps` | 32.06 tok/s | 32.06 tok/s | measured | `results/traps_ab/summary.json` › `traps[3].after` |  |
| `traps.t4.speedup` | 1.1757x | 1.1757 x | measured | `results/traps_ab/summary.json` › `traps[3].speedup` |  |
| `traps.t4.prefill_ratio` | 0.828x | 0.828 x | measured | `results/traps_ab/summary.json` › `traps[3].matched_ab.prefill_ratio` |  |
| `m10.scale.tokens_per_gib` | 127,100 | 127100 tokens/GiB | derived | floor(2^30 / kv_bytes_per_token) | M10 |
| `m10.scale.dram_6gib` | 762,600 | 762600 tokens | derived | floor((6 x 2^30 B) / kv_bytes_per_token) | M10 |
| `m10.scale.dram_12gib` | 1,525,201 | 1525201 tokens | derived | floor((12 x 2^30 B) / kv_bytes_per_token) | M10 |
| `m10.scale.dram_32gib` | 4,067,203 | 4067203 tokens | derived | floor((32 x 2^30 B) / kv_bytes_per_token) | M10 |
| `m10.scale.nvme_100gib` | 12,710,012 | 12710012 tokens | derived | floor((100 x 2^30 B) / kv_bytes_per_token) | M10 |
| `m10.scale.nvme_500gib` | 63,550,060 | 63550060 tokens | derived | floor((500 x 2^30 B) / kv_bytes_per_token) | M10 |
| `m10.scale.nvme_1tb` | 118,371,212 | 118371212 tokens | derived | floor((10^12 B) / kv_bytes_per_token) | M10 |
| `m10.pool.tier1_gib` | 5.999 GiB | 5.999176025390625 GiB | derived | tier1_mib / 1024 | M10 |
| `m10.pool.tier2_gib` | 18.56 GiB | 18.559982299804688 GiB | derived | tier2_mib / 1024 | M10 |
| `m10.pool.rss_outside_tier1_mib` | 2,050.8 MiB | 2050.84375 MiB | derived | process_rss_mib - tier1_mib | M10 |
| `m10.pool.rss_headroom_mib` | 4,094 MiB | 4094 MiB | derived | cap.rss_mib - process_rss_mib | M10 |
| `m10.pool.swa_tail_total_bytes` | 440,401,920 B | 440401920 B | measured | `results/m10_wht_3m_pool/summary.json` › `pool.tiered_swa_tail_bytes_total` | M10 |
| `m10.pool.swa_tail_total_mib` | 420 MiB | 420 MiB | derived | tiered_swa_tail_bytes_total / 2^20 (equals sessions x 26.25 MiB) | M10 |
| `m10.cap.min_tokens` | 3,120,000 | 3120000 tokens | threshold | `results/m10_wht_3m_pool/summary.json` › `gates[name=pool_unique_tokens].detail` | M10 |
| `eng.arm0.launches` | 7,319 | 7319 launches/tok | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `audit.profiler_b1[0].executed_launches` |  |
| `eng.arm4.launches` | 3,265 | 3265 launches/tok | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `audit.profiler_b1[1].executed_launches` |  |
| `eng.arm5.launches` | 2,617 | 2617 launches/tok | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `audit.profiler_b1[3].executed_launches` |  |
| `eng.launch_reduction_pct` | -64.2% | 64.2437491460582 % | derived | (eng.arm0.launches - eng.arm5.launches) / eng.arm0.launches * 100 |  |
| `eng.stock.b1_tps` | 56.5 t/s | 56.510424779137615 tok/s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `slot_a_4k.g0[0].derived_tps_by_B.1` |  |
| `eng.stock.b4_tps` | 158.7 t/s | 158.7396074734273 tok/s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `slot_a_4k.g0[0].derived_tps_by_B.4` |  |
| `eng.stock.b8_tps` | 237.7 t/s | 237.74710846094257 tok/s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `slot_a_4k.g0[0].derived_tps_by_B.8` |  |
| `eng.stock.prefill4k_tps` | 1,431 t/s | 1430.96 tok/s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `slot_a_4k.prefill4096[0].data.fill.prefill_tps` |  |
| `eng.stock.prefill4k_s` | 2.86 s | 2.86242 s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `slot_a_4k.prefill4096[0].data.fill.wall_s` |  |
| `eng.flagship_be_q4.b1_tps` | 74.9 t/s | 74.92376507294028 tok/s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `slot_a_4k.g0[1].derived_tps_by_B.1` |  |
| `eng.flagship_fast_q4.b1_tps` | 85.0 t/s | 84.98667833690722 tok/s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `slot_a_4k.g0[2].derived_tps_by_B.1` |  |
| `eng.flagship.prefill4k_tps` | 1,832 t/s | 1832.37 tok/s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `slot_a_4k.prefill4096[1].data.fill.prefill_tps` |  |
| `eng.flagship.prefill4k_s` | 2.24 s | 2.23535 s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `slot_a_4k.prefill4096[1].data.fill.wall_s` |  |
| `eng.prefill4k_gain_pct` | +28.1% | 28.051797394755955 % | derived | (eng.flagship.prefill4k_tps - eng.stock.prefill4k_tps) / eng.stock.prefill4k_tps * 100 |  |
| `eng.be_q4.kl` | 0.0000 | 0 nats | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `slot_a_4k.kl[1].kl_mean` |  |
| `eng.be_f16.kl` | 0.0000 | 0 nats | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `slot_a_4k.kl[0].kl_mean` |  |
| `eng.be_f16.tok_match` | 160/160 | 160/160 (value 160, tokens) | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `slot_a_4k.kl[0].tok_match` |  |
| `eng.ptxas.v1_spill` | 56 B | 56 bytes | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `kernels.ptxas_attnres[0].kernels[1].spill_store_bytes` |  |
| `eng.ptxas.v2_spill` | 0 B | 0 bytes | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `kernels.ptxas_attnres[1].kernels[2].spill_store_bytes` |  |
| `eng.ptxas.v2_regs` | 62 regs | 62 registers | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `kernels.ptxas_attnres[1].kernels[2].registers` |  |
| `eng.be_q4_spec.b1_tps` | 79.5 t/s | 79.52317901688939 tok/s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.g0[0].derived_tps_by_B.1` |  |
| `eng.be_a2.b1_tps` | 83.5 t/s | 83.48464928171943 tok/s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.g0[1].derived_tps_by_B.1` |  |
| `eng.be_a2.b8_tps` | 284.2 t/s | 284.21101248275016 tok/s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.g0[1].derived_tps_by_B.8` |  |
| `eng.fast_a2.b1_tps` | 91.2 t/s | 91.22839042543158 tok/s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.g0[10].derived_tps_by_B.1` |  |
| `eng.fast_a2.b4_tps` | 203.4 t/s | 203.41792969907033 tok/s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.g0[10].derived_tps_by_B.4` |  |
| `eng.fast_a2.b8_tps` | 299.2 t/s | 299.2438482066249 tok/s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.g0[10].derived_tps_by_B.8` |  |
| `eng.fast_f16.b1_tps` | 93.4 t/s | 93.44571742630998 tok/s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.g0[15].derived_tps_by_B.1` |  |
| `eng.fast_a2_vs_stock_b1_pct` | +61.4% | 61.43639121805198 % | derived | (eng.fast_a2.b1_tps - eng.stock.b1_tps) / eng.stock.b1_tps * 100 |  |
| `eng.be_a2_vs_stock_b1_pct` | +47.7% | 47.73318305074941 % | derived | (eng.be_a2.b1_tps - eng.stock.b1_tps) / eng.stock.b1_tps * 100 |  |
| `rq.g0.fast_b1_tps` | 92.58 t/s | 92.58316272287975 tok/s | measured | `results/part2_systems/optional_levers.json` › `requant_coda_lmhead.g0[1].derived_tps_by_B.1` |  |
| `rq.g0.fast_b4_tps` | 210.5 t/s | 210.46539145311178 tok/s | measured | `results/part2_systems/optional_levers.json` › `requant_coda_lmhead.g0[1].derived_tps_by_B.4` |  |
| `rq.g0.fast_b8_tps` | 313.7 t/s | 313.745176276284 tok/s | measured | `results/part2_systems/optional_levers.json` › `requant_coda_lmhead.g0[1].derived_tps_by_B.8` |  |
| `rq.g0.be_b1_tps` | 86.80 t/s | 86.79689108851579 tok/s | measured | `results/part2_systems/optional_levers.json` › `requant_coda_lmhead.g0[0].derived_tps_by_B.1` |  |
| `rq.g0.be_b8_tps` | 298.4 t/s | 298.3627344495055 tok/s | measured | `results/part2_systems/optional_levers.json` › `requant_coda_lmhead.g0[0].derived_tps_by_B.8` |  |
| `rq.fast_vs_stock_b1_pct` | +63.8% | 63.83377595324568 % | derived | (rq.g0.fast_b1_tps - eng.stock.b1_tps) / eng.stock.b1_tps * 100 |  |
| `rq.model_bytes_orig` | 16.42 GiB | 17627940768 bytes | measured | `results/part2_systems/optional_levers.json` › `requant_coda_lmhead.requant_run.data.model_bytes` |  |
| `rq.model_bytes_new` | 14.41 GiB | 15477337632 bytes | measured | `results/part2_systems/optional_levers.json` › `requant_coda_lmhead.requant_run.data.gguf_bytes` |  |
| `rq.vram_saved_gib` | 2.00 GiB | 2.002905249595642 GiB | derived | (rq.model_bytes_orig - rq.model_bytes_new) / 2^30 |  |
| `rq.stream_peak_ws_mib` | 115.3 MiB | 115.3 MiB | measured | `results/part2_systems/optional_levers.json` › `requant_coda_lmhead.requant_run.data.requant_peak_working_set_mib` |  |
| `rq.stream_wall_s` | 292.5 s | 292.5 s | measured | `results/part2_systems/optional_levers.json` › `requant_coda_lmhead.requant_run.data.requant_wall_s` |  |
| `rq.kl_mean` | 4.76e-04 | 0.0004762282876040226 nats | measured | `results/part2_systems/optional_levers.json` › `requant_coda_lmhead.kl_cmp[0].data.kl_mean` |  |
| `rq.tok_match` | 160/160 | 160/160 (value 160, tokens) | measured | `results/part2_systems/optional_levers.json` › `requant_coda_lmhead.kl_cmp[0].data.tok_match` |  |
| `rq.top1_agree` | 10/10 | 10/10 (value 10, prompts) | measured | `results/part2_systems/optional_levers.json` › `requant_coda_lmhead.kl_cmp[0].data.top1_agree` |  |
| `rq.coda_only.kl` | 4.47e-04 | 0.0004468438194852459 nats | measured | `results/part2_systems/optional_levers.json` › `slot_e_appendix.idea6.kl_cmp[0].data.kl_mean` |  |
| `rq.lmhead_only.kl` | 9.21e-05 | 0.00009209111901518277 nats | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `kernels.kl_cmp[2].data.kl_mean` |  |
| `rq.lmhead_only.peak_ws_mib` | 115.7 MiB | 115.7 MiB | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `kernels.lm_head_stream_requant.fields.peak_working_set_mib` |  |
| `d0.probe_shipped_tps` | 86.15 t/s | 86.1459 tok/s | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D0_128k_cold0[7].data.phases[0].r.per_stream_tps` |  |
| `d0.probe_shipped_vram` | 20,406 MiB | 20406 MiB | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D0_128k_cold0[7].guard.vram_peak_used_mib` |  |
| `d0.probe_rq_tps` | 88.49 t/s | 88.4902 tok/s | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D0_128k_cold0[6].data.phases[0].r.per_stream_tps` |  |
| `d0.probe_rq_vram` | 18,356 MiB | 18356 MiB | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D0_128k_cold0[6].guard.vram_peak_used_mib` |  |
| `d0.prefill50_tps` | 1,994.4 t/s | 1994.39 tok/s | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D0_128k_cold0[0].data.fill.prefill_tps` |  |
| `d0.prefill95_tps` | 1,413.8 t/s | 1413.82 tok/s | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D0_128k_cold0[1].data.fill.prefill_tps` |  |
| `d0.fill50_fast_tps` | 46.40 t/s | 46.4039 tok/s | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D0_128k_cold0[2].data.phases[1].r.per_stream_tps` |  |
| `d0.fill50_stock_tps` | 38.25 t/s | 38.246 tok/s | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D0_128k_cold0[3].data.phases[1].r.per_stream_tps` |  |
| `d0.fill50_fast_ttft` | 674.0 ms | 674.011 ms | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D0_128k_cold0[2].data.phases[2].r.ttft_ms` |  |
| `d0.fill50_stock_ttft` | 864.8 ms | 864.849 ms | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D0_128k_cold0[3].data.phases[2].r.ttft_ms` |  |
| `d0.fill50_gain_pct` | +21.3% | 21.33007373320085 % | derived | (d0.fill50_fast_tps - d0.fill50_stock_tps) / d0.fill50_stock_tps * 100 |  |
| `d0.fill95_fast_tps` | 32.51 t/s | 32.5083 tok/s | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D0_128k_cold0[4].data.phases[1].r.per_stream_tps` |  |
| `d0.fill95_stock_tps` | 27.82 t/s | 27.818 tok/s | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D0_128k_cold0[5].data.phases[1].r.per_stream_tps` |  |
| `d0.fill95_fast_ttft` | 973.2 ms | 973.179 ms | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D0_128k_cold0[4].data.phases[2].r.ttft_ms` |  |
| `d0.fill95_stock_ttft` | 1049.6 ms | 1049.64 ms | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D0_128k_cold0[5].data.phases[2].r.ttft_ms` |  |
| `d0.fill95_fast_vram` | 19,262 MiB | 19262 MiB | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D0_128k_cold0[4].guard.vram_peak_used_mib` |  |
| `d0.fill95_gain_pct` | +16.9% | 16.86066575598532 % | derived | (d0.fill95_fast_tps - d0.fill95_stock_tps) / d0.fill95_stock_tps * 100 |  |
| `d1.n_ctx` | 458,752 | 458752 cells | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[3].data.n_ctx` |  |
| `d1.probe_416k_vram` | 22,624 MiB | 22624 MiB | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `probes[1].guard.vram_peak_used_mib` |  |
| `d1.probe_448k_vram` | 23,103 MiB | 23103 MiB | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `probes[2].guard.vram_peak_used_mib` |  |
| `d1.fill90_prefill_spike_vram` | 24,453 MiB | 24453 MiB | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[2].guard.vram_peak_used_mib` |  |
| `d1.fill50_fast_b4_stream` | 23.54 t/s | 23.5379 tok/s/stream | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[3].data.phases[0].r.per_stream_tps` |  |
| `d1.fill50_fast_b4_agg` | 94.15 t/s | 94.1515 tok/s | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[3].data.phases[0].r.aggregate_tps` |  |
| `d1.fill50_stock_b4_stream` | 20.02 t/s | 20.0201 tok/s/stream | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[4].data.phases[0].r.per_stream_tps` |  |
| `d1.fill50_stock_b4_agg` | 80.08 t/s | 80.0803 tok/s | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[4].data.phases[0].r.aggregate_tps` |  |
| `d1.fill50_fast_ttft` | 1,245 ms | 1245 ms | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[3].data.phases[2].r.ttft_ms` |  |
| `d1.fill50_stock_ttft` | 1,404 ms | 1403.96 ms | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[4].data.phases[2].r.ttft_ms` |  |
| `d1.fill50_fast_vram` | 22,683 MiB | 22683 MiB | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[3].guard.vram_peak_used_mib` |  |
| `d1.fill50_gain_pct` | +17.6% | 17.571340802493502 % | derived | (d1.fill50_fast_b4_stream - d1.fill50_stock_b4_stream) / d1.fill50_stock_b4_stream * 100 |  |
| `d1.fill90_fast_b4_stream` | 16.48 t/s | 16.4783 tok/s/stream | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[5].data.phases[0].r.per_stream_tps` |  |
| `d1.fill90_fast_b4_agg` | 65.91 t/s | 65.9133 tok/s | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[5].data.phases[0].r.aggregate_tps` |  |
| `d1.fill90_stock_b4_stream` | 14.60 t/s | 14.6032 tok/s/stream | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[6].data.phases[0].r.per_stream_tps` |  |
| `d1.fill90_stock_b4_agg` | 58.41 t/s | 58.4128 tok/s | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[6].data.phases[0].r.aggregate_tps` |  |
| `d1.fill90_fast_b1` | 13.27 t/s | 13.2743 tok/s | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[5].data.phases[1].r.per_stream_tps` |  |
| `d1.fill90_fast_vram` | 22,687 MiB | 22687 MiB | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[5].guard.vram_peak_used_mib` |  |
| `d1.fill90_fast_ws` | 1.62 GiB | 1.62 GiB | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[5].guard.child_peak_private_ws_gib` |  |
| `d1.fill90_gain_pct` | +12.8% | 12.840336364632421 % | derived | (d1.fill90_fast_b4_stream - d1.fill90_stock_b4_stream) / d1.fill90_stock_b4_stream * 100 |  |
| `env.262k.fast_50_b4` | 16.69 t/s | 16.6943 tok/s/stream | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.B1_fast_cold4.runs[0].data.phases[0].r.per_stream_tps` |  |
| `env.262k.stock_50_b4` | 13.82 t/s | 13.8171 tok/s/stream | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.B1_stock_cold4.runs[0].data.phases[0].r.per_stream_tps` |  |
| `env.262k.fast_90_b4` | 15.07 t/s | 15.0691 tok/s/stream | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.B1_measure_cold4.runs[0].data.phases[0].r.per_stream_tps` |  |
| `env.262k.stock_90_b4` | 13.94 t/s | 13.9376 tok/s/stream | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.B1_measure_cold4.runs[1].data.phases[0].r.per_stream_tps` |  |
| `env.262k.fast_90_vram` | 18,704 MiB | 18704 MiB | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.B1_measure_cold4.runs[0].guard.vram_peak_used_mib` |  |
| `env.262k.fast_90_ws` | 5.43 GiB | 5.43 GiB | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.B1_measure_cold4.runs[0].guard.child_peak_private_ws_gib` |  |
| `env.524k.fast_50_b4` | 14.91 t/s | 14.9096 tok/s/stream | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.B2_fast_cold4.runs[1].data.phases[0].r.per_stream_tps` |  |
| `env.524k.stock_50_b4` | 14.32 t/s | 14.3236 tok/s/stream | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.B2_stock_cold4.runs[1].data.phases[0].r.per_stream_tps` |  |
| `env.524k.fast_90_b4` | 11.22 t/s | 11.2186 tok/s/stream | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.B2_measure_cold4.runs[0].data.phases[0].r.per_stream_tps` |  |
| `env.524k.stock_90_b4` | 10.80 t/s | 10.8012 tok/s/stream | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.B2_measure_cold4.runs[1].data.phases[0].r.per_stream_tps` |  |
| `env.524k.fast_90_vram` | 22,325 MiB | 22325 MiB | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.B2_measure_cold4.runs[0].guard.vram_peak_used_mib` |  |
| `env.524k.fast_90_ws` | 5.71 GiB | 5.71 GiB | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.B2_measure_cold4.runs[0].guard.child_peak_private_ws_gib` |  |
| `env.624k_c6.fast_50_b4` | 12.36 t/s | 12.3575 tok/s/stream | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.C1_fast_cold6.runs[7].data.phases[0].r.per_stream_tps` |  |
| `env.624k_c6.stock_50_b4` | 11.89 t/s | 11.8923 tok/s/stream | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.C1_stock_cold6.runs[3].data.phases[0].r.per_stream_tps` |  |
| `env.624k_c6.fast_90_b4` | 10.15 t/s | 10.1538 tok/s/stream | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.C1_measure_cold6.runs[1].data.phases[0].r.per_stream_tps` |  |
| `env.624k_c6.stock_90_b4` | 9.31 t/s | 9.31353 tok/s/stream | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.C1_measure_cold6.runs[2].data.phases[0].r.per_stream_tps` |  |
| `env.624k_c6.fast_90_vram` | 22,736 MiB | 22736 MiB | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.C1_measure_cold6.runs[1].guard.vram_peak_used_mib` |  |
| `env.624k_c6.fast_90_ws` | 6.79 GiB | 6.79 GiB | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.C1_measure_cold6.runs[1].guard.child_peak_private_ws_gib` |  |
| `env.624k_c4.fast_50_b4` | 16.53 t/s | 16.5266 tok/s/stream | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D2_624k_cold4[0].data.phases[0].r.per_stream_tps` |  |
| `env.624k_c4.fast_90_b4` | 11.04 t/s | 11.0402 tok/s/stream | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D2_624k_cold4[3].data.phases[0].r.per_stream_tps` |  |
| `env.624k_c4.fast_90_vram` | 22,959 MiB | 22959 MiB | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D2_624k_cold4[3].guard.vram_peak_used_mib` |  |
| `env.624k_c4.fast_90_ws` | 4.05 GiB | 4.05 GiB | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D2_624k_cold4[3].guard.child_peak_private_ws_gib` |  |
| `env.624k_c4_vs_c6_50_pct` | +33.7% | 33.73740643334007 % | derived | (env.624k_c4.fast_50_b4 - env.624k_c6.fast_50_b4) / env.624k_c6.fast_50_b4 * 100 |  |
| `env.786k.fast_50_b4` | 10.58 t/s | 10.5833 tok/s/stream | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.C2_measure_cold10.runs[0].data.phases[0].r.per_stream_tps` |  |
| `env.786k.stock_50_b4` | 9.54 t/s | 9.5378 tok/s/stream | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.C2_measure_cold10.runs[1].data.phases[0].r.per_stream_tps` |  |
| `env.786k.fast_90_b4` | 7.88 t/s | 7.88122 tok/s/stream | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.C2_fast_cold10.runs[12].data.phases[0].r.per_stream_tps` |  |
| `env.786k.fast_90_vram` | 22,786 MiB | 22786 MiB | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.C2_fast_cold10.runs[12].guard.vram_peak_used_mib` |  |
| `env.786k.fast_90_ws` | 9.20 GiB | 9.2 GiB | measured | `results/part2_systems/uncapped_envelope.json` › `uncapped.C2_fast_cold10.runs[12].guard.child_peak_private_ws_gib` |  |
| `env.786k.fast_50_gain_pct` | +11.0% | 10.961647340057441 % | derived | (env.786k.fast_50_b4 - env.786k.stock_50_b4) / env.786k.stock_50_b4 * 100 |  |
| `kv.all_q4.kl` | 1.53e-02 | 0.015344526642816502 nats | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.kl_cmp[5].data.kl_mean` |  |
| `kv.all_q4.tok` | 126/160 | 126/160 (value 126, tokens) | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.kl_cmp[5].data.tok_match` |  |
| `kv.all_q4_rotoff.kl` | 1.70e-02 | 0.017014668160873006 nats | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.kl_cmp[11].data.kl_mean` |  |
| `kv.swa_f16.kl` | 4.49e-03 | 0.004494482364272076 nats | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.kl_cmp[6].data.kl_mean` |  |
| `kv.swa_f16.tok` | 150/160 | 150/160 (value 150, tokens) | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.kl_cmp[6].data.tok_match` |  |
| `kv.swa_f16_kl_ratio` | 3.4× | 3.4140809550827314 x | derived | kv.all_q4.kl / kv.swa_f16.kl |  |
| `kv.swa_q8.kl` | 3.64e-03 | 0.003643513987644148 nats | measured | `results/part2_systems/optional_levers.json` › `slot_e_appendix.idea7.kl_cmp[3].data.kl_mean` |  |
| `kv.swa_q8.tok` | 149/160 | 149/160 (value 149, tokens) | measured | `results/part2_systems/optional_levers.json` › `slot_e_appendix.idea7.kl_cmp[3].data.tok_match` |  |
| `kv.swa_q8_kl_ratio` | 4.2× | 4.211463629576481 x | derived | kv.all_q4.kl / kv.swa_q8.kl |  |
| `kv.wht_all.kl` | 7.74e-03 | 0.007744321739024835 nats | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.kl_cmp[9].data.kl_mean` |  |
| `kv.wht_all.tok` | 141/160 | 141/160 (value 141, tokens) | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.kl_cmp[9].data.tok_match` |  |
| `kv.all_q8.kl` | 2.81e-03 | 0.0028146896924833857 nats | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.kl_cmp[10].data.kl_mean` |  |
| `kv.all_q8.tok` | 158/160 | 158/160 (value 158, tokens) | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.kl_cmp[10].data.tok_match` |  |
| `cpu.iq4_t12_b4` | 28.08 t/s | 28.0793 tok/s/stream | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `exp4_cpu_moe.runs[0].data.phases[0].r.per_stream_tps` |  |
| `cpu.q8_t12_b4` | 24.01 t/s | 24.009 tok/s/stream | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `exp4_cpu_moe.runs[3].data.phases[0].r.per_stream_tps` |  |
| `cpu.iq4_vs_q8_pct` | +17.0% | 16.95322587363072 % | derived | (cpu.iq4_t12_b4 - cpu.q8_t12_b4) / cpu.q8_t12_b4 * 100 |  |
| `kill.loop2.kl` | 0.525 | 0.5248508278887315 nats | measured | `results/part2_systems/optional_levers.json` › `slot_e_appendix.idea8.kl_cmp[2].data.kl_mean` |  |
| `kill.loop2.tok` | 57/160 | 57/160 (value 57, tokens) | measured | `results/part2_systems/optional_levers.json` › `slot_e_appendix.idea8.kl_cmp[2].data.tok_match` |  |
| `kill.loop4.kl` | 0.236 | 0.23627487413613363 nats | measured | `results/part2_systems/optional_levers.json` › `slot_e_appendix.idea8.kl_cmp[5].data.kl_mean` |  |
| `kill.suffix.speedup` | 0.898× | 0.8976141262121636 x | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `exp5_dram_and_spec.suffix_speculation[0].data.fixed.overall.speedup` |  |
| `kill.suffix.alpha` | 16.7% | 0.16654163540885222 % | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `exp5_dram_and_spec.suffix_speculation[0].data.fixed.overall.alpha` |  |
| `kill.suffix.mismatches` | 28 mismatches (19 prompts) | 28 mismatches | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `exp5_dram_and_spec.suffix_speculation[0].data.fixed.overall.true_mismatches` |  |
| `swap.pcie_pinned_d2h_gbs` | 26.39 GB/s | 26.3858 GB/s | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `exp5_dram_and_spec.raw_pcie.data.raw[0].pinned_d2h.gb_per_s_median` |  |
| `swap.pcie_pinned_h2d_gbs` | 26.85 GB/s | 26.8462 GB/s | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `exp5_dram_and_spec.raw_pcie.data.raw[1].pinned_h2d.gb_per_s_median` |  |
| `swap.pcie_pageable_h2d_gbs` | 13.18 GB/s | 13.1829 GB/s | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `exp5_dram_and_spec.raw_pcie.data.raw[1].pageable_h2d.gb_per_s_median` |  |
| `swap.s128k.bytes` | 1.37 GB | 1371703628 bytes | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `exp5_dram_and_spec.state_seq[0].data.state_size_bytes` |  |
| `swap.s128k.get_pinned_ms` | 59.2 ms | 59.2098 ms | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `exp5_dram_and_spec.state_seq[0].data.get_pinned.median_ms` |  |
| `swap.s128k.set_pinned_ms` | 69.8 ms | 69.8036 ms | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `exp5_dram_and_spec.state_seq[0].data.set_pinned.median_ms` |  |
| `swap.s128k.set_pinned_gbs` | 19.65 GB/s | 19.6509 GB/s | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `exp5_dram_and_spec.state_seq[0].data.set_pinned.gb_per_s_median` |  |
| `swap.s128k.set_pageable_ms` | 174.6 ms | 174.57 ms | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `exp5_dram_and_spec.state_seq[0].data.set_pageable.median_ms` |  |
| `swap.s240k.bytes` | 2.43 GB | 2430044492 bytes | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `exp5_dram_and_spec.state_seq[1].data.state_size_bytes` |  |
| `swap.s240k.get_pinned_ms` | 103.3 ms | 103.29 ms | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `exp5_dram_and_spec.state_seq[1].data.get_pinned.median_ms` |  |
| `swap.s240k.set_pinned_ms` | 132.6 ms | 132.589 ms | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `exp5_dram_and_spec.state_seq[1].data.set_pinned.median_ms` |  |
| `swap.s240k.set_pageable_ms` | 343.6 ms | 343.609 ms | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `exp5_dram_and_spec.state_seq[1].data.set_pageable.median_ms` |  |
| `pool.wht_bytes_per_tok` | 8,448 B/tok | 8448 B/tok | measured | `results/m10_wht_3m_pool/summary.json` › `global_passes.kv_bytes_per_token` |  |
| `pool.tokens_per_100gib` | 12.71M | 12710012 tokens | derived | floor(100 * 2^30 / pool.wht_bytes_per_tok) |  |
| `m11.specialist_cells` | 516,096 | 516096 cells | measured | `results/m11_live_carve_up/summary.json` › `specialist_total` | M11 |
| `m11.arena_cells` | 524,288 | 524288 cells | measured | `results/m11_live_carve_up/summary.json` › `arena_cells` | M11 |
| `m11.churn_cycles` | 60 cycles | 60 cycles | measured | `results/m11_live_carve_up/summary.json` › `churn_cycles` | M11 |
| `m11.peak_vram_mib` | 19,191 MiB | 19191 MiB | measured | `results/m11_live_carve_up/summary.json` › `peak_vram_mib` | M11 |
| `m12.yield_ms` | 25.93 ms | 25.933199998689815 ms | measured | `results/m12_tool_yield_scheduler/summary.json` › `grace0.yield_ms` | M12 |
| `m12.dram_swap_in_ms` | 6.84 ms | 6.841499998699874 ms | measured | `results/m12_tool_yield_scheduler/summary.json` › `dram_swap_in_ms` | M12 |
| `m12.nvme_swap_in_ms` | 63.57 ms | 63.5736000003817 ms | measured | `results/m12_tool_yield_scheduler/summary.json` › `nvme_swap_in_ms` | M12 |
| `m12.peak_vram_mib` | 17,291 MiB | 17291 MiB | measured | `results/m12_tool_yield_scheduler/summary.json` › `peak_vram_mib` | M12 |
| `m4.board_wall_ms` | 101.6 s | 101633.26249999955 ms | measured | `results/m4_board_kv/summary.json` › `board_kv_wall_ms` | M4 |
| `m4.text_append_wall_ms` | 171.0 s | 170987.85950000456 ms | measured | `results/m4_board_kv/summary.json` › `text_bus_append_wall_ms` | M4 |
| `m4.text_prefix_wall_ms` | 881.2 s | 881191.875299999 ms | measured | `results/m4_board_kv/summary.json` › `text_bus_wall_ms` | M4 |
| `m4.dist_mean_ms` | 3.01 ms | 3.007576822919115 ms | measured | `results/m4_board_kv/summary.json` › `reader_dist_ms_mean` | M4 |
| `m4.solve_correct` | 48/48 | 48/48 (value 48, tasks) | measured | `results/m4_board_kv/summary.json` › `board_kv_answers_correct` | M4 |
| `m4.speedup_vs_append` | 1.68× | 1.6824005772716912 x | derived | m4.text_append_wall_ms / m4.board_wall_ms |  |
| `m4.speedup_vs_prefix` | 8.67× | 8.670309833849947 x | derived | m4.text_prefix_wall_ms / m4.board_wall_ms |  |
| `m14.doc100k_tokens` | 100,130 | 100130 tokens | measured | `results/m14_kv_infill/summary.json` › `scenarios[2].doc_tokens` | M14 |
| `m14.dram_100k_ms` | 205.35 ms | 205.34760000009555 ms | measured | `results/m14_kv_infill/summary.json` › `scenarios[2].total_ms` | M14 |
| `m14.nvme_100k_ms` | 693.09 ms | 693.093099995167 ms | measured | `results/m14_kv_infill/summary.json` › `scenarios[3].total_ms` | M14 |
| `m14.baseline_100k_ms` | 350.9 s | 350879.10730000294 ms | measured | `results/m14_kv_infill/summary.json` › `baseline.100k_prefill_ms` | M14 |
| `m14.dram_100k_speedup` | 1,708.7× | 1708.7080993390703 x | measured | `results/m14_kv_infill/summary.json` › `scenarios[2].speedup` | M14 |
| `m14.nvme_100k_speedup` | 506.3× | 506.2510466522458 x | measured | `results/m14_kv_infill/summary.json` › `scenarios[3].speedup` | M14 |
| `trap.nbatch_delta_mib` | 350 MiB | 350 MiB | measured | `results/traps_ab/summary.json` › `traps[0].delta` |  |
| `trap.wddm_uva_delta_mib` | 795 MiB | 795 MiB | measured | `results/traps_ab/summary.json` › `traps[1].delta` |  |
| `trap.dma_ring_speedup` | 1.29× | 1.29 x | measured | `results/traps_ab/summary.json` › `traps[2].speedup` |  |
| `trap.moe_legacy_tps` | 27.27 t/s | 27.27 tok/s | measured | `results/traps_ab/summary.json` › `traps[3].before` |  |
| `trap.moe_pc_tps` | 32.06 t/s | 32.06 tok/s | measured | `results/traps_ab/summary.json` › `traps[3].after` |  |
| `trap.moe_vram_delta_mib` | 5,220 MiB | 5220 MiB | measured | `results/traps_ab/summary.json` › `traps[3].matched_ab.vram_delta_mib` |  |
| `trap.lru_before_ms` | 84,836.4 ms | 84836.39 ms | measured | `results/traps_ab/summary.json` › `traps[4].before` |  |
| `trap.lru_after_ms` | 10.71 ms | 10.71 ms | measured | `results/traps_ab/summary.json` › `traps[4].after` |  |
| `trap.lru_speedup` | 7,924× | 7924 x | measured | `results/traps_ab/summary.json` › `traps[4].speedup` |  |
| `eng.be_a2.b4_tps` | 196.4 t/s | 196.4294045681189 tok/s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.g0[1].derived_tps_by_B.4` |  |
| `d0.fill50_fast_vram` | 19,093 MiB | 19093 MiB | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D0_128k_cold0[2].guard.vram_peak_used_mib` |  |
| `d1.fill50_stock_vram` | 22,646 MiB | 22646 MiB | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[4].guard.vram_peak_used_mib` |  |
| `d1.fill90_fast_ttft` | 2,170 ms | 2169.75 ms | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[5].data.phases[2].r.ttft_ms` |  |
| `d1.fill90_stock_ttft` | 2,177 ms | 2177.39 ms | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[6].data.phases[2].r.ttft_ms` |  |
| `d1.fill90_stock_vram` | 22,652 MiB | 22652 MiB | measured | `results/part2_systems/gpu_only_and_dram_swap.json` › `D1_4x114688_cold0[6].guard.vram_peak_used_mib` |  |
| `kv.all_q4_rotoff.tok` | 122/160 | 122/160 (value 122, tokens) | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.kl_cmp[11].data.tok_match` |  |
| `m4.peak_vram_mib` | 21,410 MiB | 21410 MiB | measured | `results/m4_board_kv/summary.json` › `peak_vram_mib` | M4 |
| `m14.peak_vram_mib` | 18,142 MiB | 18142 MiB | measured | `results/m14_kv_infill/summary.json` › `vram.peak_mib` | M14 |
| `eng.be_q4_spec.b4_tps` | 189.8 t/s | 189.80464364629074 tok/s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.g0[0].derived_tps_by_B.4` |  |
| `eng.be_q4_spec.b8_tps` | 275.9 t/s | 275.85350797700926 tok/s | measured | `results/part2_systems/audit_and_4k_waterfall.json` › `live_wht.g0[0].derived_tps_by_B.8` |  |
| `p3.base.prefill_tps` | 266.4 tok/s | 266.4 tok/s | measured | `results/phase3_q8first/summary.json` › `runs[name=baseline_524k_cold12_nb128].prefill_tps` | Phase-3 |
| `p3.base.decode_tps` | 28.97 tok/s | 28.97 tok/s | measured | `results/phase3_q8first/summary.json` › `runs[name=baseline_524k_cold12_nb128].decode_tps` | Phase-3 |
| `p3.base.peak_vram_mib` | 17,139 MiB | 17139 MiB | measured | `results/phase3_q8first/summary.json` › `runs[name=baseline_524k_cold12_nb128].peak_vram_mib` | Phase-3 |
| `p3.c4.prefill_tps` | 1,100.02 tok/s | 1100.02 tok/s | measured | `results/phase3_q8first/summary.json` › `runs[name=q8first_524k_cold4_nb512].prefill_tps` | Phase-3 |
| `p3.c4.decode_tps` | 36.4 tok/s | 36.4 tok/s | measured | `results/phase3_q8first/summary.json` › `runs[name=q8first_524k_cold4_nb512].decode_tps` | Phase-3 |
| `p3.c4.peak_vram_mib` | 21,805 MiB | 21805 MiB | measured | `results/phase3_q8first/summary.json` › `runs[name=q8first_524k_cold4_nb512].peak_vram_mib` | Phase-3 |
| `p3.c6.prefill_tps` | 1,004.18 tok/s | 1004.18 tok/s | measured | `results/phase3_q8first/summary.json` › `runs[name=q8first_524k_cold6_nb512].prefill_tps` | Phase-3 |
| `p3.c6.decode_tps` | 35.3 tok/s | 35.3 tok/s | measured | `results/phase3_q8first/summary.json` › `runs[name=q8first_524k_cold6_nb512].decode_tps` | Phase-3 |
| `p3.c6.peak_vram_mib` | 20,713 MiB | 20713 MiB | measured | `results/phase3_q8first/summary.json` › `runs[name=q8first_524k_cold6_nb512].peak_vram_mib` | Phase-3 |
| `p3.786k.prefill_tps` | 459.86 tok/s | 459.86 tok/s | measured | `results/phase3_q8first/summary.json` › `runs[name=active_786k_cold12_nb256].prefill_tps` | Phase-3 |
| `p3.786k.decode_tps` | 28.74 tok/s | 28.74 tok/s | measured | `results/phase3_q8first/summary.json` › `runs[name=active_786k_cold12_nb256].decode_tps` | Phase-3 |
| `p3.786k.peak_vram_mib` | 20,597 MiB | 20597 MiB | measured | `results/phase3_q8first/summary.json` › `runs[name=active_786k_cold12_nb256].peak_vram_mib` | Phase-3 |
| `p3.c4.prefill_x` | 4.1292x | 4.1292 x | measured | `results/phase3_q8first/summary.json` › `speedups_vs_baseline_524k.cold4_nb512_prefill_x` | Phase-3 |
| `p3.c4.decode_x` | 1.2565x | 1.2565 x | measured | `results/phase3_q8first/summary.json` › `speedups_vs_baseline_524k.cold4_nb512_decode_x` | Phase-3 |
| `p3.q8_layer_mib` | 1,032.8 MiB | 1032.8 MiB | measured | `results/phase3_q8first/summary.json` › `mechanism.q8_layer_exps_mib` | Phase-3 |
| `p3.iq4_layer_mib` | 546.8 MiB | 546.8 MiB | measured | `results/phase3_q8first/summary.json` › `mechanism.iq4_nl_layer_exps_mib` | Phase-3 |
| `trap.nbatch_before_mib` | 17,390 MiB | 17390 MiB | measured | `results/traps_ab/summary.json` › `traps[0].before` | traps_ab |
| `trap.nbatch_after_mib` | 17,040 MiB | 17040 MiB | measured | `results/traps_ab/summary.json` › `traps[0].after` | traps_ab |
| `trap.wddm_before_mib` | 22,647 MiB | 22647 MiB | measured | `results/traps_ab/summary.json` › `traps[1].before` | traps_ab |
| `trap.wddm_after_mib` | 21,852 MiB | 21852 MiB | measured | `results/traps_ab/summary.json` › `traps[1].after` | traps_ab |
| `trap.dma_before_ms` | 27.94 ms | 27.94 ms | measured | `results/traps_ab/summary.json` › `traps[2].before` | traps_ab |
| `trap.dma_after_ms` | 21.72 ms | 21.72 ms | measured | `results/traps_ab/summary.json` › `traps[2].after` | traps_ab |
| `trap.precommit_before_ms` | 103.34 ms | 103.34 ms | measured | `results/traps_ab/summary.json` › `traps[6].before` | traps_ab |
| `trap.precommit_after_ms` | 70.25 ms | 70.25299999804702 ms | measured | `results/traps_ab/summary.json` › `traps[6].after` | traps_ab |
| `kv.rad.kl` | 2.35e-03 | 0.002347733192436189 nats | measured | `results/rademacher_live_wht128/summary.json` › `arms.a3_swa_f16_base_q4_0_wht_global_rad.kl_mean` |  |
| `kv.rad.tok` | 160/160 | 160/160 (value 160, tokens) | measured | `results/rademacher_live_wht128/summary.json` › `arms.a3_swa_f16_base_q4_0_wht_global_rad.tok_match` |  |
| `kv.rad.seq` | 10/10 | 10/10 (value 10, sequences) | measured | `results/rademacher_live_wht128/summary.json` › `arms.a3_swa_f16_base_q4_0_wht_global_rad.gen16_exact` |  |
| `kv.rad_kl_ratio` | 6.5× | 6.535890318479435 x | derived | kv.all_q4.kl / kv.rad.kl |  |
| `kv.rad_vs_plain_ratio` | 1.9× | 1.914392307759748 x | derived | kv.swa_f16.kl / kv.rad.kl |  |
| `lc.m64.stock_tps` | 43.87 t/s | 43.8673 tok/s | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.m64_stock_vec.per_stream_tps` |  |
| `lc.m64.hs_tps` | 65.48 t/s | 65.4818 tok/s | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.m64_opt_hoist_skip.per_stream_tps` |  |
| `lc.m64.gqa3_tps` | 67.72 t/s | 67.7234 tok/s | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.m64_opt_gqa3.per_stream_tps` |  |
| `lc.m64.gqa3_vs_stock` | 1.54× | 1.5438242153038824 x | derived | lc.m64.gqa3_tps / lc.m64.stock_tps |  |
| `lc.m64.depth` | 65,760 | 65760 tokens | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.m64_opt_gqa3.final_slot_depth[0]` |  |
| `lc.m124.stock_tps` | 31.61 t/s | 31.6059 tok/s | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.m124_stock_vec.per_stream_tps` |  |
| `lc.m124.hs_tps` | 56.91 t/s | 56.9117 tok/s | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.m124_opt_hoist_skip.per_stream_tps` |  |
| `lc.m124.gqa3_tps` | 64.00 t/s | 64.0027 tok/s | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.m124_opt_gqa3.per_stream_tps` |  |
| `lc.m124.gqa3_vs_stock` | 2.03× | 2.025023808845817 x | derived | lc.m124.gqa3_tps / lc.m124.stock_tps |  |
| `lc.m124.depth` | 124,742 | 124742 tokens | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.m124_opt_gqa3.final_slot_depth[0]` |  |
| `lc.m4s.stock_tps` | 31.22 t/s | 31.2234 tok/s | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.m4s_stock_vec.per_stream_tps` |  |
| `lc.m4s.hs_tps` | 62.00 t/s | 62.0001 tok/s | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.m4s_opt_hoist_skip.per_stream_tps` |  |
| `lc.m4s.gqa3_tps` | 64.62 t/s | 64.6157 tok/s | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.m4s_opt_gqa3_maxb1.per_stream_tps` |  |
| `lc.m4s.gqa3_vs_stock` | 2.07× | 2.0694639276952542 x | derived | lc.m4s.gqa3_tps / lc.m4s.stock_tps |  |
| `lc.parity.kl` | 0 | 0 nats | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `parity_b1.opt_a3_rad_gqa3__vs__build_rademacher_a3_rad.kl_mean` |  |
| `lc.parity.tok` | 160/160 | 160/160 (value 160, tokens) | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `parity_b1.opt_a3_rad_gqa3__vs__build_rademacher_a3_rad.tok_match` |  |
| `kv.rad_wht_gain` | 11.31× | 11.313708498984761 x | derived | sqrt(128) |  |
| `lc.m240.stock_tps` | 20.49 t/s | 20.4853 tok/s | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.m240_stock_vec.per_stream_tps` |  |
| `lc.m240.hs_tps` | 45.09 t/s | 45.0865 tok/s | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.m240_opt_hoist_skip.per_stream_tps` |  |
| `lc.m240.gqa3_tps` | 53.36 t/s | 53.3641 tok/s | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.m240_opt_gqa3.per_stream_tps` |  |
| `lc.m240.gqa3_vs_stock` | 2.60× | 2.604994801150093 x | derived | lc.m240.gqa3_tps / lc.m240.stock_tps |  |
| `lc.m240.depth` | 241,396 | 241396 tokens | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.m240_opt_gqa3.final_slot_depth[0]` |  |
| `lc.mmax.stock_tps` | 13.25 t/s | 13.2512 tok/s | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.mmax_stock_vec.per_stream_tps` |  |
| `lc.mmax.hs_tps` | 34.29 t/s | 34.2858 tok/s | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.mmax_opt_hoist_skip.per_stream_tps` |  |
| `lc.mmax.gqa3_tps` | 43.87 t/s | 43.8707 tok/s | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.mmax_opt_gqa3.per_stream_tps` |  |
| `lc.mmax.gqa3_vs_stock` | 3.31× | 3.310696389760927 x | derived | lc.mmax.gqa3_tps / lc.mmax.stock_tps |  |
| `lc.mmax.depth` | 416,582 | 416582 tokens | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.mmax_opt_gqa3.final_slot_depth[0]` |  |
| `lc.m240.cells` | 262,144 | 262144 cells | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.m240_opt_gqa3.n_ctx` |  |
| `lc.m240.free_mib` | 2,686 MiB | 2686 MiB | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.m240_opt_gqa3.free_mib_after_fill` |  |
| `lc.mmax.cells` | 438,272 | 438272 cells | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.mmax_opt_gqa3.n_ctx` |  |
| `lc.mmax.free_mib` | 290 MiB | 290 MiB | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `decode_b1.mmax_opt_gqa3.free_mib_after_fill` |  |
| `lc.mmax.cells_search` | 438,272 | 438272 cells | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `max_all_gpu_search.max_cells_exact` |  |
| `lc.mmax.guard_mib` | 256 MiB | 256 MiB | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `max_all_gpu_search.min_free_mib_guard` |  |
| `lc.mmax.next_free_mib` | 228 MiB | 228 MiB | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `max_all_gpu_search.probes[4].free_mib` |  |
| `lc.pd.m64.kl` | 0 | 0 nats | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `parity_longctx_b1.m64.comparisons.opt_gqa3.kl` |  |
| `lc.pd.m64.tok` | 16/16 | 16/16 (value 16, tokens) | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `parity_longctx_b1.m64.comparisons.opt_gqa3.tok_match` |  |
| `lc.pd.m64.hs_kl` | 0 | 0 nats | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `parity_longctx_b1.m64.comparisons.opt_hoist_skip.kl` |  |
| `lc.pd.m64.depth` | 65,648 | 65648 tokens | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `parity_longctx_b1.m64.n_tok_loaded` |  |
| `lc.pd.m124.kl` | 1.05e-03 | 0.001052060753339839 nats | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `parity_longctx_b1.m124.comparisons.opt_gqa3.kl` |  |
| `lc.pd.m124.tok` | 16/16 | 16/16 (value 16, tokens) | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `parity_longctx_b1.m124.comparisons.opt_gqa3.tok_match` |  |
| `lc.pd.m124.hs_kl` | 0 | 0 nats | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `parity_longctx_b1.m124.comparisons.opt_hoist_skip.kl` |  |
| `lc.pd.m124.depth` | 124,630 | 124630 tokens | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `parity_longctx_b1.m124.n_tok_loaded` |  |
| `lc.pd.m240.kl` | 6.09e-04 | 0.0006085096277558318 nats | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `parity_longctx_b1.m240.comparisons.opt_gqa3.kl` |  |
| `lc.pd.m240.tok` | 16/16 | 16/16 (value 16, tokens) | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `parity_longctx_b1.m240.comparisons.opt_gqa3.tok_match` |  |
| `lc.pd.m240.hs_kl` | 0 | 0 nats | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `parity_longctx_b1.m240.comparisons.opt_hoist_skip.kl` |  |
| `lc.pd.m240.depth` | 241,284 | 241284 tokens | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `parity_longctx_b1.m240.n_tok_loaded` |  |
| `lc.pd.mmax.kl` | 2.05e-04 | 0.0002048692225879523 nats | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `parity_longctx_b1.mmax.comparisons.opt_gqa3.kl` |  |
| `lc.pd.mmax.tok` | 16/16 | 16/16 (value 16, tokens) | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `parity_longctx_b1.mmax.comparisons.opt_gqa3.tok_match` |  |
| `lc.pd.mmax.hs_kl` | 0 | 0 nats | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `parity_longctx_b1.mmax.comparisons.opt_hoist_skip.kl` |  |
| `lc.pd.mmax.depth` | 416,470 | 416470 tokens | measured | `results/fattn_vec_gqa3_longctx/summary.json` › `parity_longctx_b1.mmax.n_tok_loaded` |  |

## Credits

WHT-KV4, DC_mean sink folding, the 8-token BOS strip and WHT-2bit page sketches are Eris's designs ([report](https://eriskii.net/research/inkling-ikv), [code](https://github.com/Eriskii/erisinky)). The implementation measured here is an Apache-2.0 reimplementation written from the published report text, not from Eris's code; that is all "clean-room" means in this paper. No GPL-3.0 code was copied. The code and this text were written largely by AI agents (Claude Opus 5.5 and Gemini 4 Neon) under the author's direction and review. The CUDA fusions ([`patches/0001-cuda-graph-multi-shape-key.patch`](https://github.com/godspede/construct-llama-hive/blob/main/patches/0001-cuda-graph-multi-shape-key.patch), [`patches/0002-batch-kernel-parity-optin.patch`](https://github.com/godspede/construct-llama-hive/blob/main/patches/0002-batch-kernel-parity-optin.patch), [`patches/0003-inkling2-cuda-fusions-and-graph-opt.patch`](https://github.com/godspede/construct-llama-hive/blob/main/patches/0003-inkling2-cuda-fusions-and-graph-opt.patch), [`patches/0004-rademacher-live-wht128.patch`](https://github.com/godspede/construct-llama-hive/blob/main/patches/0004-rademacher-live-wht128.patch), [`patches/0005-fattn-vec-gqa3-and-warp-skip.patch`](https://github.com/godspede/construct-llama-hive/blob/main/patches/0005-fattn-vec-gqa3-and-warp-skip.patch)), the streaming GGUF re-quantizers and the state hot-swap tool are clean-room Apache-2.0 as well.
