[Docs] Prefix cache validated at scale: VRAM bounded past cap 6, pinned anchors survive eviction, EXACT parity at 1024

This commit is contained in:
adm committed 2026-12-01 20:47:47 +01:00
1 parent 8c8ae4485a
commit 442d26c90c
1 file changed
+5
+5
View File
@@ -108,6 +108,11 @@ Five ideas explain almost everything that will surprise you:
600-token cached prefix prefills in **2.29 s vs 132.5 s cold (57.8×)**, end-to-end
**3.2 s vs 133.2 s (41.8×)**. This collapses the *second-turn* time-to-first-token;
the *first* turn still pays sequential prefill (batched prefill is the next brick).
Validated at scale too: 8 checkpoints past cap 6 keep VRAM bounded (19.0→19.8 GiB,
0.5 GiB spread — no per-turn accumulation), the pinned anchors {512,1024} survive
eviction (restore probes 2.4 s vs ~77/154 s cold), and parity stays EXACT at 1024
(warm 2.41 s vs cold 230.4 s). The speedup materialises whenever the next prompt
extends the previous token prefix (standard chat reconstruction).
- **What is NOT done yet (the frontier):** HIP graph capture (collapse the
per-token launches → near-zero host CPU), batched/chunked prefill (M>1 attention
+ grouped MoE, make the *first* large-prompt time-to-first-token seconds, not