Step through the three stages. Each adds one change to the pipeline in front of the LLM (8K-token prompt).
The ONNX export builds an n×n mask per session. Per the paper: ~1.5 GB at 8K, ×4 per doubling. Budget line: ~718 MB.
Standard SDPA stores every score. FlashAttention visits tiles, keeps a running softmax, and discards each tile. Result is exact.
Real kernel arguments: local layers use window 63 left / 64 right; global layers use −1 / −1. Click a layer chip; every third layer is global.
Four signals, paper defaults 0.20 / 0.40 / 0.35 / 0.05. First 3 and last 2 sentences always kept. Drag weights to see what is kept.
Left: paper's measured ladder. Right option: the hosts' split using the paper's estimated ~0.8 s CPU+compression row.
Pick an Envoy path. Boxes in the top lane are body chunks.
Domain-only, 16K tokens, end-to-end. The 62 → 50 ms ladder step bundles streaming with the JSON change.