From 1aa0abf63a20de799f6cfa33aa06a002871ced7e Mon Sep 17 00:00:00 2001 From: RubenTorney <291151058+RubenTorney@users.noreply.github.com> Date: Sun, 11 Oct 2026 02:02:38 +0200 Subject: [PATCH] serve: --adapt-async 1 in the arena mode (one GPU, copy-in only, opt-in) In the arena mode the blocking adaptive tier creates and joins a thread every verify window and the next window waits for its copies (#1863: the time outside the decode timing breakdown). --adapt-async 1 now also runs with the arena on one GPU, not only in the resident RAM mode. The arena holds every expert, so a round is a copy-in only: no copy back, no RAM move, no exchange buffers. - gates for the arena; ArenaExpertSource::blob_at() reads a blob from the job thread without the read counter - the evicted slot is marked non-resident and uploaded before the round's copies are posted; an expert becomes resident only once its copy's event has completed - STRATA_ADAPT_ASYNC_WAIT=1 (arena default): the next tick waits for the round, so the window an expert turns GPU-resident does not depend on timing; STRATA_ADAPT_PICK_INLINE=1 (arena default): one round per window; STRATA_ADAPT_ASYNC_BATCH=N caps the copies per tick (default 0 = all); arena rounds are not capped at 96 - adapt_quiesce(): every K/V grow, kv_quiesce and the VRAM command land the round in flight (they only called apply_pending(true)); a failed round still drains its copies. This also covers the resident mode's async tier. - STRATA_DECODE_TIMING: "adapt wait X join Y, Z swaps/window"; --adapt-async help text RTX 3090 + Ryzen 5 5600X, cold prompts: x1.07-1.11 decode, faster on 12 of 12 prompts; 25.9 -> 21.6 ms per window (bench/results/2026-10-11-community-rtx3090-5600x-arena-async, docs/DETAILS.md). Opt-in (--adapt-async 1, default 0); the default path is that of v0.1.42. With the tier on, answers are not bit-exact run to run (which window first computes a swapped-in expert on the GPU). --- .../README.md | 54 +++ .../bitexact.jsonl | 4 + .../bitexact_fixed_cache.jsonl | 4 + .../cold.jsonl | 72 ++++ .../cold_earlier.jsonl | 96 ++++++ .../context.jsonl | 24 ++ .../strata_ab2.py | 326 ++++++++++++++++++ docs/DETAILS.md | 8 + include/strata/core/expert_source.hpp | 3 + src/core/expert_source.cpp | 7 + src/program/generate.cpp | 148 ++++++-- 11 files changed, 723 insertions(+), 23 deletions(-) create mode 100644 bench/results/2026-10-11-community-rtx3090-5600x-arena-async/README.md create mode 100644 bench/results/2026-10-11-community-rtx3090-5600x-arena-async/bitexact.jsonl create mode 100644 bench/results/2026-10-11-community-rtx3090-5600x-arena-async/bitexact_fixed_cache.jsonl create mode 100644 bench/results/2026-10-11-community-rtx3090-5600x-arena-async/cold.jsonl create mode 100644 bench/results/2026-10-11-community-rtx3090-5600x-arena-async/cold_earlier.jsonl create mode 100644 bench/results/2026-10-11-community-rtx3090-5600x-arena-async/context.jsonl create mode 100644 bench/results/2026-10-11-community-rtx3090-5600x-arena-async/strata_ab2.py diff --git a/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/README.md b/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/README.md new file mode 100644 index 00000000..0b8e4dc6 --- /dev/null +++ b/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/README.md @@ -0,0 +1,54 @@ +# `--adapt-async 1` in the arena mode — community report, RTX 3090 + Ryzen 5 5600X (Windows 11) + +Branch `pr/async-adapt-arena` on v0.1.42 (`61b3fb5d`). Results and method only; the change is in the pull request. + +**Machine.** RTX 3090 24 GB (sm_86, driver 616.64, 350 W, also drives a 2560 px desktop), PCIe 4.0 x16, Ryzen 5 5600X +(6 cores, AVX2), 2 x 32 GB DDR4-3600, Windows 11 Pro 22631. Qwen3.8-Flash-Next GSQ-RCO IQ3_S, the default arena (46.84 GiB of +experts in RAM, 30 GiB of it page-locked), 8,289 expert slots, `--expert-cache auto --prefill auto --spec 4 --mtp +--max-context 262144 --kv int8 --vram-reserve-mib 1200 --kv-grow --spec-min-p 0.5 --adapt-every 1 --adapt-swaps 80 +--adapt-decay 0.97`, `draft_vocab fr`, a learned expert profile. Both arms are local builds of the same tree (VS 2022 17.14, +CUDA 12.8, sm_86); `v0142` is the tag, `pr1_on` this branch with `--adapt-async 1`. + +**Method** (`strata_ab2.py`). `serve/server.py` on port 8080, a fresh server per arm and round, 2 warm-up requests not +counted. Cold: 12 distinct prompts (FR/EN, code, prose), each sent once per server with a fixed seed, temperature 0.7, top_p +0.8, 256 tokens, thinking off; 2 rounds, order reversed in round 2; per-prompt mean over the rounds, paired ratio. Decode tok/s +is the engine's `strata serve: prompt ... generated in ...` line. A prompt sent twice in a row runs ~25 % faster the second +time (the tier has adapted to it), so no prompt is repeated within a server. + +## Cold short prompts + +| Arm | Median tok/s | Ratio vs `v0142` | Prompts faster | +|---|---:|---:|---:| +| `v0142` | 97.2 | 1.000 | — | +| `pr1_on` | 107.7 | **1.071** | **12/12** | + +An earlier run the same day, same protocol, when the learned profile was younger (fewer cache hits, more swaps): 92.8 → +98.7 tok/s, x1.11, 12/12 (`cold_earlier.jsonl`). The gain follows how much the tier swaps. + +`STRATA_DECODE_TIMING=1`, one cold prompt: blocking tier 25.9 ms/window of which ~3.2 ms outside verify + commit/emit + draft +(#1863); with `--adapt-async 1` 21.6 ms/window, `adapt wait 0.41 join 0.00, 40.6 swaps/window`. + +## After a long prompt (prompt read once, decode = mean of 3 seeded answers on the cached prefix) + +| Prompt tokens | `v0142` prefill / decode | `pr1_on` prefill / decode | +|---:|---|---| +| 55,630 | 2,173 / 95.3 | 2,167 / 97.3 | +| 116,833 | 2,092 / 97.0 | 2,088 / 96.1 | + +Level within the noise: reading a long prompt already moves its experts into VRAM (hit rate 97-99 %), the tier has little +left to swap. The prompt read is not touched. + +## Default path + +Bit-exact mode (`STRATA_IQ_MT_MIN=1 --pcie-frac 0 --adapt-every 0`), greedy, 6 prompts, `--expert-cache auto` and again with +a fixed cache size: on the 5 prompts that v0.1.42 reproduces between two of its own fresh engines, this branch without +`--adapt-async` gives the same answers byte for byte (sha256). The 6th prompt differs between two runs of v0.1.42 itself in +that mode on this machine (`bitexact*.jsonl`). + +## Robustness + +63K-token prompt then 4 follow-up turns in the same conversation (K/V grown to 65,536 cells), no `ERR` (measured on the full test branch, this change plus other opt-in switches); the `VRAM` command and +K/V grows land the round in flight first. + +Raw: `cold.jsonl` (this table, also holds a third arm from the other PR), `cold_earlier.jsonl`, `context.jsonl`, +`bitexact.jsonl`, `bitexact_fixed_cache.jsonl`; harness `strata_ab2.py`. diff --git a/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/bitexact.jsonl b/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/bitexact.jsonl new file mode 100644 index 00000000..24762147 --- /dev/null +++ b/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/bitexact.jsonl @@ -0,0 +1,4 @@ +{"variant": "x_v0142", "engine": 0, "shas": ["27519074f61de9af", "feab63eaed0e3c87", "13083c7bae76321f", "2851571399ae73d5", "b7c60255ff57c1f0", "4fa026f724d6d21f"]} +{"variant": "x_v0142", "engine": 1, "shas": ["27519074f61de9af", "feab63eaed0e3c87", "13083c7bae76321f", "935c0cbca0b8e848", "b7c60255ff57c1f0", "4fa026f724d6d21f"]} +{"variant": "x_pr1", "engine": 0, "shas": ["27519074f61de9af", "feab63eaed0e3c87", "13083c7bae76321f", "2851571399ae73d5", "b7c60255ff57c1f0", "4fa026f724d6d21f"]} +{"variant": "x_pr2", "engine": 0, "shas": ["27519074f61de9af", "feab63eaed0e3c87", "13083c7bae76321f", "4e95b8f3c12c7032", "b7c60255ff57c1f0", "4fa026f724d6d21f"]} diff --git a/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/bitexact_fixed_cache.jsonl b/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/bitexact_fixed_cache.jsonl new file mode 100644 index 00000000..0fc47ae5 --- /dev/null +++ b/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/bitexact_fixed_cache.jsonl @@ -0,0 +1,4 @@ +{"variant": "y_v0142", "engine": 0, "shas": ["c3688f98a481a45b", "6a807808abdeebf8", "9e346e42ddce5684", "46d8b674ef38e1ea", "4c8597aef38d0f07", "b9c90f31eb5f6303"]} +{"variant": "y_v0142", "engine": 1, "shas": ["c3688f98a481a45b", "6a807808abdeebf8", "9e346e42ddce5684", "ea52f5b1f95102cc", "4c8597aef38d0f07", "b9c90f31eb5f6303"]} +{"variant": "y_pr1", "engine": 0, "shas": ["c3688f98a481a45b", "6a807808abdeebf8", "9e346e42ddce5684", "fdbc72441cc0a805", "4c8597aef38d0f07", "b9c90f31eb5f6303"]} +{"variant": "y_pr2", "engine": 0, "shas": ["c3688f98a481a45b", "6a807808abdeebf8", "9e346e42ddce5684", "46d8b674ef38e1ea", "4c8597aef38d0f07", "b9c90f31eb5f6303"]} diff --git a/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/cold.jsonl b/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/cold.jsonl new file mode 100644 index 00000000..c5009a90 --- /dev/null +++ b/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/cold.jsonl @@ -0,0 +1,72 @@ +{"session": "v0142_r1", "sha": "7ca75f5f9abd823e", "notes": ["strata serve: decode expert cache hit rate: 94.5% (87595 hits / 92736 lookups); 1195 more read by the GPU over PCIe or from another GPU (1.3% of all 93931 routed)"], "prompt_tokens": 26, "prefill_tps": 131.9, "gen": 149, "decode_tps": 89.6, "acc": 77, "drafted": 130, "variant": "v0142", "round": "1", "prompt_i": 0} +{"session": "v0142_r1", "sha": "91f70604a65a360e", "notes": ["strata verify: captured the 5-token window (upload no error, sync no error)", "strata serve: decode expert cache hit rate: 89.9% (115240 hits / 128190 lookups); 2333 more read by the GPU over PCIe or from another GPU (1.8% of all 130523 routed)", "strata serve: suffix drafts: 1 windows, 2 of 3 drafts accepted"], "prompt_tokens": 36, "prefill_tps": 101.3, "gen": 256, "decode_tps": 107.2, "acc": 181, "drafted": 216, "variant": "v0142", "round": "1", "prompt_i": 1} +{"session": "v0142_r1", "sha": "13f3d89f48e5c427", "notes": ["strata serve: decode expert cache hit rate: 88.6% (133757 hits / 150977 lookups); 2858 more read by the GPU over PCIe or from another GPU (1.9% of all 153835 routed)"], "prompt_tokens": 25, "prefill_tps": 90.7, "gen": 256, "decode_tps": 87.0, "acc": 158, "drafted": 243, "variant": "v0142", "round": "1", "prompt_i": 2} +{"session": "v0142_r1", "sha": "4fa600c5531944ec", "notes": ["strata serve: decode expert cache hit rate: 94.6% (140604 hits / 148636 lookups); 1169 more read by the GPU over PCIe or from another GPU (0.8% of all 149805 routed)", "strata serve: suffix drafts: 3 windows, 3 of 8 drafts accepted"], "prompt_tokens": 28, "prefill_tps": 83.4, "gen": 256, "decode_tps": 105.9, "acc": 157, "drafted": 228, "variant": "v0142", "round": "1", "prompt_i": 3} +{"session": "v0142_r1", "sha": "68d7e545060834c4", "notes": ["strata serve: decode expert cache hit rate: 93.1% (138474 hits / 148765 lookups); 1526 more read by the GPU over PCIe or from another GPU (1.0% of all 150291 routed)"], "prompt_tokens": 23, "prefill_tps": 94.6, "gen": 256, "decode_tps": 97.2, "acc": 148, "drafted": 221, "variant": "v0142", "round": "1", "prompt_i": 4} +{"session": "v0142_r1", "sha": "cdef9b3c411e1d0a", "notes": ["strata serve: decode expert cache hit rate: 93.9% (147036 hits / 156657 lookups); 1340 more read by the GPU over PCIe or from another GPU (0.8% of all 157997 routed)"], "prompt_tokens": 33, "prefill_tps": 99.0, "gen": 256, "decode_tps": 99.8, "acc": 152, "drafted": 238, "variant": "v0142", "round": "1", "prompt_i": 5} +{"session": "v0142_r1", "sha": "00489dc250483548", "notes": ["strata serve: decode expert cache hit rate: 89.9% (108500 hits / 120717 lookups); 1985 more read by the GPU over PCIe or from another GPU (1.6% of all 122702 routed)"], "prompt_tokens": 27, "prefill_tps": 88.1, "gen": 206, "decode_tps": 87.0, "acc": 120, "drafted": 185, "variant": "v0142", "round": "1", "prompt_i": 6} +{"session": "v0142_r1", "sha": "f606818a6ea7870a", "notes": ["strata serve: decode expert cache hit rate: 92.4% (131630 hits / 142463 lookups); 1821 more read by the GPU over PCIe or from another GPU (1.3% of all 144284 routed)"], "prompt_tokens": 29, "prefill_tps": 95.7, "gen": 256, "decode_tps": 102.0, "acc": 153, "drafted": 216, "variant": "v0142", "round": "1", "prompt_i": 7} +{"session": "v0142_r1", "sha": "a82c2fc783e69636", "notes": ["strata serve: decode expert cache hit rate: 89.1% (120090 hits / 134837 lookups); 2321 more read by the GPU over PCIe or from another GPU (1.7% of all 137158 routed)", "strata serve: suffix drafts: 1 windows, 2 of 2 drafts accepted"], "prompt_tokens": 25, "prefill_tps": 92.8, "gen": 256, "decode_tps": 94.0, "acc": 163, "drafted": 213, "variant": "v0142", "round": "1", "prompt_i": 8} +{"session": "v0142_r1", "sha": "554b161eb96c3713", "notes": ["strata serve: decode expert cache hit rate: 89.4% (115116 hits / 128784 lookups); 2384 more read by the GPU over PCIe or from another GPU (1.8% of all 131168 routed)"], "prompt_tokens": 32, "prefill_tps": 96.0, "gen": 256, "decode_tps": 104.8, "acc": 179, "drafted": 214, "variant": "v0142", "round": "1", "prompt_i": 9} +{"session": "v0142_r1", "sha": "b594bc4eec3b1ad0", "notes": ["strata serve: decode expert cache hit rate: 91.9% (138785 hits / 150954 lookups); 1848 more read by the GPU over PCIe or from another GPU (1.2% of all 152802 routed)"], "prompt_tokens": 25, "prefill_tps": 85.1, "gen": 256, "decode_tps": 90.3, "acc": 135, "drafted": 215, "variant": "v0142", "round": "1", "prompt_i": 10} +{"session": "v0142_r1", "sha": "d7ebfdc44f020db3", "notes": ["strata serve: decode expert cache hit rate: 93.7% (139279 hits / 148675 lookups); 1302 more read by the GPU over PCIe or from another GPU (0.9% of all 149977 routed)"], "prompt_tokens": 24, "prefill_tps": 90.2, "gen": 256, "decode_tps": 105.1, "acc": 163, "drafted": 236, "variant": "v0142", "round": "1", "prompt_i": 11} +{"session": "pr1_on_r1", "sha": "bd4534a21f79c850", "notes": ["strata serve: decode expert cache hit rate: 94.2% (95930 hits / 101859 lookups); 1392 more read by the GPU over PCIe or from another GPU (1.3% of all 103251 routed)", "strata serve: asynchronous adaptive tier: 101 rounds, 4721 experts swapped in, 31.9 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.12 ms/round)"], "prompt_tokens": 26, "prefill_tps": 131.3, "gen": 162, "decode_tps": 96.6, "acc": 82, "drafted": 144, "variant": "pr1_on", "round": "1", "prompt_i": 0} +{"session": "pr1_on_r1", "sha": "91f70604a65a360e", "notes": ["strata verify: captured the 5-token window (upload no error, sync no error)", "strata serve: decode expert cache hit rate: 88.7% (112523 hits / 126851 lookups); 2676 more read by the GPU over PCIe or from another GPU (2.1% of all 129527 routed)", "strata serve: asynchronous adaptive tier: 177 rounds, 9637 experts swapped in, 33.7 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)", "strata serve: suffix drafts: 1 windows, 2 of 3 drafts accepted"], "prompt_tokens": 36, "prefill_tps": 101.3, "gen": 256, "decode_tps": 115.2, "acc": 181, "drafted": 215, "variant": "pr1_on", "round": "1", "prompt_i": 1} +{"session": "pr1_on_r1", "sha": "104e7a57502bde12", "notes": ["strata serve: decode expert cache hit rate: 88.0% (136110 hits / 154594 lookups); 3354 more read by the GPU over PCIe or from another GPU (2.1% of all 157948 routed)", "strata serve: asynchronous adaptive tier: 289 rounds, 15316 experts swapped in, 32.4 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)", "strata serve: suffix drafts: 1 windows, 1 of 3 drafts accepted"], "prompt_tokens": 25, "prefill_tps": 92.5, "gen": 256, "decode_tps": 88.4, "acc": 144, "drafted": 240, "variant": "pr1_on", "round": "1", "prompt_i": 2} +{"session": "pr1_on_r1", "sha": "5fc05e6fcaccbbb0", "notes": ["strata serve: decode expert cache hit rate: 93.5% (140724 hits / 150432 lookups); 1723 more read by the GPU over PCIe or from another GPU (1.1% of all 152155 routed)", "strata serve: asynchronous adaptive tier: 390 rounds, 19761 experts swapped in, 31.2 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)", "strata serve: suffix drafts: 1 windows, 1 of 2 drafts accepted"], "prompt_tokens": 28, "prefill_tps": 84.6, "gen": 256, "decode_tps": 111.0, "acc": 155, "drafted": 234, "variant": "pr1_on", "round": "1", "prompt_i": 3} +{"session": "pr1_on_r1", "sha": "99f1255d987fb52c", "notes": ["strata serve: decode expert cache hit rate: 93.0% (147048 hits / 158033 lookups); 1676 more read by the GPU over PCIe or from another GPU (1.0% of all 159709 routed)", "strata serve: asynchronous adaptive tier: 502 rounds, 24475 experts swapped in, 30.3 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 23, "prefill_tps": 97.7, "gen": 256, "decode_tps": 100.8, "acc": 145, "drafted": 238, "variant": "pr1_on", "round": "1", "prompt_i": 4} +{"session": "pr1_on_r1", "sha": "d302b1f915b0bc90", "notes": ["strata serve: decode expert cache hit rate: 92.6% (138728 hits / 149800 lookups); 1778 more read by the GPU over PCIe or from another GPU (1.2% of all 151578 routed)", "strata serve: asynchronous adaptive tier: 604 rounds, 29071 experts swapped in, 29.9 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 33, "prefill_tps": 97.8, "gen": 256, "decode_tps": 108.6, "acc": 154, "drafted": 231, "variant": "pr1_on", "round": "1", "prompt_i": 5} +{"session": "pr1_on_r1", "sha": "f89c398d1121891f", "notes": ["strata serve: decode expert cache hit rate: 89.0% (134593 hits / 151146 lookups); 2918 more read by the GPU over PCIe or from another GPU (1.9% of all 154064 routed)", "strata serve: asynchronous adaptive tier: 716 rounds, 34404 experts swapped in, 29.8 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 27, "prefill_tps": 88.1, "gen": 252, "decode_tps": 91.0, "acc": 143, "drafted": 230, "variant": "pr1_on", "round": "1", "prompt_i": 6} +{"session": "pr1_on_r1", "sha": "f280719c218e950f", "notes": ["strata serve: decode expert cache hit rate: 91.4% (128823 hits / 141016 lookups); 2243 more read by the GPU over PCIe or from another GPU (1.6% of all 143259 routed)", "strata serve: asynchronous adaptive tier: 816 rounds, 39045 experts swapped in, 29.7 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)", "strata serve: suffix drafts: 2 windows, 3 of 4 drafts accepted"], "prompt_tokens": 29, "prefill_tps": 92.0, "gen": 256, "decode_tps": 107.7, "acc": 157, "drafted": 217, "variant": "pr1_on", "round": "1", "prompt_i": 7} +{"session": "pr1_on_r1", "sha": "08b3b235c564a3c2", "notes": ["strata serve: decode expert cache hit rate: 86.4% (120429 hits / 139342 lookups); 3200 more read by the GPU over PCIe or from another GPU (2.2% of all 142542 routed)", "strata serve: asynchronous adaptive tier: 910 rounds, 45014 experts swapped in, 30.1 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)", "strata serve: suffix drafts: 1 windows, 2 of 2 drafts accepted"], "prompt_tokens": 25, "prefill_tps": 99.6, "gen": 256, "decode_tps": 97.2, "acc": 164, "drafted": 225, "variant": "pr1_on", "round": "1", "prompt_i": 8} +{"session": "pr1_on_r1", "sha": "554b161eb96c3713", "notes": ["strata serve: decode expert cache hit rate: 88.1% (109914 hits / 124809 lookups); 2814 more read by the GPU over PCIe or from another GPU (2.2% of all 127623 routed)", "strata serve: asynchronous adaptive tier: 987 rounds, 49957 experts swapped in, 30.5 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 32, "prefill_tps": 93.7, "gen": 256, "decode_tps": 112.7, "acc": 181, "drafted": 210, "variant": "pr1_on", "round": "1", "prompt_i": 9} +{"session": "pr1_on_r1", "sha": "6ac1d281510b523a", "notes": ["strata serve: decode expert cache hit rate: 91.6% (143348 hits / 156412 lookups); 2202 more read by the GPU over PCIe or from another GPU (1.4% of all 158614 routed)", "strata serve: asynchronous adaptive tier: 1112 rounds, 54792 experts swapped in, 30.0 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 25, "prefill_tps": 89.0, "gen": 256, "decode_tps": 94.2, "acc": 134, "drafted": 224, "variant": "pr1_on", "round": "1", "prompt_i": 10} +{"session": "pr1_on_r1", "sha": "adf663108e479c7b", "notes": ["strata serve: decode expert cache hit rate: 93.0% (129375 hits / 139164 lookups); 1447 more read by the GPU over PCIe or from another GPU (1.0% of all 140611 routed)", "strata serve: asynchronous adaptive tier: 1200 rounds, 58812 experts swapped in, 30.0 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 24, "prefill_tps": 95.2, "gen": 256, "decode_tps": 119.0, "acc": 171, "drafted": 221, "variant": "pr1_on", "round": "1", "prompt_i": 11} +{"session": "pr2_on_r1", "sha": "dfe0024c7e0c22eb", "notes": ["strata serve: decode expert cache hit rate: 94.8% (79716 hits / 84132 lookups); 1388 more read by the GPU over PCIe or from another GPU (1.6% of all 85520 routed)", "strata serve: suffix drafts: 1 windows, 0 of 1 drafts accepted"], "prompt_tokens": 26, "prefill_tps": 136.0, "gen": 140, "decode_tps": 88.4, "acc": 70, "drafted": 114, "variant": "pr2_on", "round": "1", "prompt_i": 0} +{"session": "pr2_on_r1", "sha": "19a359e414570905", "notes": ["strata verify: captured the 5-token window (upload no error, sync no error)", "strata serve: decode expert cache hit rate: 91.2% (114356 hits / 125350 lookups); 5029 more read by the GPU over PCIe or from another GPU (3.9% of all 130379 routed)", "strata serve: suffix drafts: 2 windows, 5 of 7 drafts accepted"], "prompt_tokens": 36, "prefill_tps": 113.2, "gen": 256, "decode_tps": 107.5, "acc": 179, "drafted": 215, "variant": "pr2_on", "round": "1", "prompt_i": 1} +{"session": "pr2_on_r1", "sha": "6cfd0a610cf088ef", "notes": ["strata serve: decode expert cache hit rate: 89.2% (131160 hits / 147064 lookups); 3921 more read by the GPU over PCIe or from another GPU (2.6% of all 150985 routed)"], "prompt_tokens": 25, "prefill_tps": 89.1, "gen": 256, "decode_tps": 83.4, "acc": 155, "drafted": 233, "variant": "pr2_on", "round": "1", "prompt_i": 2} +{"session": "pr2_on_r1", "sha": "b10ee1aac48deb24", "notes": ["strata serve: decode expert cache hit rate: 94.8% (138716 hits / 146392 lookups); 2434 more read by the GPU over PCIe or from another GPU (1.6% of all 148826 routed)"], "prompt_tokens": 28, "prefill_tps": 81.8, "gen": 256, "decode_tps": 107.9, "acc": 164, "drafted": 233, "variant": "pr2_on", "round": "1", "prompt_i": 3} +{"session": "pr2_on_r1", "sha": "2b2be37357f677ce", "notes": ["strata serve: decode expert cache hit rate: 94.3% (154047 hits / 163376 lookups); 2539 more read by the GPU over PCIe or from another GPU (1.5% of all 165915 routed)"], "prompt_tokens": 23, "prefill_tps": 103.3, "gen": 256, "decode_tps": 88.6, "acc": 142, "drafted": 247, "variant": "pr2_on", "round": "1", "prompt_i": 4} +{"session": "pr2_on_r1", "sha": "eefb1eebd8f34d7b", "notes": ["strata serve: decode expert cache hit rate: 94.2% (140461 hits / 149081 lookups); 3400 more read by the GPU over PCIe or from another GPU (2.2% of all 152481 routed)"], "prompt_tokens": 33, "prefill_tps": 105.8, "gen": 256, "decode_tps": 100.6, "acc": 155, "drafted": 234, "variant": "pr2_on", "round": "1", "prompt_i": 5} +{"session": "pr2_on_r1", "sha": "3660a7940e073f87", "notes": ["strata serve: decode expert cache hit rate: 91.9% (145899 hits / 158781 lookups); 3876 more read by the GPU over PCIe or from another GPU (2.4% of all 162657 routed)"], "prompt_tokens": 27, "prefill_tps": 93.4, "gen": 256, "decode_tps": 82.4, "acc": 140, "drafted": 242, "variant": "pr2_on", "round": "1", "prompt_i": 6} +{"session": "pr2_on_r1", "sha": "8699072667e005b0", "notes": ["strata serve: decode expert cache hit rate: 92.8% (127667 hits / 137617 lookups); 2347 more read by the GPU over PCIe or from another GPU (1.7% of all 139964 routed)"], "prompt_tokens": 29, "prefill_tps": 85.3, "gen": 256, "decode_tps": 100.5, "acc": 161, "drafted": 213, "variant": "pr2_on", "round": "1", "prompt_i": 7} +{"session": "pr2_on_r1", "sha": "fecc71685b0f99f9", "notes": ["strata serve: decode expert cache hit rate: 89.5% (116427 hits / 130027 lookups); 5286 more read by the GPU over PCIe or from another GPU (3.9% of all 135313 routed)"], "prompt_tokens": 25, "prefill_tps": 104.0, "gen": 256, "decode_tps": 93.7, "acc": 166, "drafted": 213, "variant": "pr2_on", "round": "1", "prompt_i": 8} +{"session": "pr2_on_r1", "sha": "1399ebf14598d778", "notes": ["strata serve: decode expert cache hit rate: 91.7% (116485 hits / 127046 lookups); 4274 more read by the GPU over PCIe or from another GPU (3.3% of all 131320 routed)"], "prompt_tokens": 32, "prefill_tps": 106.7, "gen": 256, "decode_tps": 105.6, "acc": 176, "drafted": 213, "variant": "pr2_on", "round": "1", "prompt_i": 9} +{"session": "pr2_on_r1", "sha": "e454b53016470668", "notes": ["strata serve: decode expert cache hit rate: 93.0% (148301 hits / 159378 lookups); 2849 more read by the GPU over PCIe or from another GPU (1.8% of all 162227 routed)"], "prompt_tokens": 25, "prefill_tps": 90.0, "gen": 256, "decode_tps": 83.7, "acc": 139, "drafted": 237, "variant": "pr2_on", "round": "1", "prompt_i": 10} +{"session": "pr2_on_r1", "sha": "356bb2a87582572e", "notes": ["strata serve: decode expert cache hit rate: 94.4% (132734 hits / 140630 lookups); 2108 more read by the GPU over PCIe or from another GPU (1.5% of all 142738 routed)", "strata serve: suffix drafts: 1 windows, 1 of 2 drafts accepted"], "prompt_tokens": 24, "prefill_tps": 100.8, "gen": 256, "decode_tps": 105.3, "acc": 165, "drafted": 222, "variant": "pr2_on", "round": "1", "prompt_i": 11} +{"session": "pr2_on_r2", "sha": "dfe0024c7e0c22eb", "notes": ["strata serve: decode expert cache hit rate: 94.8% (79716 hits / 84132 lookups); 1388 more read by the GPU over PCIe or from another GPU (1.6% of all 85520 routed)", "strata serve: suffix drafts: 1 windows, 0 of 1 drafts accepted"], "prompt_tokens": 26, "prefill_tps": 135.3, "gen": 140, "decode_tps": 89.1, "acc": 70, "drafted": 114, "variant": "pr2_on", "round": "2", "prompt_i": 0} +{"session": "pr2_on_r2", "sha": "19a359e414570905", "notes": ["strata verify: captured the 5-token window (upload no error, sync no error)", "strata serve: decode expert cache hit rate: 91.2% (114356 hits / 125350 lookups); 5029 more read by the GPU over PCIe or from another GPU (3.9% of all 130379 routed)", "strata serve: suffix drafts: 2 windows, 5 of 7 drafts accepted"], "prompt_tokens": 36, "prefill_tps": 114.5, "gen": 256, "decode_tps": 106.4, "acc": 179, "drafted": 215, "variant": "pr2_on", "round": "2", "prompt_i": 1} +{"session": "pr2_on_r2", "sha": "6cfd0a610cf088ef", "notes": ["strata serve: decode expert cache hit rate: 89.2% (131160 hits / 147064 lookups); 3921 more read by the GPU over PCIe or from another GPU (2.6% of all 150985 routed)"], "prompt_tokens": 25, "prefill_tps": 92.1, "gen": 256, "decode_tps": 82.2, "acc": 155, "drafted": 233, "variant": "pr2_on", "round": "2", "prompt_i": 2} +{"session": "pr2_on_r2", "sha": "b10ee1aac48deb24", "notes": ["strata serve: decode expert cache hit rate: 94.8% (138716 hits / 146392 lookups); 2434 more read by the GPU over PCIe or from another GPU (1.6% of all 148826 routed)"], "prompt_tokens": 28, "prefill_tps": 90.8, "gen": 256, "decode_tps": 108.3, "acc": 164, "drafted": 233, "variant": "pr2_on", "round": "2", "prompt_i": 3} +{"session": "pr2_on_r2", "sha": "2b2be37357f677ce", "notes": ["strata serve: decode expert cache hit rate: 94.3% (154047 hits / 163376 lookups); 2539 more read by the GPU over PCIe or from another GPU (1.5% of all 165915 routed)"], "prompt_tokens": 23, "prefill_tps": 101.1, "gen": 256, "decode_tps": 88.8, "acc": 142, "drafted": 247, "variant": "pr2_on", "round": "2", "prompt_i": 4} +{"session": "pr2_on_r2", "sha": "eefb1eebd8f34d7b", "notes": ["strata serve: decode expert cache hit rate: 94.2% (140461 hits / 149081 lookups); 3400 more read by the GPU over PCIe or from another GPU (2.2% of all 152481 routed)"], "prompt_tokens": 33, "prefill_tps": 106.4, "gen": 256, "decode_tps": 99.3, "acc": 155, "drafted": 234, "variant": "pr2_on", "round": "2", "prompt_i": 5} +{"session": "pr2_on_r2", "sha": "3660a7940e073f87", "notes": ["strata serve: decode expert cache hit rate: 91.9% (145899 hits / 158781 lookups); 3876 more read by the GPU over PCIe or from another GPU (2.4% of all 162657 routed)"], "prompt_tokens": 27, "prefill_tps": 92.5, "gen": 256, "decode_tps": 79.6, "acc": 140, "drafted": 242, "variant": "pr2_on", "round": "2", "prompt_i": 6} +{"session": "pr2_on_r2", "sha": "8699072667e005b0", "notes": ["strata serve: decode expert cache hit rate: 92.8% (127667 hits / 137617 lookups); 2347 more read by the GPU over PCIe or from another GPU (1.7% of all 139964 routed)"], "prompt_tokens": 29, "prefill_tps": 79.4, "gen": 256, "decode_tps": 100.4, "acc": 161, "drafted": 213, "variant": "pr2_on", "round": "2", "prompt_i": 7} +{"session": "pr2_on_r2", "sha": "fecc71685b0f99f9", "notes": ["strata serve: decode expert cache hit rate: 89.5% (116427 hits / 130027 lookups); 5286 more read by the GPU over PCIe or from another GPU (3.9% of all 135313 routed)"], "prompt_tokens": 25, "prefill_tps": 104.1, "gen": 256, "decode_tps": 92.5, "acc": 166, "drafted": 213, "variant": "pr2_on", "round": "2", "prompt_i": 8} +{"session": "pr2_on_r2", "sha": "1399ebf14598d778", "notes": ["strata serve: decode expert cache hit rate: 91.7% (116485 hits / 127046 lookups); 4274 more read by the GPU over PCIe or from another GPU (3.3% of all 131320 routed)"], "prompt_tokens": 32, "prefill_tps": 106.7, "gen": 256, "decode_tps": 105.8, "acc": 176, "drafted": 213, "variant": "pr2_on", "round": "2", "prompt_i": 9} +{"session": "pr2_on_r2", "sha": "e454b53016470668", "notes": ["strata serve: decode expert cache hit rate: 93.0% (148301 hits / 159378 lookups); 2849 more read by the GPU over PCIe or from another GPU (1.8% of all 162227 routed)"], "prompt_tokens": 25, "prefill_tps": 93.5, "gen": 256, "decode_tps": 87.1, "acc": 139, "drafted": 237, "variant": "pr2_on", "round": "2", "prompt_i": 10} +{"session": "pr2_on_r2", "sha": "9464ca13ce5fcfa7", "notes": ["strata serve: decode expert cache hit rate: 94.3% (134301 hits / 142357 lookups); 2235 more read by the GPU over PCIe or from another GPU (1.5% of all 144592 routed)"], "prompt_tokens": 24, "prefill_tps": 102.2, "gen": 256, "decode_tps": 108.7, "acc": 170, "drafted": 228, "variant": "pr2_on", "round": "2", "prompt_i": 11} +{"session": "pr1_on_r2", "sha": "bd4534a21f79c850", "notes": ["strata serve: decode expert cache hit rate: 94.2% (95930 hits / 101859 lookups); 1392 more read by the GPU over PCIe or from another GPU (1.3% of all 103251 routed)", "strata serve: asynchronous adaptive tier: 101 rounds, 4721 experts swapped in, 32.3 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.13 ms/round)"], "prompt_tokens": 26, "prefill_tps": 132.1, "gen": 162, "decode_tps": 95.7, "acc": 82, "drafted": 144, "variant": "pr1_on", "round": "2", "prompt_i": 0} +{"session": "pr1_on_r2", "sha": "91f70604a65a360e", "notes": ["strata verify: captured the 5-token window (upload no error, sync no error)", "strata serve: decode expert cache hit rate: 88.7% (112523 hits / 126851 lookups); 2676 more read by the GPU over PCIe or from another GPU (2.1% of all 129527 routed)", "strata serve: asynchronous adaptive tier: 177 rounds, 9637 experts swapped in, 33.8 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)", "strata serve: suffix drafts: 1 windows, 2 of 3 drafts accepted"], "prompt_tokens": 36, "prefill_tps": 103.8, "gen": 256, "decode_tps": 116.5, "acc": 181, "drafted": 215, "variant": "pr1_on", "round": "2", "prompt_i": 1} +{"session": "pr1_on_r2", "sha": "104e7a57502bde12", "notes": ["strata serve: decode expert cache hit rate: 88.0% (136110 hits / 154594 lookups); 3354 more read by the GPU over PCIe or from another GPU (2.1% of all 157948 routed)", "strata serve: asynchronous adaptive tier: 289 rounds, 15316 experts swapped in, 32.5 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)", "strata serve: suffix drafts: 1 windows, 1 of 3 drafts accepted"], "prompt_tokens": 25, "prefill_tps": 91.3, "gen": 256, "decode_tps": 88.6, "acc": 144, "drafted": 240, "variant": "pr1_on", "round": "2", "prompt_i": 2} +{"session": "pr1_on_r2", "sha": "5fc05e6fcaccbbb0", "notes": ["strata serve: decode expert cache hit rate: 93.5% (140724 hits / 150432 lookups); 1723 more read by the GPU over PCIe or from another GPU (1.1% of all 152155 routed)", "strata serve: asynchronous adaptive tier: 390 rounds, 19761 experts swapped in, 31.3 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)", "strata serve: suffix drafts: 1 windows, 1 of 2 drafts accepted"], "prompt_tokens": 28, "prefill_tps": 83.2, "gen": 256, "decode_tps": 110.1, "acc": 155, "drafted": 234, "variant": "pr1_on", "round": "2", "prompt_i": 3} +{"session": "pr1_on_r2", "sha": "99f1255d987fb52c", "notes": ["strata serve: decode expert cache hit rate: 93.0% (147048 hits / 158033 lookups); 1676 more read by the GPU over PCIe or from another GPU (1.0% of all 159709 routed)", "strata serve: asynchronous adaptive tier: 502 rounds, 24475 experts swapped in, 30.5 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 23, "prefill_tps": 96.2, "gen": 256, "decode_tps": 99.3, "acc": 145, "drafted": 238, "variant": "pr1_on", "round": "2", "prompt_i": 4} +{"session": "pr1_on_r2", "sha": "d302b1f915b0bc90", "notes": ["strata serve: decode expert cache hit rate: 92.6% (138728 hits / 149800 lookups); 1778 more read by the GPU over PCIe or from another GPU (1.2% of all 151578 routed)", "strata serve: asynchronous adaptive tier: 604 rounds, 29071 experts swapped in, 30.1 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 33, "prefill_tps": 96.9, "gen": 256, "decode_tps": 108.4, "acc": 154, "drafted": 231, "variant": "pr1_on", "round": "2", "prompt_i": 5} +{"session": "pr1_on_r2", "sha": "f89c398d1121891f", "notes": ["strata serve: decode expert cache hit rate: 89.0% (134593 hits / 151146 lookups); 2918 more read by the GPU over PCIe or from another GPU (1.9% of all 154064 routed)", "strata serve: asynchronous adaptive tier: 716 rounds, 34404 experts swapped in, 29.9 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 27, "prefill_tps": 88.3, "gen": 252, "decode_tps": 90.8, "acc": 143, "drafted": 230, "variant": "pr1_on", "round": "2", "prompt_i": 6} +{"session": "pr1_on_r2", "sha": "f280719c218e950f", "notes": ["strata serve: decode expert cache hit rate: 91.4% (128823 hits / 141016 lookups); 2243 more read by the GPU over PCIe or from another GPU (1.6% of all 143259 routed)", "strata serve: asynchronous adaptive tier: 816 rounds, 39045 experts swapped in, 29.8 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)", "strata serve: suffix drafts: 2 windows, 3 of 4 drafts accepted"], "prompt_tokens": 29, "prefill_tps": 90.7, "gen": 256, "decode_tps": 108.8, "acc": 157, "drafted": 217, "variant": "pr1_on", "round": "2", "prompt_i": 7} +{"session": "pr1_on_r2", "sha": "08b3b235c564a3c2", "notes": ["strata serve: decode expert cache hit rate: 86.4% (120429 hits / 139342 lookups); 3200 more read by the GPU over PCIe or from another GPU (2.2% of all 142542 routed)", "strata serve: asynchronous adaptive tier: 910 rounds, 45014 experts swapped in, 30.1 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)", "strata serve: suffix drafts: 1 windows, 2 of 2 drafts accepted"], "prompt_tokens": 25, "prefill_tps": 97.6, "gen": 256, "decode_tps": 97.2, "acc": 164, "drafted": 225, "variant": "pr1_on", "round": "2", "prompt_i": 8} +{"session": "pr1_on_r2", "sha": "554b161eb96c3713", "notes": ["strata serve: decode expert cache hit rate: 88.1% (109914 hits / 124809 lookups); 2814 more read by the GPU over PCIe or from another GPU (2.2% of all 127623 routed)", "strata serve: asynchronous adaptive tier: 987 rounds, 49957 experts swapped in, 30.6 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 32, "prefill_tps": 98.4, "gen": 256, "decode_tps": 113.5, "acc": 181, "drafted": 210, "variant": "pr1_on", "round": "2", "prompt_i": 9} +{"session": "pr1_on_r2", "sha": "6ac1d281510b523a", "notes": ["strata serve: decode expert cache hit rate: 91.6% (143348 hits / 156412 lookups); 2202 more read by the GPU over PCIe or from another GPU (1.4% of all 158614 routed)", "strata serve: asynchronous adaptive tier: 1112 rounds, 54792 experts swapped in, 30.1 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 25, "prefill_tps": 87.1, "gen": 256, "decode_tps": 92.9, "acc": 134, "drafted": 224, "variant": "pr1_on", "round": "2", "prompt_i": 10} +{"session": "pr1_on_r2", "sha": "d6b4772b5e3db371", "notes": ["strata serve: decode expert cache hit rate: 93.0% (127639 hits / 137221 lookups); 1432 more read by the GPU over PCIe or from another GPU (1.0% of all 138653 routed)", "strata serve: asynchronous adaptive tier: 1200 rounds, 58891 experts swapped in, 30.1 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)", "strata serve: suffix drafts: 1 windows, 1 of 2 drafts accepted"], "prompt_tokens": 24, "prefill_tps": 94.7, "gen": 256, "decode_tps": 118.1, "acc": 170, "drafted": 217, "variant": "pr1_on", "round": "2", "prompt_i": 11} +{"session": "v0142_r2", "sha": "7ca75f5f9abd823e", "notes": ["strata serve: decode expert cache hit rate: 94.4% (87596 hits / 92749 lookups); 1180 more read by the GPU over PCIe or from another GPU (1.3% of all 93929 routed)"], "prompt_tokens": 26, "prefill_tps": 131.3, "gen": 149, "decode_tps": 89.5, "acc": 77, "drafted": 130, "variant": "v0142", "round": "2", "prompt_i": 0} +{"session": "v0142_r2", "sha": "53d74428a77fd76c", "notes": ["strata verify: captured the 5-token window (upload no error, sync no error)", "strata serve: decode expert cache hit rate: 89.3% (112089 hits / 125499 lookups); 2203 more read by the GPU over PCIe or from another GPU (1.7% of all 127702 routed)", "strata serve: suffix drafts: 1 windows, 2 of 3 drafts accepted"], "prompt_tokens": 36, "prefill_tps": 101.7, "gen": 256, "decode_tps": 107.5, "acc": 183, "drafted": 211, "variant": "v0142", "round": "2", "prompt_i": 1} +{"session": "v0142_r2", "sha": "d7b45775481d1aa7", "notes": ["strata serve: decode expert cache hit rate: 88.2% (127813 hits / 144970 lookups); 2801 more read by the GPU over PCIe or from another GPU (1.9% of all 147771 routed)"], "prompt_tokens": 25, "prefill_tps": 81.4, "gen": 256, "decode_tps": 87.1, "acc": 159, "drafted": 229, "variant": "v0142", "round": "2", "prompt_i": 2} +{"session": "v0142_r2", "sha": "054268aa3fdbd003", "notes": ["strata serve: decode expert cache hit rate: 94.1% (141846 hits / 150688 lookups); 1409 more read by the GPU over PCIe or from another GPU (0.9% of all 152097 routed)"], "prompt_tokens": 28, "prefill_tps": 86.1, "gen": 256, "decode_tps": 100.7, "acc": 148, "drafted": 224, "variant": "v0142", "round": "2", "prompt_i": 3} +{"session": "v0142_r2", "sha": "c87fcf91f34a9322", "notes": ["strata serve: decode expert cache hit rate: 94.6% (162483 hits / 171765 lookups); 1307 more read by the GPU over PCIe or from another GPU (0.8% of all 173072 routed)"], "prompt_tokens": 23, "prefill_tps": 94.7, "gen": 256, "decode_tps": 92.8, "acc": 142, "drafted": 261, "variant": "v0142", "round": "2", "prompt_i": 4} +{"session": "v0142_r2", "sha": "b199bb6ddd622543", "notes": ["strata serve: decode expert cache hit rate: 93.6% (146709 hits / 156684 lookups); 1517 more read by the GPU over PCIe or from another GPU (1.0% of all 158201 routed)"], "prompt_tokens": 33, "prefill_tps": 100.9, "gen": 256, "decode_tps": 97.8, "acc": 148, "drafted": 237, "variant": "v0142", "round": "2", "prompt_i": 5} +{"session": "v0142_r2", "sha": "19b2d4ebca1fa3eb", "notes": ["strata serve: decode expert cache hit rate: 89.9% (109492 hits / 121845 lookups); 2200 more read by the GPU over PCIe or from another GPU (1.8% of all 124045 routed)"], "prompt_tokens": 27, "prefill_tps": 87.6, "gen": 210, "decode_tps": 86.2, "acc": 118, "drafted": 182, "variant": "v0142", "round": "2", "prompt_i": 6} +{"session": "v0142_r2", "sha": "c875ce3c7d0d94ce", "notes": ["strata serve: decode expert cache hit rate: 93.2% (142252 hits / 152566 lookups); 1825 more read by the GPU over PCIe or from another GPU (1.2% of all 154391 routed)", "strata serve: suffix drafts: 3 windows, 5 of 6 drafts accepted"], "prompt_tokens": 29, "prefill_tps": 98.8, "gen": 256, "decode_tps": 96.4, "acc": 147, "drafted": 228, "variant": "v0142", "round": "2", "prompt_i": 7} +{"session": "v0142_r2", "sha": "441aa2e34fb2d9f4", "notes": ["strata serve: decode expert cache hit rate: 90.0% (132255 hits / 146960 lookups); 2371 more read by the GPU over PCIe or from another GPU (1.6% of all 149331 routed)", "strata serve: suffix drafts: 8 windows, 12 of 17 drafts accepted"], "prompt_tokens": 25, "prefill_tps": 93.6, "gen": 256, "decode_tps": 90.6, "acc": 157, "drafted": 233, "variant": "v0142", "round": "2", "prompt_i": 8} +{"session": "v0142_r2", "sha": "9e336bf8c874b008", "notes": ["strata serve: decode expert cache hit rate: 91.1% (123298 hits / 135272 lookups); 2011 more read by the GPU over PCIe or from another GPU (1.5% of all 137283 routed)", "strata serve: suffix drafts: 1 windows, 1 of 2 drafts accepted"], "prompt_tokens": 32, "prefill_tps": 101.8, "gen": 256, "decode_tps": 106.4, "acc": 177, "drafted": 224, "variant": "v0142", "round": "2", "prompt_i": 9} +{"session": "v0142_r2", "sha": "b915131613026836", "notes": ["strata serve: decode expert cache hit rate: 92.2% (149942 hits / 162630 lookups); 2094 more read by the GPU over PCIe or from another GPU (1.3% of all 164724 routed)"], "prompt_tokens": 25, "prefill_tps": 88.1, "gen": 256, "decode_tps": 87.5, "acc": 134, "drafted": 240, "variant": "v0142", "round": "2", "prompt_i": 10} +{"session": "v0142_r2", "sha": "356bb2a87582572e", "notes": ["strata serve: decode expert cache hit rate: 93.8% (134482 hits / 143383 lookups); 1260 more read by the GPU over PCIe or from another GPU (0.9% of all 144643 routed)", "strata serve: suffix drafts: 3 windows, 4 of 6 drafts accepted"], "prompt_tokens": 24, "prefill_tps": 94.0, "gen": 256, "decode_tps": 107.7, "acc": 163, "drafted": 224, "variant": "v0142", "round": "2", "prompt_i": 11} diff --git a/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/cold_earlier.jsonl b/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/cold_earlier.jsonl new file mode 100644 index 00000000..9b25c126 --- /dev/null +++ b/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/cold_earlier.jsonl @@ -0,0 +1,96 @@ +{"session": "rel_r1", "sha": "5b03db515ca5ad75", "notes": ["strata serve: decode expert cache hit rate: 95.1% (90911 hits / 95548 lookups); 1923 more read by the GPU over PCIe or from another GPU (2.0% of all 97471 routed)"], "prompt_tokens": 26, "prefill_tps": 112.0, "gen": 153, "decode_tps": 80.9, "acc": 76, "drafted": 133, "variant": "rel", "round": "1", "prompt_i": 0} +{"session": "rel_r1", "sha": "ec8dc2065f46dbbc", "notes": ["strata verify: captured the 5-token window (upload no error, sync no error)", "strata serve: decode expert cache hit rate: 91.1% (110443 hits / 121168 lookups); 4608 more read by the GPU over PCIe or from another GPU (3.7% of all 125776 routed)"], "prompt_tokens": 36, "prefill_tps": 88.8, "gen": 256, "decode_tps": 81.0, "acc": 182, "drafted": 207, "variant": "rel", "round": "1", "prompt_i": 1} +{"session": "rel_r1", "sha": "b365446fa5f5171f", "notes": ["strata serve: decode expert cache hit rate: 90.8% (142771 hits / 157304 lookups); 5323 more read by the GPU over PCIe or from another GPU (3.3% of all 162627 routed)"], "prompt_tokens": 25, "prefill_tps": 66.8, "gen": 256, "decode_tps": 60.2, "acc": 143, "drafted": 247, "variant": "rel", "round": "1", "prompt_i": 2} +{"session": "rel_r1", "sha": "25985be557709d03", "notes": ["strata serve: decode expert cache hit rate: 94.8% (139449 hits / 147145 lookups); 2873 more read by the GPU over PCIe or from another GPU (1.9% of all 150018 routed)"], "prompt_tokens": 28, "prefill_tps": 60.9, "gen": 256, "decode_tps": 83.8, "acc": 151, "drafted": 224, "variant": "rel", "round": "1", "prompt_i": 3} +{"session": "rel_r1", "sha": "632d3dcda91b492e", "notes": ["strata serve: decode expert cache hit rate: 94.2% (163484 hits / 173473 lookups); 3377 more read by the GPU over PCIe or from another GPU (1.9% of all 176850 routed)"], "prompt_tokens": 23, "prefill_tps": 70.8, "gen": 256, "decode_tps": 52.1, "acc": 136, "drafted": 267, "variant": "rel", "round": "1", "prompt_i": 4} +{"session": "rel_r1", "sha": "60181964b78d986d", "notes": ["strata serve: decode expert cache hit rate: 93.8% (138976 hits / 148200 lookups); 3341 more read by the GPU over PCIe or from another GPU (2.2% of all 151541 routed)"], "prompt_tokens": 33, "prefill_tps": 76.4, "gen": 256, "decode_tps": 61.4, "acc": 158, "drafted": 232, "variant": "rel", "round": "1", "prompt_i": 5} +{"session": "rel_r1", "sha": "ec5c9ba64c03bf83", "notes": ["strata serve: decode expert cache hit rate: 92.2% (141811 hits / 153750 lookups); 4283 more read by the GPU over PCIe or from another GPU (2.7% of all 158033 routed)"], "prompt_tokens": 27, "prefill_tps": 83.5, "gen": 246, "decode_tps": 51.5, "acc": 130, "drafted": 232, "variant": "rel", "round": "1", "prompt_i": 6} +{"session": "rel_r1", "sha": "a505d0c51e5eb21c", "notes": ["strata serve: decode expert cache hit rate: 93.7% (135533 hits / 144682 lookups); 3616 more read by the GPU over PCIe or from another GPU (2.4% of all 148298 routed)"], "prompt_tokens": 29, "prefill_tps": 58.7, "gen": 256, "decode_tps": 79.0, "acc": 154, "drafted": 222, "variant": "rel", "round": "1", "prompt_i": 7} +{"session": "rel_r1", "sha": "46d924cf39bf3a06", "notes": ["strata serve: decode expert cache hit rate: 91.2% (129896 hits / 142360 lookups); 4367 more read by the GPU over PCIe or from another GPU (3.0% of all 146727 routed)"], "prompt_tokens": 25, "prefill_tps": 78.7, "gen": 256, "decode_tps": 83.2, "acc": 166, "drafted": 235, "variant": "rel", "round": "1", "prompt_i": 8} +{"session": "rel_r1", "sha": "1399ebf14598d778", "notes": ["strata serve: decode expert cache hit rate: 92.3% (120241 hits / 130301 lookups); 3506 more read by the GPU over PCIe or from another GPU (2.6% of all 133807 routed)"], "prompt_tokens": 32, "prefill_tps": 89.0, "gen": 256, "decode_tps": 90.6, "acc": 176, "drafted": 217, "variant": "rel", "round": "1", "prompt_i": 9} +{"session": "rel_r1", "sha": "a8adb3d33ceea048", "notes": ["strata serve: decode expert cache hit rate: 92.8% (140522 hits / 151367 lookups); 4066 more read by the GPU over PCIe or from another GPU (2.6% of all 155433 routed)"], "prompt_tokens": 25, "prefill_tps": 67.6, "gen": 256, "decode_tps": 80.7, "acc": 142, "drafted": 228, "variant": "rel", "round": "1", "prompt_i": 10} +{"session": "rel_r1", "sha": "94904c9c7d3da737", "notes": ["strata serve: decode expert cache hit rate: 94.1% (134644 hits / 143053 lookups); 2698 more read by the GPU over PCIe or from another GPU (1.9% of all 145751 routed)"], "prompt_tokens": 24, "prefill_tps": 82.7, "gen": 256, "decode_tps": 97.6, "acc": 166, "drafted": 229, "variant": "rel", "round": "1", "prompt_i": 11} +{"session": "loc_r1", "sha": "7ca75f5f9abd823e", "notes": ["strata serve: decode expert cache hit rate: 94.5% (87595 hits / 92736 lookups); 1195 more read by the GPU over PCIe or from another GPU (1.3% of all 93931 routed)"], "prompt_tokens": 26, "prefill_tps": 124.2, "gen": 149, "decode_tps": 81.0, "acc": 77, "drafted": 130, "variant": "loc", "round": "1", "prompt_i": 0} +{"session": "loc_r1", "sha": "53d74428a77fd76c", "notes": ["strata verify: captured the 5-token window (upload no error, sync no error)", "strata serve: decode expert cache hit rate: 89.4% (109893 hits / 122887 lookups); 2466 more read by the GPU over PCIe or from another GPU (2.0% of all 125353 routed)"], "prompt_tokens": 36, "prefill_tps": 82.5, "gen": 256, "decode_tps": 93.5, "acc": 184, "drafted": 207, "variant": "loc", "round": "1", "prompt_i": 1} +{"session": "loc_r1", "sha": "51497fd51df4d215", "notes": ["strata serve: decode expert cache hit rate: 88.6% (126365 hits / 142674 lookups); 3684 more read by the GPU over PCIe or from another GPU (2.5% of all 146358 routed)"], "prompt_tokens": 25, "prefill_tps": 86.0, "gen": 256, "decode_tps": 79.2, "acc": 157, "drafted": 226, "variant": "loc", "round": "1", "prompt_i": 2} +{"session": "loc_r1", "sha": "84d48bf673cc169a", "notes": ["strata serve: decode expert cache hit rate: 93.1% (140030 hits / 150445 lookups); 1704 more read by the GPU over PCIe or from another GPU (1.1% of all 152149 routed)"], "prompt_tokens": 28, "prefill_tps": 80.2, "gen": 256, "decode_tps": 93.8, "acc": 153, "drafted": 231, "variant": "loc", "round": "1", "prompt_i": 3} +{"session": "loc_r1", "sha": "c30277e6250f8379", "notes": ["strata serve: decode expert cache hit rate: 93.6% (144030 hits / 153920 lookups); 1486 more read by the GPU over PCIe or from another GPU (1.0% of all 155406 routed)"], "prompt_tokens": 23, "prefill_tps": 68.9, "gen": 256, "decode_tps": 84.1, "acc": 148, "drafted": 232, "variant": "loc", "round": "1", "prompt_i": 4} +{"session": "loc_r1", "sha": "f383b1b869316816", "notes": ["strata serve: decode expert cache hit rate: 93.5% (142355 hits / 152328 lookups); 1551 more read by the GPU over PCIe or from another GPU (1.0% of all 153879 routed)"], "prompt_tokens": 33, "prefill_tps": 66.4, "gen": 256, "decode_tps": 95.9, "acc": 157, "drafted": 238, "variant": "loc", "round": "1", "prompt_i": 5} +{"session": "loc_r1", "sha": "2d8c934c71d8b28f", "notes": ["strata serve: decode expert cache hit rate: 89.6% (107430 hits / 119911 lookups); 2144 more read by the GPU over PCIe or from another GPU (1.8% of all 122055 routed)"], "prompt_tokens": 27, "prefill_tps": 68.2, "gen": 199, "decode_tps": 69.0, "acc": 113, "drafted": 183, "variant": "loc", "round": "1", "prompt_i": 6} +{"session": "loc_r1", "sha": "e8ecc642a3d917a9", "notes": ["strata serve: decode expert cache hit rate: 92.2% (129480 hits / 140391 lookups); 2012 more read by the GPU over PCIe or from another GPU (1.4% of all 142403 routed)"], "prompt_tokens": 29, "prefill_tps": 89.6, "gen": 256, "decode_tps": 93.4, "acc": 158, "drafted": 214, "variant": "loc", "round": "1", "prompt_i": 7} +{"session": "loc_r1", "sha": "d5fe64a529959d73", "notes": ["strata serve: decode expert cache hit rate: 88.0% (120740 hits / 137176 lookups); 2763 more read by the GPU over PCIe or from another GPU (2.0% of all 139939 routed)"], "prompt_tokens": 25, "prefill_tps": 72.6, "gen": 256, "decode_tps": 81.2, "acc": 170, "drafted": 224, "variant": "loc", "round": "1", "prompt_i": 8} +{"session": "loc_r1", "sha": "9e336bf8c874b008", "notes": ["strata serve: decode expert cache hit rate: 90.8% (120217 hits / 132390 lookups); 2101 more read by the GPU over PCIe or from another GPU (1.6% of all 134491 routed)"], "prompt_tokens": 32, "prefill_tps": 79.1, "gen": 256, "decode_tps": 92.8, "acc": 177, "drafted": 218, "variant": "loc", "round": "1", "prompt_i": 9} +{"session": "loc_r1", "sha": "44729e59b5c10d40", "notes": ["strata serve: decode expert cache hit rate: 92.2% (146742 hits / 159073 lookups); 2084 more read by the GPU over PCIe or from another GPU (1.3% of all 161157 routed)"], "prompt_tokens": 25, "prefill_tps": 72.3, "gen": 256, "decode_tps": 78.1, "acc": 131, "drafted": 228, "variant": "loc", "round": "1", "prompt_i": 10} +{"session": "loc_r1", "sha": "356bb2a87582572e", "notes": ["strata serve: decode expert cache hit rate: 93.5% (135140 hits / 144496 lookups); 1395 more read by the GPU over PCIe or from another GPU (1.0% of all 145891 routed)"], "prompt_tokens": 24, "prefill_tps": 58.6, "gen": 256, "decode_tps": 63.3, "acc": 164, "drafted": 228, "variant": "loc", "round": "1", "prompt_i": 11} +{"session": "async_r1", "sha": "45ed7a0fa00ccfaf", "notes": ["strata serve: decode expert cache hit rate: 94.2% (87666 hits / 93097 lookups); 1438 more read by the GPU over PCIe or from another GPU (1.5% of all 94535 routed)", "strata serve: asynchronous adaptive tier: 96 rounds, 4570 experts swapped in, 33.6 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 26, "prefill_tps": 129.0, "gen": 149, "decode_tps": 89.7, "acc": 74, "drafted": 130, "variant": "async", "round": "1", "prompt_i": 0} +{"session": "async_r1", "sha": "0e1012af204660a3", "notes": ["strata verify: captured the 5-token window (upload no error, sync no error)", "strata serve: decode expert cache hit rate: 88.9% (111665 hits / 125623 lookups); 3215 more read by the GPU over PCIe or from another GPU (2.5% of all 128838 routed)", "strata serve: asynchronous adaptive tier: 172 rounds, 9511 experts swapped in, 35.8 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.16 ms/round)"], "prompt_tokens": 36, "prefill_tps": 89.6, "gen": 256, "decode_tps": 105.5, "acc": 182, "drafted": 213, "variant": "async", "round": "1", "prompt_i": 1} +{"session": "async_r1", "sha": "80338347be990046", "notes": ["strata serve: decode expert cache hit rate: 88.2% (129600 hits / 146860 lookups); 3962 more read by the GPU over PCIe or from another GPU (2.6% of all 150822 routed)", "strata serve: asynchronous adaptive tier: 273 rounds, 14959 experts swapped in, 35.4 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.16 ms/round)"], "prompt_tokens": 25, "prefill_tps": 87.0, "gen": 256, "decode_tps": 85.7, "acc": 155, "drafted": 235, "variant": "async", "round": "1", "prompt_i": 2} +{"session": "async_r1", "sha": "bd53ce2c11c2912b", "notes": ["strata serve: decode expert cache hit rate: 92.6% (134640 hits / 145386 lookups); 2521 more read by the GPU over PCIe or from another GPU (1.7% of all 147907 routed)", "strata serve: asynchronous adaptive tier: 376 rounds, 19682 experts swapped in, 33.5 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.16 ms/round)"], "prompt_tokens": 28, "prefill_tps": 82.6, "gen": 256, "decode_tps": 105.4, "acc": 155, "drafted": 224, "variant": "async", "round": "1", "prompt_i": 3} +{"session": "async_r1", "sha": "fcd2042307544bb3", "notes": ["strata serve: decode expert cache hit rate: 92.2% (137202 hits / 148843 lookups); 2222 more read by the GPU over PCIe or from another GPU (1.5% of all 151065 routed)", "strata serve: asynchronous adaptive tier: 482 rounds, 24636 experts swapped in, 32.6 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 23, "prefill_tps": 78.8, "gen": 256, "decode_tps": 97.2, "acc": 151, "drafted": 227, "variant": "async", "round": "1", "prompt_i": 4} +{"session": "async_r1", "sha": "2d85e3b4cd2b59ee", "notes": ["strata serve: decode expert cache hit rate: 92.3% (137400 hits / 148795 lookups); 2213 more read by the GPU over PCIe or from another GPU (1.5% of all 151008 routed)", "strata serve: asynchronous adaptive tier: 587 rounds, 29315 experts swapped in, 32.0 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 33, "prefill_tps": 92.4, "gen": 256, "decode_tps": 98.7, "acc": 152, "drafted": 227, "variant": "async", "round": "1", "prompt_i": 5} +{"session": "async_r1", "sha": "34a623fd80f472e9", "notes": ["strata serve: decode expert cache hit rate: 90.3% (137494 hits / 152237 lookups); 3232 more read by the GPU over PCIe or from another GPU (2.1% of all 155469 routed)", "strata serve: asynchronous adaptive tier: 700 rounds, 34497 experts swapped in, 31.6 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 27, "prefill_tps": 78.8, "gen": 256, "decode_tps": 89.9, "acc": 145, "drafted": 231, "variant": "async", "round": "1", "prompt_i": 6} +{"session": "async_r1", "sha": "a6b4650f25648810", "notes": ["strata serve: decode expert cache hit rate: 92.5% (129814 hits / 140302 lookups); 2229 more read by the GPU over PCIe or from another GPU (1.6% of all 142531 routed)", "strata serve: asynchronous adaptive tier: 800 rounds, 38849 experts swapped in, 31.4 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 29, "prefill_tps": 80.9, "gen": 256, "decode_tps": 103.4, "acc": 156, "drafted": 215, "variant": "async", "round": "1", "prompt_i": 7} +{"session": "async_r1", "sha": "b5041771ab24c949", "notes": ["strata serve: decode expert cache hit rate: 88.5% (124899 hits / 141063 lookups); 3208 more read by the GPU over PCIe or from another GPU (2.2% of all 144271 routed)", "strata serve: asynchronous adaptive tier: 897 rounds, 44494 experts swapped in, 31.6 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 25, "prefill_tps": 90.5, "gen": 256, "decode_tps": 92.7, "acc": 161, "drafted": 226, "variant": "async", "round": "1", "prompt_i": 8} +{"session": "async_r1", "sha": "554b161eb96c3713", "notes": ["strata serve: decode expert cache hit rate: 88.6% (112992 hits / 127501 lookups); 3465 more read by the GPU over PCIe or from another GPU (2.6% of all 130966 routed)", "strata serve: asynchronous adaptive tier: 976 rounds, 49472 experts swapped in, 32.2 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 32, "prefill_tps": 87.5, "gen": 256, "decode_tps": 99.4, "acc": 179, "drafted": 215, "variant": "async", "round": "1", "prompt_i": 9} +{"session": "async_r1", "sha": "78a997275c35a6d7", "notes": ["strata serve: decode expert cache hit rate: 91.5% (146024 hits / 159554 lookups); 2930 more read by the GPU over PCIe or from another GPU (1.8% of all 162484 routed)", "strata serve: asynchronous adaptive tier: 1105 rounds, 54632 experts swapped in, 31.7 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 25, "prefill_tps": 71.3, "gen": 256, "decode_tps": 84.6, "acc": 127, "drafted": 229, "variant": "async", "round": "1", "prompt_i": 10} +{"session": "async_r1", "sha": "26011b0aa2eae8dd", "notes": ["strata serve: decode expert cache hit rate: 92.8% (129041 hits / 139019 lookups); 1880 more read by the GPU over PCIe or from another GPU (1.3% of all 140899 routed)", "strata serve: asynchronous adaptive tier: 1194 rounds, 58795 experts swapped in, 31.7 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 24, "prefill_tps": 87.2, "gen": 256, "decode_tps": 110.1, "acc": 169, "drafted": 221, "variant": "async", "round": "1", "prompt_i": 11} +{"session": "asyncbp_r1", "sha": "bd4534a21f79c850", "notes": ["strata serve: decode expert cache hit rate: 94.5% (97987 hits / 103665 lookups); 1883 more read by the GPU over PCIe or from another GPU (1.8% of all 105548 routed)", "strata serve: asynchronous adaptive tier: 101 rounds, 4765 experts swapped in, 33.2 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.13 ms/round)"], "prompt_tokens": 26, "prefill_tps": 127.9, "gen": 162, "decode_tps": 91.6, "acc": 82, "drafted": 149, "variant": "asyncbp", "round": "1", "prompt_i": 0} +{"session": "asyncbp_r1", "sha": "345476568af360f9", "notes": ["strata verify: captured the 5-token window (upload no error, sync no error)", "strata serve: decode expert cache hit rate: 89.7% (117188 hits / 130619 lookups); 3651 more read by the GPU over PCIe or from another GPU (2.7% of all 134270 routed)", "strata serve: asynchronous adaptive tier: 181 rounds, 9794 experts swapped in, 35.5 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.20 ms/round)"], "prompt_tokens": 36, "prefill_tps": 84.3, "gen": 256, "decode_tps": 100.2, "acc": 178, "drafted": 221, "variant": "asyncbp", "round": "1", "prompt_i": 1} +{"session": "asyncbp_r1", "sha": "285cde609c9b2f00", "notes": ["strata serve: decode expert cache hit rate: 88.1% (134473 hits / 152584 lookups); 4937 more read by the GPU over PCIe or from another GPU (3.1% of all 157521 routed)", "strata serve: asynchronous adaptive tier: 286 rounds, 15581 experts swapped in, 34.7 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.19 ms/round)"], "prompt_tokens": 25, "prefill_tps": 80.9, "gen": 256, "decode_tps": 85.9, "acc": 152, "drafted": 246, "variant": "asyncbp", "round": "1", "prompt_i": 2} +{"session": "asyncbp_r1", "sha": "cc9560456729f2de", "notes": ["strata serve: decode expert cache hit rate: 94.7% (143996 hits / 152057 lookups); 2289 more read by the GPU over PCIe or from another GPU (1.5% of all 154346 routed)", "strata serve: asynchronous adaptive tier: 383 rounds, 19672 experts swapped in, 33.2 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.18 ms/round)"], "prompt_tokens": 28, "prefill_tps": 81.1, "gen": 256, "decode_tps": 110.7, "acc": 159, "drafted": 242, "variant": "asyncbp", "round": "1", "prompt_i": 3} +{"session": "asyncbp_r1", "sha": "cb76107c653d0d6c", "notes": ["strata serve: decode expert cache hit rate: 93.7% (149311 hits / 159286 lookups); 2736 more read by the GPU over PCIe or from another GPU (1.7% of all 162022 routed)", "strata serve: asynchronous adaptive tier: 495 rounds, 24387 experts swapped in, 32.2 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.17 ms/round)"], "prompt_tokens": 23, "prefill_tps": 89.8, "gen": 256, "decode_tps": 94.0, "acc": 144, "drafted": 243, "variant": "asyncbp", "round": "1", "prompt_i": 4} +{"session": "asyncbp_r1", "sha": "e0794a25c520cb9d", "notes": ["strata serve: decode expert cache hit rate: 93.3% (146971 hits / 157453 lookups); 2893 more read by the GPU over PCIe or from another GPU (1.8% of all 160346 routed)", "strata serve: asynchronous adaptive tier: 603 rounds, 29271 experts swapped in, 31.6 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.16 ms/round)"], "prompt_tokens": 33, "prefill_tps": 89.6, "gen": 256, "decode_tps": 98.4, "acc": 149, "drafted": 244, "variant": "asyncbp", "round": "1", "prompt_i": 5} +{"session": "asyncbp_r1", "sha": "0217e0b272caf1af", "notes": ["strata serve: decode expert cache hit rate: 90.3% (136568 hits / 151162 lookups); 3993 more read by the GPU over PCIe or from another GPU (2.6% of all 155155 routed)", "strata serve: asynchronous adaptive tier: 714 rounds, 34511 experts swapped in, 31.4 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.16 ms/round)"], "prompt_tokens": 27, "prefill_tps": 82.3, "gen": 256, "decode_tps": 89.5, "acc": 145, "drafted": 233, "variant": "asyncbp", "round": "1", "prompt_i": 6} +{"session": "asyncbp_r1", "sha": "5b74ef4d4504203d", "notes": ["strata serve: decode expert cache hit rate: 91.7% (125902 hits / 137231 lookups); 3441 more read by the GPU over PCIe or from another GPU (2.4% of all 140672 routed)", "strata serve: asynchronous adaptive tier: 810 rounds, 39227 experts swapped in, 31.4 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.16 ms/round)"], "prompt_tokens": 29, "prefill_tps": 88.2, "gen": 256, "decode_tps": 103.1, "acc": 161, "drafted": 216, "variant": "asyncbp", "round": "1", "prompt_i": 7} +{"session": "asyncbp_r1", "sha": "4f4bde4cb289ca78", "notes": ["strata serve: decode expert cache hit rate: 87.6% (116003 hits / 132415 lookups); 4303 more read by the GPU over PCIe or from another GPU (3.1% of all 136718 routed)", "strata serve: asynchronous adaptive tier: 904 rounds, 44998 experts swapped in, 31.7 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.16 ms/round)"], "prompt_tokens": 25, "prefill_tps": 89.5, "gen": 256, "decode_tps": 93.1, "acc": 162, "drafted": 214, "variant": "asyncbp", "round": "1", "prompt_i": 8} +{"session": "asyncbp_r1", "sha": "a79e36e1fdfcf8c2", "notes": ["strata serve: decode expert cache hit rate: 88.9% (113761 hits / 127917 lookups); 4058 more read by the GPU over PCIe or from another GPU (3.1% of all 131975 routed)", "strata serve: asynchronous adaptive tier: 985 rounds, 49924 experts swapped in, 32.1 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.16 ms/round)"], "prompt_tokens": 32, "prefill_tps": 93.0, "gen": 256, "decode_tps": 103.3, "acc": 176, "drafted": 215, "variant": "asyncbp", "round": "1", "prompt_i": 9} +{"session": "asyncbp_r1", "sha": "2ccc32278106c82c", "notes": ["strata serve: decode expert cache hit rate: 92.3% (148784 hits / 161165 lookups); 3440 more read by the GPU over PCIe or from another GPU (2.1% of all 164605 routed)", "strata serve: asynchronous adaptive tier: 1111 rounds, 54833 experts swapped in, 31.7 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.16 ms/round)"], "prompt_tokens": 25, "prefill_tps": 79.1, "gen": 256, "decode_tps": 82.7, "acc": 133, "drafted": 236, "variant": "asyncbp", "round": "1", "prompt_i": 10} +{"session": "asyncbp_r1", "sha": "d6b4772b5e3db371", "notes": ["strata serve: decode expert cache hit rate: 93.4% (129456 hits / 138554 lookups); 2335 more read by the GPU over PCIe or from another GPU (1.7% of all 140889 routed)", "strata serve: asynchronous adaptive tier: 1200 rounds, 59018 experts swapped in, 31.7 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.16 ms/round)"], "prompt_tokens": 24, "prefill_tps": 86.1, "gen": 256, "decode_tps": 111.8, "acc": 169, "drafted": 221, "variant": "asyncbp", "round": "1", "prompt_i": 11} +{"session": "asyncbp_r2", "sha": "bd4534a21f79c850", "notes": ["strata serve: decode expert cache hit rate: 94.5% (97987 hits / 103665 lookups); 1883 more read by the GPU over PCIe or from another GPU (1.8% of all 105548 routed)", "strata serve: asynchronous adaptive tier: 101 rounds, 4765 experts swapped in, 33.7 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.12 ms/round)"], "prompt_tokens": 26, "prefill_tps": 128.5, "gen": 162, "decode_tps": 92.0, "acc": 82, "drafted": 149, "variant": "asyncbp", "round": "2", "prompt_i": 0} +{"session": "asyncbp_r2", "sha": "345476568af360f9", "notes": ["strata verify: captured the 5-token window (upload no error, sync no error)", "strata serve: decode expert cache hit rate: 89.6% (116582 hits / 130099 lookups); 3677 more read by the GPU over PCIe or from another GPU (2.7% of all 133776 routed)", "strata serve: asynchronous adaptive tier: 180 rounds, 9746 experts swapped in, 35.1 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 36, "prefill_tps": 83.3, "gen": 256, "decode_tps": 106.5, "acc": 179, "drafted": 221, "variant": "asyncbp", "round": "2", "prompt_i": 1} +{"session": "asyncbp_r2", "sha": "41c008da6e94efcc", "notes": ["strata serve: decode expert cache hit rate: 89.5% (141709 hits / 158411 lookups); 4543 more read by the GPU over PCIe or from another GPU (2.8% of all 162954 routed)", "strata serve: asynchronous adaptive tier: 291 rounds, 15318 experts swapped in, 34.0 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 25, "prefill_tps": 86.6, "gen": 256, "decode_tps": 83.6, "acc": 146, "drafted": 251, "variant": "asyncbp", "round": "2", "prompt_i": 2} +{"session": "asyncbp_r2", "sha": "7eebe327e3347527", "notes": ["strata serve: decode expert cache hit rate: 94.1% (135133 hits / 143622 lookups); 2468 more read by the GPU over PCIe or from another GPU (1.7% of all 146090 routed)", "strata serve: asynchronous adaptive tier: 393 rounds, 19608 experts swapped in, 32.5 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 28, "prefill_tps": 81.2, "gen": 256, "decode_tps": 108.0, "acc": 154, "drafted": 220, "variant": "asyncbp", "round": "2", "prompt_i": 3} +{"session": "asyncbp_r2", "sha": "c629baa700b6bdf3", "notes": ["strata serve: decode expert cache hit rate: 93.4% (139232 hits / 149024 lookups); 2664 more read by the GPU over PCIe or from another GPU (1.8% of all 151688 routed)", "strata serve: asynchronous adaptive tier: 498 rounds, 24246 experts swapped in, 31.7 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 23, "prefill_tps": 65.0, "gen": 256, "decode_tps": 101.7, "acc": 152, "drafted": 228, "variant": "asyncbp", "round": "2", "prompt_i": 4} +{"session": "asyncbp_r2", "sha": "43c647a4333a3ced", "notes": ["strata serve: decode expert cache hit rate: 93.6% (149571 hits / 159753 lookups); 2804 more read by the GPU over PCIe or from another GPU (1.7% of all 162557 routed)", "strata serve: asynchronous adaptive tier: 605 rounds, 28970 experts swapped in, 31.2 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 33, "prefill_tps": 94.5, "gen": 256, "decode_tps": 99.1, "acc": 150, "drafted": 249, "variant": "asyncbp", "round": "2", "prompt_i": 5} +{"session": "asyncbp_r2", "sha": "77b4efd073a878d5", "notes": ["strata serve: decode expert cache hit rate: 90.0% (118733 hits / 131875 lookups); 3589 more read by the GPU over PCIe or from another GPU (2.6% of all 135464 routed)", "strata serve: asynchronous adaptive tier: 702 rounds, 33782 experts swapped in, 31.1 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 27, "prefill_tps": 87.0, "gen": 223, "decode_tps": 89.4, "acc": 128, "drafted": 204, "variant": "asyncbp", "round": "2", "prompt_i": 6} +{"session": "asyncbp_r2", "sha": "e5905b32706057ea", "notes": ["strata serve: decode expert cache hit rate: 92.5% (135433 hits / 146466 lookups); 3328 more read by the GPU over PCIe or from another GPU (2.2% of all 149794 routed)", "strata serve: asynchronous adaptive tier: 809 rounds, 38460 experts swapped in, 30.8 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 29, "prefill_tps": 89.5, "gen": 256, "decode_tps": 99.3, "acc": 149, "drafted": 224, "variant": "asyncbp", "round": "2", "prompt_i": 7} +{"session": "asyncbp_r2", "sha": "028c374d0f0d6d61", "notes": ["strata serve: decode expert cache hit rate: 89.3% (124999 hits / 139933 lookups); 3900 more read by the GPU over PCIe or from another GPU (2.7% of all 143833 routed)", "strata serve: asynchronous adaptive tier: 906 rounds, 43932 experts swapped in, 31.2 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 25, "prefill_tps": 69.7, "gen": 256, "decode_tps": 91.2, "acc": 162, "drafted": 225, "variant": "asyncbp", "round": "2", "prompt_i": 8} +{"session": "asyncbp_r2", "sha": "b9c31a4418ac0e12", "notes": ["strata serve: decode expert cache hit rate: 89.6% (115323 hits / 128697 lookups); 3716 more read by the GPU over PCIe or from another GPU (2.8% of all 132413 routed)", "strata serve: asynchronous adaptive tier: 985 rounds, 48695 experts swapped in, 31.7 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 32, "prefill_tps": 88.9, "gen": 256, "decode_tps": 104.2, "acc": 177, "drafted": 217, "variant": "asyncbp", "round": "2", "prompt_i": 9} +{"session": "asyncbp_r2", "sha": "97ea8755feee96a9", "notes": ["strata serve: decode expert cache hit rate: 92.3% (141982 hits / 153815 lookups); 3322 more read by the GPU over PCIe or from another GPU (2.1% of all 157137 routed)", "strata serve: asynchronous adaptive tier: 1113 rounds, 53622 experts swapped in, 31.1 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 25, "prefill_tps": 75.9, "gen": 256, "decode_tps": 89.2, "acc": 128, "drafted": 218, "variant": "asyncbp", "round": "2", "prompt_i": 10} +{"session": "asyncbp_r2", "sha": "356bb2a87582572e", "notes": ["strata serve: decode expert cache hit rate: 93.3% (131080 hits / 140425 lookups); 2331 more read by the GPU over PCIe or from another GPU (1.6% of all 142756 routed)", "strata serve: asynchronous adaptive tier: 1205 rounds, 57874 experts swapped in, 31.1 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 24, "prefill_tps": 88.1, "gen": 256, "decode_tps": 108.3, "acc": 164, "drafted": 222, "variant": "asyncbp", "round": "2", "prompt_i": 11} +{"session": "async_r2", "sha": "45ed7a0fa00ccfaf", "notes": ["strata serve: decode expert cache hit rate: 94.2% (87666 hits / 93097 lookups); 1438 more read by the GPU over PCIe or from another GPU (1.5% of all 94535 routed)", "strata serve: asynchronous adaptive tier: 96 rounds, 4570 experts swapped in, 33.0 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.12 ms/round)"], "prompt_tokens": 26, "prefill_tps": 128.5, "gen": 149, "decode_tps": 93.2, "acc": 74, "drafted": 130, "variant": "async", "round": "2", "prompt_i": 0} +{"session": "async_r2", "sha": "2f00bc3af457ef2a", "notes": ["strata verify: captured the 5-token window (upload no error, sync no error)", "strata serve: decode expert cache hit rate: 89.1% (114074 hits / 128025 lookups); 3187 more read by the GPU over PCIe or from another GPU (2.4% of all 131212 routed)", "strata serve: asynchronous adaptive tier: 174 rounds, 9545 experts swapped in, 35.4 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 36, "prefill_tps": 98.5, "gen": 256, "decode_tps": 103.6, "acc": 180, "drafted": 216, "variant": "async", "round": "2", "prompt_i": 1} +{"session": "async_r2", "sha": "84658ad25ad9de72", "notes": ["strata serve: decode expert cache hit rate: 88.8% (132256 hits / 148980 lookups); 3863 more read by the GPU over PCIe or from another GPU (2.5% of all 152843 routed)", "strata serve: asynchronous adaptive tier: 276 rounds, 15058 experts swapped in, 34.4 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 25, "prefill_tps": 85.8, "gen": 256, "decode_tps": 91.0, "acc": 156, "drafted": 238, "variant": "async", "round": "2", "prompt_i": 2} +{"session": "async_r2", "sha": "bbad351f37505191", "notes": ["strata serve: decode expert cache hit rate: 93.5% (132533 hits / 141739 lookups); 2034 more read by the GPU over PCIe or from another GPU (1.4% of all 143773 routed)", "strata serve: asynchronous adaptive tier: 379 rounds, 19393 experts swapped in, 32.5 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 28, "prefill_tps": 81.2, "gen": 256, "decode_tps": 110.5, "acc": 155, "drafted": 214, "variant": "async", "round": "2", "prompt_i": 3} +{"session": "async_r2", "sha": "8cc2ed6b8e62ba8f", "notes": ["strata serve: decode expert cache hit rate: 93.0% (151069 hits / 162370 lookups); 2134 more read by the GPU over PCIe or from another GPU (1.3% of all 164504 routed)", "strata serve: asynchronous adaptive tier: 497 rounds, 24390 experts swapped in, 31.8 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 23, "prefill_tps": 91.1, "gen": 256, "decode_tps": 85.4, "acc": 139, "drafted": 243, "variant": "async", "round": "2", "prompt_i": 4} +{"session": "async_r2", "sha": "d302b1f915b0bc90", "notes": ["strata serve: decode expert cache hit rate: 92.6% (136297 hits / 147145 lookups); 2126 more read by the GPU over PCIe or from another GPU (1.4% of all 149271 routed)", "strata serve: asynchronous adaptive tier: 600 rounds, 29063 experts swapped in, 31.2 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 33, "prefill_tps": 90.2, "gen": 256, "decode_tps": 105.1, "acc": 153, "drafted": 225, "variant": "async", "round": "2", "prompt_i": 5} +{"session": "async_r2", "sha": "3973c5433834d52d", "notes": ["strata serve: decode expert cache hit rate: 89.0% (124916 hits / 140379 lookups); 3544 more read by the GPU over PCIe or from another GPU (2.5% of all 143923 routed)", "strata serve: asynchronous adaptive tier: 707 rounds, 34277 experts swapped in, 31.1 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 27, "prefill_tps": 83.6, "gen": 252, "decode_tps": 91.1, "acc": 147, "drafted": 213, "variant": "async", "round": "2", "prompt_i": 6} +{"session": "async_r2", "sha": "4445b8d64cbf3fda", "notes": ["strata serve: decode expert cache hit rate: 92.2% (136308 hits / 147830 lookups); 2736 more read by the GPU over PCIe or from another GPU (1.8% of all 150566 routed)", "strata serve: asynchronous adaptive tier: 811 rounds, 38957 experts swapped in, 30.8 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.14 ms/round)"], "prompt_tokens": 29, "prefill_tps": 88.9, "gen": 256, "decode_tps": 103.7, "acc": 153, "drafted": 229, "variant": "async", "round": "2", "prompt_i": 7} +{"session": "async_r2", "sha": "f3764d36bda4e52d", "notes": ["strata serve: decode expert cache hit rate: 87.8% (130153 hits / 148181 lookups); 3875 more read by the GPU over PCIe or from another GPU (2.5% of all 152056 routed)", "strata serve: asynchronous adaptive tier: 907 rounds, 44806 experts swapped in, 31.2 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 25, "prefill_tps": 93.0, "gen": 256, "decode_tps": 92.1, "acc": 160, "drafted": 245, "variant": "async", "round": "2", "prompt_i": 8} +{"session": "async_r2", "sha": "b2a1738348c5189c", "notes": ["strata serve: decode expert cache hit rate: 90.3% (118721 hits / 131450 lookups); 2754 more read by the GPU over PCIe or from another GPU (2.1% of all 134204 routed)", "strata serve: asynchronous adaptive tier: 987 rounds, 49428 experts swapped in, 31.5 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 32, "prefill_tps": 82.9, "gen": 256, "decode_tps": 112.2, "acc": 177, "drafted": 219, "variant": "async", "round": "2", "prompt_i": 9} +{"session": "async_r2", "sha": "312eb88dab0b4c33", "notes": ["strata serve: decode expert cache hit rate: 91.2% (144239 hits / 158224 lookups); 3092 more read by the GPU over PCIe or from another GPU (1.9% of all 161316 routed)", "strata serve: asynchronous adaptive tier: 1105 rounds, 54633 experts swapped in, 31.1 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 25, "prefill_tps": 85.3, "gen": 256, "decode_tps": 91.0, "acc": 139, "drafted": 238, "variant": "async", "round": "2", "prompt_i": 10} +{"session": "async_r2", "sha": "26011b0aa2eae8dd", "notes": ["strata serve: decode expert cache hit rate: 92.8% (129874 hits / 139928 lookups); 1870 more read by the GPU over PCIe or from another GPU (1.3% of all 141798 routed)", "strata serve: asynchronous adaptive tier: 1193 rounds, 58739 experts swapped in, 31.1 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.15 ms/round)"], "prompt_tokens": 24, "prefill_tps": 87.3, "gen": 256, "decode_tps": 114.8, "acc": 170, "drafted": 224, "variant": "async", "round": "2", "prompt_i": 11} +{"session": "loc_r2", "sha": "7ca75f5f9abd823e", "notes": ["strata serve: decode expert cache hit rate: 94.5% (87595 hits / 92736 lookups); 1195 more read by the GPU over PCIe or from another GPU (1.3% of all 93931 routed)"], "prompt_tokens": 26, "prefill_tps": 127.9, "gen": 149, "decode_tps": 82.1, "acc": 77, "drafted": 130, "variant": "loc", "round": "2", "prompt_i": 0} +{"session": "loc_r2", "sha": "681e2d3743f005a1", "notes": ["strata verify: captured the 5-token window (upload no error, sync no error)", "strata serve: decode expert cache hit rate: 90.5% (121047 hits / 133758 lookups); 2183 more read by the GPU over PCIe or from another GPU (1.6% of all 135941 routed)"], "prompt_tokens": 36, "prefill_tps": 95.4, "gen": 256, "decode_tps": 93.7, "acc": 177, "drafted": 222, "variant": "loc", "round": "2", "prompt_i": 1} +{"session": "loc_r2", "sha": "9eb9e1af772bd18f", "notes": ["strata serve: decode expert cache hit rate: 89.5% (139468 hits / 155843 lookups); 2948 more read by the GPU over PCIe or from another GPU (1.9% of all 158791 routed)"], "prompt_tokens": 25, "prefill_tps": 81.1, "gen": 256, "decode_tps": 79.6, "acc": 154, "drafted": 248, "variant": "loc", "round": "2", "prompt_i": 2} +{"session": "loc_r2", "sha": "e091bf4915b1b02b", "notes": ["strata serve: decode expert cache hit rate: 93.9% (137570 hits / 146454 lookups); 1389 more read by the GPU over PCIe or from another GPU (0.9% of all 147843 routed)"], "prompt_tokens": 28, "prefill_tps": 77.0, "gen": 256, "decode_tps": 97.4, "acc": 154, "drafted": 221, "variant": "loc", "round": "2", "prompt_i": 3} +{"session": "loc_r2", "sha": "93ad8b06d83a21da", "notes": ["strata serve: decode expert cache hit rate: 93.7% (138841 hits / 148117 lookups); 1319 more read by the GPU over PCIe or from another GPU (0.9% of all 149436 routed)"], "prompt_tokens": 23, "prefill_tps": 88.2, "gen": 256, "decode_tps": 95.1, "acc": 147, "drafted": 218, "variant": "loc", "round": "2", "prompt_i": 4} +{"session": "loc_r2", "sha": "62a6022c6939c6d2", "notes": ["strata serve: decode expert cache hit rate: 93.4% (141093 hits / 151027 lookups); 1496 more read by the GPU over PCIe or from another GPU (1.0% of all 152523 routed)"], "prompt_tokens": 33, "prefill_tps": 91.6, "gen": 256, "decode_tps": 94.8, "acc": 155, "drafted": 232, "variant": "loc", "round": "2", "prompt_i": 5} +{"session": "loc_r2", "sha": "ffd7d7564baf3b61", "notes": ["strata serve: decode expert cache hit rate: 90.0% (119702 hits / 133050 lookups); 2299 more read by the GPU over PCIe or from another GPU (1.7% of all 135349 routed)"], "prompt_tokens": 27, "prefill_tps": 82.5, "gen": 213, "decode_tps": 77.1, "acc": 113, "drafted": 199, "variant": "loc", "round": "2", "prompt_i": 6} +{"session": "loc_r2", "sha": "a1efd51ca25d128c", "notes": ["strata serve: decode expert cache hit rate: 92.4% (128605 hits / 139174 lookups); 1938 more read by the GPU over PCIe or from another GPU (1.4% of all 141112 routed)"], "prompt_tokens": 29, "prefill_tps": 89.3, "gen": 256, "decode_tps": 97.0, "acc": 154, "drafted": 210, "variant": "loc", "round": "2", "prompt_i": 7} +{"session": "loc_r2", "sha": "e7d78bbe96cdeff1", "notes": ["strata serve: decode expert cache hit rate: 90.0% (131006 hits / 145612 lookups); 2384 more read by the GPU over PCIe or from another GPU (1.6% of all 147996 routed)"], "prompt_tokens": 25, "prefill_tps": 89.4, "gen": 256, "decode_tps": 86.5, "acc": 165, "drafted": 237, "variant": "loc", "round": "2", "prompt_i": 8} +{"session": "loc_r2", "sha": "1399ebf14598d778", "notes": ["strata serve: decode expert cache hit rate: 91.2% (121048 hits / 132786 lookups); 1931 more read by the GPU over PCIe or from another GPU (1.4% of all 134717 routed)"], "prompt_tokens": 32, "prefill_tps": 93.5, "gen": 256, "decode_tps": 100.8, "acc": 175, "drafted": 218, "variant": "loc", "round": "2", "prompt_i": 9} +{"session": "loc_r2", "sha": "135f86084edb8e4e", "notes": ["strata serve: decode expert cache hit rate: 92.4% (155815 hits / 168602 lookups); 2170 more read by the GPU over PCIe or from another GPU (1.3% of all 170772 routed)"], "prompt_tokens": 25, "prefill_tps": 81.8, "gen": 256, "decode_tps": 80.6, "acc": 134, "drafted": 251, "variant": "loc", "round": "2", "prompt_i": 10} +{"session": "loc_r2", "sha": "d6b4772b5e3db371", "notes": ["strata serve: decode expert cache hit rate: 93.5% (130639 hits / 139790 lookups); 1360 more read by the GPU over PCIe or from another GPU (1.0% of all 141150 routed)"], "prompt_tokens": 24, "prefill_tps": 82.8, "gen": 256, "decode_tps": 104.7, "acc": 168, "drafted": 220, "variant": "loc", "round": "2", "prompt_i": 11} +{"session": "rel_r2", "sha": "7ca75f5f9abd823e", "notes": ["strata serve: decode expert cache hit rate: 94.5% (87595 hits / 92736 lookups); 1195 more read by the GPU over PCIe or from another GPU (1.3% of all 93931 routed)"], "prompt_tokens": 26, "prefill_tps": 128.0, "gen": 149, "decode_tps": 87.0, "acc": 77, "drafted": 130, "variant": "rel", "round": "2", "prompt_i": 0} +{"session": "rel_r2", "sha": "91f70604a65a360e", "notes": ["strata verify: captured the 5-token window (upload no error, sync no error)", "strata serve: decode expert cache hit rate: 89.9% (114829 hits / 127712 lookups); 2337 more read by the GPU over PCIe or from another GPU (1.8% of all 130049 routed)"], "prompt_tokens": 36, "prefill_tps": 96.5, "gen": 256, "decode_tps": 97.5, "acc": 181, "drafted": 215, "variant": "rel", "round": "2", "prompt_i": 1} +{"session": "rel_r2", "sha": "62b840b53481c735", "notes": ["strata serve: decode expert cache hit rate: 89.7% (146235 hits / 163090 lookups); 3018 more read by the GPU over PCIe or from another GPU (1.8% of all 166108 routed)"], "prompt_tokens": 25, "prefill_tps": 85.5, "gen": 256, "decode_tps": 75.1, "acc": 142, "drafted": 252, "variant": "rel", "round": "2", "prompt_i": 2} +{"session": "rel_r2", "sha": "fb4ac9fc08a86a53", "notes": ["strata serve: decode expert cache hit rate: 94.2% (139770 hits / 148324 lookups); 1414 more read by the GPU over PCIe or from another GPU (0.9% of all 149738 routed)"], "prompt_tokens": 28, "prefill_tps": 79.2, "gen": 256, "decode_tps": 99.7, "acc": 151, "drafted": 223, "variant": "rel", "round": "2", "prompt_i": 3} +{"session": "rel_r2", "sha": "3c3624e92a614b72", "notes": ["strata serve: decode expert cache hit rate: 93.7% (142773 hits / 152360 lookups); 1437 more read by the GPU over PCIe or from another GPU (0.9% of all 153797 routed)"], "prompt_tokens": 23, "prefill_tps": 87.4, "gen": 256, "decode_tps": 92.0, "acc": 147, "drafted": 227, "variant": "rel", "round": "2", "prompt_i": 4} +{"session": "rel_r2", "sha": "31d9aa33a3d60fe0", "notes": ["strata serve: decode expert cache hit rate: 93.7% (143191 hits / 152895 lookups); 1480 more read by the GPU over PCIe or from another GPU (1.0% of all 154375 routed)"], "prompt_tokens": 33, "prefill_tps": 93.0, "gen": 256, "decode_tps": 98.7, "acc": 156, "drafted": 235, "variant": "rel", "round": "2", "prompt_i": 5} +{"session": "rel_r2", "sha": "bd1d8fee647cd6f9", "notes": ["strata serve: decode expert cache hit rate: 89.8% (122851 hits / 136770 lookups); 2451 more read by the GPU over PCIe or from another GPU (1.8% of all 139221 routed)"], "prompt_tokens": 27, "prefill_tps": 82.3, "gen": 228, "decode_tps": 75.3, "acc": 129, "drafted": 208, "variant": "rel", "round": "2", "prompt_i": 6} +{"session": "rel_r2", "sha": "ac72c59a7942180f", "notes": ["strata serve: decode expert cache hit rate: 92.6% (131423 hits / 141973 lookups); 1944 more read by the GPU over PCIe or from another GPU (1.4% of all 143917 routed)"], "prompt_tokens": 29, "prefill_tps": 87.9, "gen": 256, "decode_tps": 98.8, "acc": 154, "drafted": 216, "variant": "rel", "round": "2", "prompt_i": 7} +{"session": "rel_r2", "sha": "1e30e579acba36d3", "notes": ["strata serve: decode expert cache hit rate: 89.4% (137994 hits / 154327 lookups); 2621 more read by the GPU over PCIe or from another GPU (1.7% of all 156948 routed)"], "prompt_tokens": 25, "prefill_tps": 88.8, "gen": 256, "decode_tps": 68.5, "acc": 155, "drafted": 248, "variant": "rel", "round": "2", "prompt_i": 8} +{"session": "rel_r2", "sha": "1399ebf14598d778", "notes": ["strata serve: decode expert cache hit rate: 91.0% (120288 hits / 132172 lookups); 2014 more read by the GPU over PCIe or from another GPU (1.5% of all 134186 routed)"], "prompt_tokens": 32, "prefill_tps": 79.7, "gen": 256, "decode_tps": 87.0, "acc": 175, "drafted": 217, "variant": "rel", "round": "2", "prompt_i": 9} +{"session": "rel_r2", "sha": "4a4e478786a0d2a2", "notes": ["strata serve: decode expert cache hit rate: 92.0% (143050 hits / 155526 lookups); 2205 more read by the GPU over PCIe or from another GPU (1.4% of all 157731 routed)"], "prompt_tokens": 25, "prefill_tps": 61.9, "gen": 256, "decode_tps": 75.4, "acc": 141, "drafted": 232, "variant": "rel", "round": "2", "prompt_i": 10} +{"session": "rel_r2", "sha": "26011b0aa2eae8dd", "notes": ["strata serve: decode expert cache hit rate: 93.6% (133935 hits / 143145 lookups); 1322 more read by the GPU over PCIe or from another GPU (0.9% of all 144467 routed)"], "prompt_tokens": 24, "prefill_tps": 58.2, "gen": 256, "decode_tps": 88.4, "acc": 167, "drafted": 226, "variant": "rel", "round": "2", "prompt_i": 11} diff --git a/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/context.jsonl b/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/context.jsonl new file mode 100644 index 00000000..08d50844 --- /dev/null +++ b/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/context.jsonl @@ -0,0 +1,24 @@ +{"session": "ctx_v0142_64", "sha": "dc33602cc71a7040", "notes": ["strata: K/V grown to 57344 cells (0.76 GiB); the expert cache gave 269 slots for it, 104 hotter experts moved to colder ones' slots (8020 of 8289 slots hold experts)", "strata serve: decode expert cache hit rate: 93.8% (86361 hits / 92096 lookups); 1401 more read by the GPU over PCIe or from another GPU (1.5% of all 93497 routed)"], "prompt_tokens": 55630, "prefill_tps": 2179.7, "gen": 157, "decode_tps": 82.6, "acc": 83, "drafted": 128, "variant": "v0142", "size_k": 64, "rep": 0, "wall_s": 28.0} +{"session": "ctx_v0142_64", "sha": "addf507444dd2f59", "notes": ["strata serve: decode expert cache hit rate: 97.7% (93347 hits / 95519 lookups); 197 more read by the GPU over PCIe or from another GPU (0.2% of all 95716 routed)", "strata serve: suffix drafts: 1 windows, 1 of 3 drafts accepted"], "prompt_tokens": 55630, "prefill_tps": 164.5, "gen": 139, "decode_tps": 91.9, "acc": 70, "drafted": 135, "variant": "v0142", "size_k": 64, "rep": 1, "wall_s": 2.1} +{"session": "ctx_v0142_64", "sha": "8d830fd4dcc5ef03", "notes": ["strata serve: decode expert cache hit rate: 98.3% (92600 hits / 94157 lookups); 124 more read by the GPU over PCIe or from another GPU (0.1% of all 94281 routed)"], "prompt_tokens": 55630, "prefill_tps": 154.6, "gen": 152, "decode_tps": 101.8, "acc": 81, "drafted": 127, "variant": "v0142", "size_k": 64, "rep": 2, "wall_s": 2.1} +{"session": "ctx_v0142_64", "sha": "2fd40ee569e49c46", "notes": ["strata: K/V grown to 122880 cells (1.57 GiB); the expert cache gave 432 slots for it, 182 hotter experts moved to colder ones' slots (7588 of 8289 slots hold experts)", "strata serve: decode expert cache hit rate: 97.1% (105047 hits / 108157 lookups); 296 more read by the GPU over PCIe or from another GPU (0.3% of all 108453 routed)"], "prompt_tokens": 116833, "prefill_tps": 2094.6, "gen": 184, "decode_tps": 100.2, "acc": 101, "drafted": 149, "variant": "v0142", "size_k": 128, "rep": 0, "wall_s": 58.3} +{"session": "ctx_v0142_64", "sha": "cf80c246816a95eb", "notes": ["strata serve: decode expert cache hit rate: 98.2% (90131 hits / 91758 lookups); 139 more read by the GPU over PCIe or from another GPU (0.2% of all 91897 routed)", "strata serve: suffix drafts: 1 windows, 1 of 2 drafts accepted"], "prompt_tokens": 116833, "prefill_tps": 151.3, "gen": 147, "decode_tps": 94.1, "acc": 75, "drafted": 121, "variant": "v0142", "size_k": 128, "rep": 1, "wall_s": 2.2} +{"session": "ctx_v0142_64", "sha": "f5b9a378a44be80c", "notes": ["strata serve: decode expert cache hit rate: 98.2% (90132 hits / 91804 lookups); 153 more read by the GPU over PCIe or from another GPU (0.2% of all 91957 routed)"], "prompt_tokens": 116833, "prefill_tps": 155.9, "gen": 146, "decode_tps": 98.0, "acc": 81, "drafted": 128, "variant": "v0142", "size_k": 128, "rep": 2, "wall_s": 2.2} +{"session": "ctx_pr2_on_64", "sha": "bd9159551143f58a", "notes": ["strata: K/V grown to 57344 cells (0.76 GiB); the expert cache gave 269 slots for it, 127 hotter experts moved to colder ones' slots (8020 of 8289 slots hold experts)", "strata serve: decode expert cache hit rate: 94.5% (88795 hits / 93948 lookups); 1860 more read by the GPU over PCIe or from another GPU (1.9% of all 95808 routed)", "strata serve: suffix drafts: 1 windows, 0 of 3 drafts accepted"], "prompt_tokens": 55632, "prefill_tps": 2313.4, "gen": 157, "decode_tps": 84.4, "acc": 82, "drafted": 132, "variant": "pr2_on", "size_k": 64, "rep": 0, "wall_s": 26.5} +{"session": "ctx_pr2_on_64", "sha": "72de14399ee8bb0c", "notes": ["strata serve: decode expert cache hit rate: 97.9% (78697 hits / 80345 lookups); 341 more read by the GPU over PCIe or from another GPU (0.4% of all 80686 routed)", "strata serve: suffix drafts: 2 windows, 2 of 6 drafts accepted"], "prompt_tokens": 55632, "prefill_tps": 161.4, "gen": 132, "decode_tps": 104.8, "acc": 76, "drafted": 113, "variant": "pr2_on", "size_k": 64, "rep": 1, "wall_s": 1.9} +{"session": "ctx_pr2_on_64", "sha": "33ea903aa671dd18", "notes": ["strata serve: decode expert cache hit rate: 98.2% (96489 hits / 98285 lookups); 430 more read by the GPU over PCIe or from another GPU (0.4% of all 98715 routed)"], "prompt_tokens": 55632, "prefill_tps": 170.3, "gen": 156, "decode_tps": 100.3, "acc": 86, "drafted": 137, "variant": "pr2_on", "size_k": 64, "rep": 2, "wall_s": 2.2} +{"session": "ctx_pr2_on_64", "sha": "686a3421945a8b06", "notes": ["strata: K/V grown to 122880 cells (1.57 GiB); the expert cache gave 432 slots for it, 199 hotter experts moved to colder ones' slots (7588 of 8289 slots hold experts)", "strata serve: decode expert cache hit rate: 97.3% (88138 hits / 90538 lookups); 576 more read by the GPU over PCIe or from another GPU (0.6% of all 91114 routed)"], "prompt_tokens": 116835, "prefill_tps": 2208.3, "gen": 145, "decode_tps": 95.0, "acc": 81, "drafted": 129, "variant": "pr2_on", "size_k": 128, "rep": 0, "wall_s": 55.1} +{"session": "ctx_pr2_on_64", "sha": "7963d83bcdf2f406", "notes": ["strata serve: decode expert cache hit rate: 98.0% (105985 hits / 108110 lookups); 504 more read by the GPU over PCIe or from another GPU (0.5% of all 108614 routed)"], "prompt_tokens": 116835, "prefill_tps": 150.6, "gen": 163, "decode_tps": 96.6, "acc": 92, "drafted": 158, "variant": "pr2_on", "size_k": 128, "rep": 1, "wall_s": 2.4} +{"session": "ctx_pr2_on_64", "sha": "16291bcce37326a7", "notes": ["strata serve: decode expert cache hit rate: 98.7% (91148 hits / 92347 lookups); 167 more read by the GPU over PCIe or from another GPU (0.2% of all 92514 routed)"], "prompt_tokens": 116835, "prefill_tps": 146.8, "gen": 152, "decode_tps": 103.4, "acc": 86, "drafted": 128, "variant": "pr2_on", "size_k": 128, "rep": 2, "wall_s": 2.1} +{"session": "ctx_pr1_on_64", "sha": "4077b52877022011", "notes": ["strata: K/V grown to 57344 cells (0.76 GiB); the expert cache gave 269 slots for it, 110 hotter experts moved to colder ones' slots (8020 of 8289 slots hold experts)", "strata serve: decode expert cache hit rate: 93.1% (89924 hits / 96640 lookups); 1712 more read by the GPU over PCIe or from another GPU (1.7% of all 98352 routed)", "strata serve: asynchronous adaptive tier: 95 rounds, 4677 experts swapped in, 36.1 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.12 ms/round)"], "prompt_tokens": 55632, "prefill_tps": 2166.9, "gen": 154, "decode_tps": 86.0, "acc": 81, "drafted": 139, "variant": "pr1_on", "size_k": 64, "rep": 0, "wall_s": 28.1} +{"session": "ctx_pr1_on_64", "sha": "87c1110ca570330a", "notes": ["strata serve: decode expert cache hit rate: 98.0% (90063 hits / 91881 lookups); 177 more read by the GPU over PCIe or from another GPU (0.2% of all 92058 routed)", "strata serve: asynchronous adaptive tier: 163 rounds, 5461 experts swapped in, 33.0 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.11 ms/round)", "strata serve: suffix drafts: 1 windows, 1 of 3 drafts accepted"], "prompt_tokens": 55632, "prefill_tps": 166.2, "gen": 148, "decode_tps": 100.9, "acc": 83, "drafted": 128, "variant": "pr1_on", "size_k": 64, "rep": 1, "wall_s": 2.1} +{"session": "ctx_pr1_on_64", "sha": "a12ab4060e0f25f2", "notes": ["strata serve: decode expert cache hit rate: 98.3% (81884 hits / 83275 lookups); 117 more read by the GPU over PCIe or from another GPU (0.1% of all 83392 routed)", "strata serve: asynchronous adaptive tier: 227 rounds, 5946 experts swapped in, 31.8 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.10 ms/round)"], "prompt_tokens": 55632, "prefill_tps": 141.6, "gen": 139, "decode_tps": 104.9, "acc": 75, "drafted": 113, "variant": "pr1_on", "size_k": 64, "rep": 2, "wall_s": 1.9} +{"session": "ctx_pr1_on_64", "sha": "a3a5ee334c85c2de", "notes": ["strata: K/V grown to 122880 cells (1.57 GiB); the expert cache gave 432 slots for it, 199 hotter experts moved to colder ones' slots (7588 of 8289 slots hold experts)", "strata serve: decode expert cache hit rate: 96.8% (83154 hits / 85916 lookups); 250 more read by the GPU over PCIe or from another GPU (0.3% of all 86166 routed)", "strata serve: asynchronous adaptive tier: 294 rounds, 7075 experts swapped in, 31.2 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.10 ms/round)"], "prompt_tokens": 116831, "prefill_tps": 2088.5, "gen": 139, "decode_tps": 95.9, "acc": 74, "drafted": 117, "variant": "pr1_on", "size_k": 128, "rep": 0, "wall_s": 58.0} +{"session": "ctx_pr1_on_64", "sha": "36d42325cea1a1cb", "notes": ["strata serve: decode expert cache hit rate: 98.3% (97014 hits / 98736 lookups); 165 more read by the GPU over PCIe or from another GPU (0.2% of all 98901 routed)", "strata serve: asynchronous adaptive tier: 366 rounds, 7698 experts swapped in, 30.7 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.10 ms/round)", "strata serve: suffix drafts: 1 windows, 2 of 3 drafts accepted"], "prompt_tokens": 116831, "prefill_tps": 154.9, "gen": 152, "decode_tps": 96.5, "acc": 83, "drafted": 138, "variant": "pr1_on", "size_k": 128, "rep": 1, "wall_s": 2.2} +{"session": "ctx_pr1_on_64", "sha": "a41fac938ada325d", "notes": ["strata serve: decode expert cache hit rate: 98.2% (96554 hits / 98341 lookups); 167 more read by the GPU over PCIe or from another GPU (0.2% of all 98508 routed)", "strata serve: asynchronous adaptive tier: 440 rounds, 8265 experts swapped in, 30.5 ms per round (start to flip, between windows) (arena, copy-in only, batch 0, wait 1, pick inline 0.09 ms/round)"], "prompt_tokens": 116831, "prefill_tps": 152.4, "gen": 153, "decode_tps": 95.8, "acc": 81, "drafted": 135, "variant": "pr1_on", "size_k": 128, "rep": 2, "wall_s": 2.3} +{"session": "ctx_v0142_64", "sha": "9f5c2ef4692fd88e", "notes": ["strata: K/V grown to 57344 cells (0.76 GiB); the expert cache gave 269 slots for it, 104 hotter experts moved to colder ones' slots (8020 of 8289 slots hold experts)", "strata serve: decode expert cache hit rate: 94.1% (81780 hits / 86934 lookups); 1231 more read by the GPU over PCIe or from another GPU (1.4% of all 88165 routed)"], "prompt_tokens": 55629, "prefill_tps": 2164.7, "gen": 140, "decode_tps": 85.2, "acc": 79, "drafted": 128, "variant": "v0142", "size_k": 64, "rep": 0, "wall_s": 27.9} +{"session": "ctx_v0142_64", "sha": "5c0380723480c433", "notes": ["strata serve: decode expert cache hit rate: 97.9% (73074 hits / 74624 lookups); 111 more read by the GPU over PCIe or from another GPU (0.1% of all 74735 routed)"], "prompt_tokens": 55629, "prefill_tps": 170.4, "gen": 124, "decode_tps": 105.4, "acc": 68, "drafted": 103, "variant": "v0142", "size_k": 64, "rep": 1, "wall_s": 1.8} +{"session": "ctx_v0142_64", "sha": "0f39f8b3760336fc", "notes": ["strata serve: decode expert cache hit rate: 98.2% (70239 hits / 71507 lookups); 93 more read by the GPU over PCIe or from another GPU (0.1% of all 71600 routed)", "strata serve: suffix drafts: 1 windows, 2 of 3 drafts accepted"], "prompt_tokens": 55629, "prefill_tps": 173.1, "gen": 115, "decode_tps": 104.7, "acc": 63, "drafted": 100, "variant": "v0142", "size_k": 64, "rep": 2, "wall_s": 1.7} +{"session": "ctx_v0142_64", "sha": "3e26b7eecd267952", "notes": ["strata: K/V grown to 122880 cells (1.57 GiB); the expert cache gave 432 slots for it, 203 hotter experts moved to colder ones' slots (7588 of 8289 slots hold experts)", "strata serve: decode expert cache hit rate: 96.5% (52515 hits / 54398 lookups); 176 more read by the GPU over PCIe or from another GPU (0.3% of all 54574 routed)"], "prompt_tokens": 116834, "prefill_tps": 2087.5, "gen": 93, "decode_tps": 100.1, "acc": 53, "drafted": 77, "variant": "v0142", "size_k": 128, "rep": 0, "wall_s": 57.5} +{"session": "ctx_v0142_64", "sha": "76d91bdeb91bb59a", "notes": ["strata serve: decode expert cache hit rate: 97.8% (72388 hits / 74042 lookups); 159 more read by the GPU over PCIe or from another GPU (0.2% of all 74201 routed)"], "prompt_tokens": 116834, "prefill_tps": 157.9, "gen": 127, "decode_tps": 101.6, "acc": 69, "drafted": 99, "variant": "v0142", "size_k": 128, "rep": 1, "wall_s": 1.9} +{"session": "ctx_v0142_64", "sha": "14c0bb7dbe3686b3", "notes": ["strata serve: decode expert cache hit rate: 97.9% (108506 hits / 110827 lookups); 174 more read by the GPU over PCIe or from another GPU (0.2% of all 111001 routed)"], "prompt_tokens": 116834, "prefill_tps": 153.6, "gen": 166, "decode_tps": 88.1, "acc": 84, "drafted": 152, "variant": "v0142", "size_k": 128, "rep": 2, "wall_s": 2.6} diff --git a/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/strata_ab2.py b/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/strata_ab2.py new file mode 100644 index 00000000..be2bdb8f --- /dev/null +++ b/bench/results/2026-10-11-community-rtx3090-5600x-arena-async/strata_ab2.py @@ -0,0 +1,326 @@ +"""Tests of the patched Strata engine (branch perf/async-adapt-arena) against the release and the unpatched local build. +Every session is a fresh engine; it is stopped at the end. Run in the foreground (<= 10 min per call). + smoke one short request with STRATA_DECODE_TIMING=1; prints the async/adapt/ERR log lines + ab 12 distinct cold prompts per session (one request each, fixed seeds) + det greedy (temp 0), 6 prompts, n fresh engines: answers' sha256 compared + stress 63k prompt then 4 follow-up turns in the same conversation + report paired per-prompt ratios of every variant against +Local exe: env STRATA_DEV_EXE (default strata-dev\\build-vs22\\strata.exe).""" +import copy +import hashlib +import json +import os +import re +import statistics as st +import subprocess +import sys +import time +import urllib.request +import uuid +from pathlib import Path + +STRATA = Path(r"C:\Users\urben\Documents\strata") +DEV_EXE = os.environ.get("STRATA_DEV_EXE", r"C:\Users\urben\Documents\strata-dev\build-vs22\strata.exe") +CUDA128 = r"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\bin" +DEV = r"C:\Users\urben\Documents\strata-dev" +# the install config now runs the patched engine: variants are built from the pre-patch (release) config +BASE_CFG = json.loads((STRATA / "strata-iq3_s.json.before-async").read_text(encoding="utf-8")) +# the morning's starting point (engine 0.1.38 config before any tuning) is not reproducible: 0.1.38 is gone +FIXTURE_262K = r"C:\Users\urben\Documents\folk\bench\fixtures\out\262k.jsonl" +SCRATCH = Path(__file__).parent +PORT = 8080 +LOCAL = {"exe": DEV_EXE, "lib_dirs": [CUDA128]} +ASYNC = {"--adapt-async": "1"} +# name: (config overrides, args, env) +VARS = { + # the morning's starting point: engine 0.1.38 (kept by setup in engine/.previous) with the config before any tuning + "base0138": ({"_base": "strata-iq3_s.json.before-optim", "exe": str(STRATA / "engine/.previous/strata.exe")}, {}, {}), + "rel": ({}, {}, {}), + "loc": (LOCAL, {}, {}), + "async": (LOCAL, ASYNC, {}), + "asyncb": (LOCAL, ASYNC, {"STRATA_ADAPT_BOUNCE": "1"}), + "asyncbp": (LOCAL, ASYNC, {"STRATA_ADAPT_BOUNCE": "1", "STRATA_PCIE_MIN1": "1"}), + "pmin1": (LOCAL, {}, {"STRATA_PCIE_MIN1": "1"}), + "async_b16": (LOCAL, ASYNC, {"STRATA_ADAPT_ASYNC_BATCH": "16"}), + "async_b80": (LOCAL, ASYNC, {"STRATA_ADAPT_ASYNC_BATCH": "80"}), + "async_nowait": (LOCAL, ASYNC, {"STRATA_ADAPT_ASYNC_WAIT": "0"}), + "stack2prof": (LOCAL, {**ASYNC, "--pool-tasks": "36", "--lookup-chain": "2", "--mtp-q4": "head"}, + {"STRATA_GDN_SPLIT": "1", "STRATA_DF_BRANCH": "1", "STRATA_TSUM": "1", "STRATA_ATTN_LANECELL": "1", + "STRATA_IQ3S_MT1": "1", "STRATA_VERIFY_PROFILE": "1", "STRATA_SPEC_DEPTH": "1"}), + "stack3": (LOCAL, {**ASYNC, "--pool-tasks": "36", "--lookup-chain": "2", "--mtp-q4": "head"}, + {"STRATA_GDN_SPLIT": "1", "STRATA_DF_BRANCH": "1", "STRATA_TSUM": "1", "STRATA_ATTN_LANECELL": "1", + "STRATA_IQ3S_MT1": "1", "STRATA_GR_V3": "1", "STRATA_EXPERT_V2": "1", "STRATA_QFUSE": "1", "STRATA_MMVF_ROWS": "1"}), + "r2all": (LOCAL, {**ASYNC, "--pool-tasks": "36", "--lookup-chain": "2", "--mtp-q4": "head"}, + {"STRATA_GDN_SPLIT": "1", "STRATA_DF_BRANCH": "1", "STRATA_TSUM": "1", "STRATA_ATTN_LANECELL": "1", + "STRATA_IQ3S_MT1": "1", "STRATA_PIN_BY_NEED": "1", "STRATA_ADAPT_ASYNC_DEMAND": "1", "STRATA_GR_128": "1"}), + "r2allprof": (LOCAL, {**ASYNC, "--pool-tasks": "36", "--lookup-chain": "2", "--mtp-q4": "head"}, + {"STRATA_GDN_SPLIT": "1", "STRATA_DF_BRANCH": "1", "STRATA_TSUM": "1", "STRATA_ATTN_LANECELL": "1", + "STRATA_IQ3S_MT1": "1", "STRATA_PIN_BY_NEED": "1", "STRATA_ADAPT_ASYNC_DEMAND": "1", "STRATA_GR_128": "1", + "STRATA_VERIFY_PROFILE": "1"}), + "r2p23": (LOCAL, {**ASYNC, "--pool-tasks": "36", "--lookup-chain": "2", "--mtp-q4": "head"}, + {"STRATA_GDN_SPLIT": "1", "STRATA_DF_BRANCH": "1", "STRATA_TSUM": "1", "STRATA_ATTN_LANECELL": "1", + "STRATA_IQ3S_MT1": "1", "STRATA_ADAPT_ASYNC_DEMAND": "1", "STRATA_GR_128": "1"}), + "r2p23prof": (LOCAL, {**ASYNC, "--pool-tasks": "36", "--lookup-chain": "2", "--mtp-q4": "head"}, + {"STRATA_GDN_SPLIT": "1", "STRATA_DF_BRANCH": "1", "STRATA_TSUM": "1", "STRATA_ATTN_LANECELL": "1", + "STRATA_IQ3S_MT1": "1", "STRATA_ADAPT_ASYNC_DEMAND": "1", "STRATA_GR_128": "1", "STRATA_VERIFY_PROFILE": "1"}), + "p3": (LOCAL, {**ASYNC, "--pool-tasks": "36", "--lookup-chain": "2", "--mtp-q4": "head"}, + {"STRATA_GDN_SPLIT": "1", "STRATA_DF_BRANCH": "1", "STRATA_TSUM": "1", "STRATA_ATTN_LANECELL": "1", + "STRATA_IQ3S_MT1": "1", "STRATA_GR_128": "1"}), + "p3b16": (LOCAL, {**ASYNC, "--pool-tasks": "36", "--lookup-chain": "2", "--mtp-q4": "head"}, + {"STRATA_GDN_SPLIT": "1", "STRATA_DF_BRANCH": "1", "STRATA_TSUM": "1", "STRATA_ATTN_LANECELL": "1", + "STRATA_IQ3S_MT1": "1", "STRATA_GR_128": "1", "STRATA_ADAPT_ASYNC_BATCH": "16"}), + "p1": (LOCAL, {**ASYNC, "--pool-tasks": "36", "--lookup-chain": "2", "--mtp-q4": "head"}, + {"STRATA_GDN_SPLIT": "1", "STRATA_DF_BRANCH": "1", "STRATA_TSUM": "1", "STRATA_ATTN_LANECELL": "1", + "STRATA_IQ3S_MT1": "1", "STRATA_PIN_BY_NEED": "1", "STRATA_ARENA_PIN_GIB": "29"}), + "p1pm": (LOCAL, {**ASYNC, "--pool-tasks": "36", "--lookup-chain": "2", "--mtp-q4": "head"}, + {"STRATA_GDN_SPLIT": "1", "STRATA_DF_BRANCH": "1", "STRATA_TSUM": "1", "STRATA_ATTN_LANECELL": "1", + "STRATA_IQ3S_MT1": "1", "STRATA_PIN_BY_NEED": "1", "STRATA_ARENA_PIN_GIB": "29", "STRATA_PCIE_MIN1": "1"}), + "p1pf6": (LOCAL, {**ASYNC, "--pool-tasks": "36", "--lookup-chain": "2", "--mtp-q4": "head", "--pcie-frac": "0.6"}, + {"STRATA_GDN_SPLIT": "1", "STRATA_DF_BRANCH": "1", "STRATA_TSUM": "1", "STRATA_ATTN_LANECELL": "1", + "STRATA_IQ3S_MT1": "1", "STRATA_PIN_BY_NEED": "1", "STRATA_ARENA_PIN_GIB": "29"}), + "p1both": (LOCAL, {**ASYNC, "--pool-tasks": "36", "--lookup-chain": "2", "--mtp-q4": "head", "--pcie-frac": "0.6"}, + {"STRATA_GDN_SPLIT": "1", "STRATA_DF_BRANCH": "1", "STRATA_TSUM": "1", "STRATA_ATTN_LANECELL": "1", + "STRATA_IQ3S_MT1": "1", "STRATA_PIN_BY_NEED": "1", "STRATA_ARENA_PIN_GIB": "29", "STRATA_PCIE_MIN1": "1"}), + # bit-exact mode (docs/MULTI_GPU.md): STRATA_IQ_MT_MIN=1 --pcie-frac 0 --adapt-every 0, the PRs' options OFF + "x_v0142": ({"exe": DEV + r"\bin-v0142\strata.exe", "lib_dirs": [CUDA128]}, + {"--pcie-frac": "0", "--adapt-every": "0"}, {"STRATA_IQ_MT_MIN": "1"}), + "x_pr1": ({"exe": DEV + r"\bin-pr1\strata.exe", "lib_dirs": [CUDA128]}, + {"--pcie-frac": "0", "--adapt-every": "0"}, {"STRATA_IQ_MT_MIN": "1"}), + "x_pr2": ({"exe": DEV + r"\bin-pr2\strata.exe", "lib_dirs": [CUDA128]}, + {"--pcie-frac": "0", "--adapt-every": "0"}, {"STRATA_IQ_MT_MIN": "1"}), + # the PR builds, options off / on + "v0142": ({"exe": DEV + r"\bin-v0142\strata.exe", "lib_dirs": [CUDA128]}, {}, {}), + "pr1_on": ({"exe": DEV + r"\bin-pr1\strata.exe", "lib_dirs": [CUDA128]}, ASYNC, {}), + "pr2_on": ({"exe": DEV + r"\bin-pr2\strata.exe", "lib_dirs": [CUDA128]}, {"--pcie-frac": "0.6"}, + {"STRATA_PIN_BY_NEED": "1", "STRATA_ARENA_PIN_GIB": "29", "STRATA_PCIE_MIN1": "1"}), + "stack1": (LOCAL, ASYNC, {"STRATA_GDN_SPLIT": "1", "STRATA_DF_BRANCH": "1", "STRATA_TSUM": "1", "STRATA_ATTN_LANECELL": "1"}), + "stack2": (LOCAL, {**ASYNC, "--pool-tasks": "36", "--lookup-chain": "2", "--mtp-q4": "head"}, + {"STRATA_GDN_SPLIT": "1", "STRATA_DF_BRANCH": "1", "STRATA_TSUM": "1", "STRATA_ATTN_LANECELL": "1", + "STRATA_IQ3S_MT1": "1"}), +} +VARS_X = dict(VARS) +for _n in ("v0142", "pr1", "pr2"): + _o, _a, _e = VARS_X["x_" + _n] + VARS["y_" + _n] = (_o, {**_a, "--expert-cache": "8000"}, _e) +COLD = [ + "Explique le fonctionnement d'une pompe à chaleur en 6 phrases.", + "Write a Python class implementing an LRU cache with O(1) get and put, with a short usage example.", + "Describe the main causes of the fall of the Western Roman Empire.", + "Donne une recette détaillée de ratatouille pour 4 personnes.", + "Explain how mRNA vaccines work, step by step.", + "Écris une fonction JavaScript qui fait un debounce d'une autre fonction, avec des commentaires en français.", + "Write a short project status email announcing a two-week delay and its reasons.", + "Présente les principales caractéristiques géographiques de l'île de La Réunion.", + "Explain the difference between permutations and combinations with three worked examples.", + "Write a SQL query that returns the top 3 customers by revenue per country, and explain it.", + "Résume la pensée de Descartes sur le doute méthodique.", + "Compare TCP and UDP and give two use cases for each.", +] +WARM = ["Bonjour, présente-toi en une phrase.", "Say hello in one short sentence."] +LINE = re.compile(r"prompt (\d+) tokens = (\d+) reused \+ (\d+) read in (\d+) ms \(([\d.]+) tok/s\), (\d+) generated in " + r"(\d+) ms \(([\d.]+) tok/s\)(?:, drafts accepted (\d+) of (\d+))?") +NOTE = re.compile(r"adapt|async|ERR|error|residency|bounce|PCIE_MIN1|decode timing|K/V grown|hit rate|GPU stages|stage|profile|spec depth|lookup chain|suffix", re.I) + + +def free_gb() -> float: + out = subprocess.run(["powershell", "-NoProfile", "-Command", + "(Get-CimInstance Win32_OperatingSystem).FreePhysicalMemory"], capture_output=True, text=True) + return int(out.stdout.strip() or 0) / 1024 / 1024 + + +def strata_running() -> bool: + return "strata.exe" in subprocess.run(["tasklist", "/FI", "IMAGENAME eq strata.exe"], capture_output=True, text=True).stdout + + +class Server: + def __init__(self, name: str, variant: str, extra_env: dict | None = None): + over, args, env = VARS[variant] + over = dict(over) + base = over.pop("_base", None) + cfg = json.loads((STRATA / base).read_text(encoding="utf-8")) if base else copy.deepcopy(BASE_CFG) + cfg.update(copy.deepcopy(over)) + a = cfg["args"] + for flag, val in args.items(): + if flag in a: + a[a.index(flag) + 1] = val + else: + a += [flag, val] + cfg.setdefault("env", {}).update(env) + cfg["env"].update(extra_env or {}) + self.name, self.log = name, SCRATCH / f"ab2_{name}.log" + self.log.write_bytes(b"") + cfg["log"] = str(self.log) + path = STRATA / "strata-ab.json" + path.write_text(json.dumps(cfg, indent=1), encoding="utf-8") + for _ in range(60): + if not strata_running() and free_gb() > 50: + break + time.sleep(2) + print(f"[{name}] start ({variant}), free RAM {free_gb():.1f} GB", flush=True) + self.proc = subprocess.Popen([str(STRATA / ".venv/Scripts/python.exe"), "serve/server.py", "--engine", "strata", + "--config", str(path), "--port", str(PORT)], cwd=STRATA, + stdout=open(SCRATCH / f"ab2_{name}.out", "wb"), stderr=subprocess.STDOUT) + t0 = time.time() + while True: + try: + urllib.request.urlopen(f"http://127.0.0.1:{PORT}/v1/models", timeout=5).read() + break + except Exception: + if self.proc.poll() is not None or time.time() - t0 > 300: + self.stop() + tail = (SCRATCH / f"ab2_{name}.out").read_bytes()[-1500:].decode("utf-8", "replace") + raise SystemExit(f"{name}: server did not start\n{tail}") + time.sleep(3) + for i, p in enumerate(WARM): + self.ask([{"role": "user", "content": p}], seed=7 + i, max_tokens=48) + + def ask(self, messages: list, temp=0.7, seed=None, max_tokens=256) -> dict: + req = {"model": "strata", "messages": messages, "max_tokens": max_tokens, "temperature": temp, + "top_p": 0.8 if temp else 1.0, "stream": False, "chat_template_kwargs": {"enable_thinking": False}} + if seed: + req["seed"] = seed + start = self.log.stat().st_size + r = urllib.request.Request(f"http://127.0.0.1:{PORT}/v1/chat/completions", json.dumps(req).encode(), + {"Content-Type": "application/json"}) + big = sum(len(m["content"]) for m in messages) > 20_000 + with urllib.request.urlopen(r, timeout=900 if big else 150) as resp: + body = json.loads(resp.read()) + time.sleep(0.5) + text = body["choices"][0]["message"].get("content") or "" + row = dict(session=self.name, text=text, sha=hashlib.sha256(text.encode()).hexdigest()[:16], notes=[]) + for line in self.log.read_bytes()[start:].decode("utf-8", "replace").splitlines(): + m = LINE.search(line) + if m: + row.update(prompt_tokens=int(m[1]), prefill_tps=float(m[5]), gen=int(m[6]), decode_tps=float(m[8]), + acc=int(m[9]) if m[9] else 0, drafted=int(m[10]) if m[10] else 0) + elif NOTE.search(line): + row["notes"].append(line.strip()[:400]) + return row + + def stop(self) -> None: + subprocess.run(["taskkill", "/T", "/F", "/PID", str(self.proc.pid)], capture_output=True) + subprocess.run(["taskkill", "/F", "/IM", "strata.exe"], capture_output=True) + for _ in range(60): + if not strata_running(): + break + time.sleep(1) + + +def startup_notes(srv: Server) -> list: + return [l.strip()[:300] for l in srv.log.read_bytes().decode("utf-8", "replace").splitlines() + if re.search(r"adapt-async|asynchronous|bounce|PCIE_MIN1|is off|ERR|error|pin by need|ranked pairs|strata hc|differs|128|demand|arena", l, re.I)] + + +cmd = sys.argv[1] +if cmd == "smoke": + v = sys.argv[2] + srv = Server(f"smoke_{v}", v, {"STRATA_DECODE_TIMING": "1"}) + try: + for l in startup_notes(srv): + print(" start:", l) + for i in (0, 1, 4): + r = srv.ask([{"role": "user", "content": COLD[i]}], seed=3000 + i) + print(f" prompt {i}: decode {r.get('decode_tps')} tok/s, gen {r.get('gen')}, drafts {r.get('acc')}/{r.get('drafted')}") + for n in r["notes"][-6:]: + print(" ", n) + finally: + srv.stop() +elif cmd == "ab": + out = Path(sys.argv[4]) + for v in sys.argv[2].split(","): + srv = Server(f"{v}_r{sys.argv[3]}", v) + try: + vals = [] + for i, p in enumerate(COLD): + r = srv.ask([{"role": "user", "content": p}], seed=3000 + i) + r.update(variant=v, round=sys.argv[3], prompt_i=i) + r.pop("text") + with out.open("a", encoding="utf-8") as f: + f.write(json.dumps(r, ensure_ascii=False) + "\n") + if "decode_tps" in r: + vals.append(r["decode_tps"]) + vals.sort() + print(f"{v:14s} round {sys.argv[3]}: median {vals[len(vals) // 2]:.1f} tok/s (min {vals[0]:.1f}, max {vals[-1]:.1f})", + flush=True) + errs = [l for l in startup_notes(srv) if re.search(r"ERR|error", l)] + if errs: + print(" errors:", errs[:3]) + finally: + srv.stop() +elif cmd == "det": + v, n, out = sys.argv[2], int(sys.argv[3]), Path(sys.argv[4]) + shas = [] + for k in range(n): + srv = Server(f"det_{v}_{k}", v) + try: + run = [srv.ask([{"role": "user", "content": COLD[i]}], temp=0)["sha"] for i in range(6)] + finally: + srv.stop() + shas.append(run) + with out.open("a", encoding="utf-8") as f: + f.write(json.dumps({"variant": v, "engine": k, "shas": run}) + "\n") + print(f"det {v} engine {k}: {run}", flush=True) + same = sum(len({s[i] for s in shas}) == 1 for i in range(6)) + print(f"det {v}: {same}/6 prompts identical across {n} fresh engines", flush=True) +elif cmd == "stress": + v = sys.argv[2] + srv = Server(f"stress_{v}", v) + try: + fixture = json.loads(open(r"C:\Users\urben\Documents\folk\bench\fixtures\out\112k.jsonl", encoding="utf-8").readline()) + msgs = [{"role": "user", "content": f"[run {uuid.uuid4().hex}]\n" + fixture["messages"][0]["content"][:260_000] + + "\n\nIn 5 sentences: what does this code base do?"}] + follow = ["Which module is the most complex, and why?", "List three possible bugs you would look for first.", + "Résume ta réponse précédente en français en 3 points.", "Write a short unit test for one of them."] + for turn in range(5): + r = srv.ask(msgs, max_tokens=256) + print(f"turn {turn}: prompt {r.get('prompt_tokens')} prefill {r.get('prefill_tps')} decode {r.get('decode_tps')} " + f"gen {r.get('gen')} | {r['text'][:90]!r}", flush=True) + for n in r["notes"]: + if re.search(r"ERR|error|residency|K/V grown", n, re.I): + print(" ", n) + if turn < 4: + msgs += [{"role": "assistant", "content": r["text"]}, {"role": "user", "content": follow[turn]}] + finally: + srv.stop() +elif cmd == "ctx": + v, sizes, out = sys.argv[2], [int(x) for x in sys.argv[3].split(",")], Path(sys.argv[4]) + # the 262k fixture is ~235k tokens with this tokenizer: the 240k fixture's text follows it for the largest sizes + text = "".join(json.loads(open(f, encoding="utf-8").readline())["messages"][0]["content"] + for f in (FIXTURE_262K, FIXTURE_262K.replace("262k", "240k"))) + srv = Server(f"ctx_{v}_{sizes[0]}", v) + try: + for k in sizes: + prompt = (f"[run {uuid.uuid4().hex}]\n" + text[: int(k * 1024 * 3.53)] + + "\n\nIn 5 sentences: what does this code base do?") + # one prompt read, then three answers with fixed seeds (the same for every variant) on the cached prefix + reps = [] + for rep, seed in enumerate((1001, 1002, 1003)): + t0 = time.time() + r = srv.ask([{"role": "user", "content": prompt}], max_tokens=256, seed=seed) + r.update(variant=v, size_k=k, rep=rep, wall_s=round(time.time() - t0, 1)) + r.pop("text") + with out.open("a", encoding="utf-8") as f: + f.write(json.dumps(r, ensure_ascii=False) + "\n") + reps.append(r) + r = reps[0] + pt, pf = r.get("prompt_tokens", 0), r.get("prefill_tps") or 1 + dec = [x["decode_tps"] for x in reps if x.get("decode_tps")] + print(f"{v} {k}k: prompt {pt} tok, prefill {pf} tok/s ({pt / pf:.1f} s), decode " + f"{' / '.join(f'{d:.1f}' for d in dec)} tok/s (mean {sum(dec) / max(1, len(dec)):.1f})", flush=True) + finally: + srv.stop() +elif cmd == "report": + rows = [json.loads(l) for l in open(sys.argv[2], encoding="utf-8")] + ref = sys.argv[3] + d = {} + for r in rows: + if "decode_tps" in r: + d.setdefault(r["variant"], {}).setdefault(r["prompt_i"], []).append(r["decode_tps"]) + base = {i: st.mean(v) for i, v in d.get(ref, {}).items()} + for v, per in sorted(d.items()): + means = {i: st.mean(x) for i, x in per.items()} + ratios = [means[i] / base[i] for i in means if i in base] + allv = sorted(x for xs in per.values() for x in xs) + print(f"{v:14s} median {allv[len(allv) // 2]:6.1f} tok/s (n={len(allv)}), vs {ref}: ratio median " + f"{st.median(ratios):.3f}, prompts faster {sum(x > 1 for x in ratios)}/{len(ratios)}") +(STRATA / "strata-ab.json").unlink(missing_ok=True) diff --git a/docs/DETAILS.md b/docs/DETAILS.md index 12f70e17..ca530bac 100644 --- a/docs/DETAILS.md +++ b/docs/DETAILS.md @@ -177,6 +177,14 @@ other ~18 GB), a 32 GB PC with a 12-16 GB GPU the Coder; IQ3_XXS on a 32 GB PC s rounds differently from the CPU) depends on when its copy lands. It stays on the blocking tier (said in the log) when the exchange buffers are not page-locked; the stats line reports ms per round. +- **The arena too** (one GPU, no layer split): with every expert in RAM `--adapt-async 1` runs the same tier copy-in only: + nothing to copy back or move into RAM. The evicted slot is marked non-resident before the round's copies are posted, and an + expert becomes resident only once its copy has landed; `STRATA_ADAPT_ASYNC_WAIT=1` (the default there) waits for the round at + the next tick, so the window an expert turns GPU-resident does not depend on timing. The pick runs on the host thread + (`STRATA_ADAPT_PICK_INLINE=1`, one round per window); `STRATA_ADAPT_ASYNC_BATCH=N` posts at most N copies per tick (default 0 + = all; 16 measured slower). Every K/V grow and the `VRAM` command land the round in flight first. RTX 3090 + Ryzen 5 5600X, + cold prompts: x1.07-1.11 decode, 12 of 12 prompts faster + ([report](../bench/results/2026-10-11-community-rtx3090-5600x-arena-async/README.md)). - `STRATA_EXCHANGE_ROTATE=1` (opt-in): an adaptive swap hands buffer ownership over instead of copying the evicted blob into the RAM copy (equal-size blobs, fully page-locked copy). Same tokens, fewer host copies; it works with `--adapt-async 1` too. Details and the measurement: [EXCHANGE_ROTATION.md](EXCHANGE_ROTATION.md). diff --git a/include/strata/core/expert_source.hpp b/include/strata/core/expert_source.hpp index 4f80972a..4e4c0b6f 100644 --- a/include/strata/core/expert_source.hpp +++ b/include/strata/core/expert_source.hpp @@ -937,6 +937,9 @@ public: bool mapped() const { return base_ != nullptr; } int64_t blobs() const { return blobs_; } const uint8_t* blob(int64_t layer, int64_t expert) override; + /// `blob` without the read counter: a pure pointer into the arena, safe from another thread (the async adaptive + /// tier's job thread, which must not touch the non-atomic `reads_`) + const uint8_t* blob_at(int64_t layer, int64_t expert) const; int64_t reads() const { return reads_; } bool pinned(int64_t layer, int64_t expert) const override; const uint8_t* device_alias(int64_t layer, int64_t expert) const override; diff --git a/src/core/expert_source.cpp b/src/core/expert_source.cpp index c0a7ec7c..f512fd09 100644 --- a/src/core/expert_source.cpp +++ b/src/core/expert_source.cpp @@ -4786,6 +4786,13 @@ const uint8_t* ArenaExpertSource::blob(int64_t layer, int64_t expert) { return base_ + strata::kernels::cpu::expert_layout().blob_offset(layer, expert); } +const uint8_t* ArenaExpertSource::blob_at(int64_t layer, int64_t expert) const { + if (base_ == nullptr || layer < 0 || expert < 0 || expert >= n_expert_) return nullptr; + const int64_t idx = layer * n_expert_ + expert; + if (idx < 0 || idx >= blobs_) return nullptr; + return base_ + strata::kernels::cpu::expert_layout().blob_offset(layer, expert); +} + } // namespace strata::core // ---- Foresight swap space (see include/strata/core/foresight_swap.hpp) ------------------------------------------ diff --git a/src/program/generate.cpp b/src/program/generate.cpp index f2ca6029..a6d895bb 100644 --- a/src/program/generate.cpp +++ b/src/program/generate.cpp @@ -939,9 +939,10 @@ void usage() { " does not fit. Same answers as --mmap-experts for the same placement.\n" " --adapt-min-gain F the adaptive tier swaps an expert in only when its decayed routing count beats\n" " the one it replaces by more than F (default 1.5; higher = fewer, surer swaps)\n" - " --adapt-async 1 --serve with the resident RAM mode (opt-in): the adaptive tier's swaps\n" - " advance between verify windows instead of a window waiting for a whole\n" - " round. Not bit-exact run to run. 0 (default) = the blocking tier.\n"); + " --adapt-async 1 --serve with the resident RAM mode or the arena (one GPU; opt-in): the adaptive\n" + " tier's swaps advance between verify windows instead of a window waiting for a\n" + " whole round (the arena: copy-in only). Not bit-exact run to run. 0 (default)\n" + " = the blocking tier.\n"); } // --lookup-chain: the context's last tokens for the draft sources (at most 64), the MTP's pending drafts last @@ -6892,7 +6893,9 @@ int main(int argc, char** argv) { }(); const char* why = !o.serve ? "it needs --serve" : o.adapt_every <= 0 || o.adapt_swaps <= 0 ? "the adaptive tier is off" - : !o.resident_cpu_experts ? "it needs the resident RAM mode, --resident-experts" + : !o.resident_cpu_experts && srcp != &arena_src ? "it needs the resident RAM mode, --resident-experts, or the expert arena" + : multi_gpu && srcp == &arena_src ? "not with a layer split in the arena mode" + : o.pipeline_windows >= 2 && srcp == &arena_src ? "not with --pipeline-windows 2 in the arena mode" : o.batch > 0 && o.batch_groups > 1 ? "not with --batch-groups (the pipelined slot groups)" : peer.valid() ? "not with --peer-device" : remote_opt ? "not with --remote-expert-opt" @@ -7091,7 +7094,8 @@ int main(int argc, char** argv) { } #endif } - if (o.adapt_async && !src.complement_ready()) adapt_async_off("the resident RAM mode is not running"); + // (the arena mode has no RAM copy to exchange with: its experts are always in RAM, the tier only copies them in) + if (o.adapt_async && !src.complement_ready() && srcp != &arena_src) adapt_async_off("the resident RAM mode is not running"); // pp-opt: with the file tier unbuffered, the mapped view of experts.bin is only a fallback from here on - and while // it exists NTFS serves the unbuffered reads one at a time (drop_mapping). STRATA_KEEP_MAPPING=1 keeps it (A/B). if (srcp == &src && src.unbuffered() && std::getenv("STRATA_KEEP_MAPPING") == nullptr) { @@ -8735,6 +8739,7 @@ int main(int argc, char** argv) { }; // --pipeline-windows: set while the tier adapts beside windows in flight (see its use in adapt) std::function adapt_fence; + int64_t adapt_nswaps = 0; // the blocking tier's swaps chosen, cumulative (the decode timing line's swaps/window) // the VRAM tier follows the conversation (the same rule as the speculative loop below) auto adapt = [&]() -> bool { if (!pending.empty()) return true; // the previous swaps are still in flight @@ -8780,6 +8785,7 @@ int main(int argc, char** argv) { return {&xcache, adapt_stream, -1}; }; if (!resident_stage_swaps(src, host_res, g.n_expert, swaps, home_of)) return false; + adapt_nswaps += (int64_t) swaps.size(); // (read after the thread's join) if (pin_blobs_on()) { // lock the batch's source pages (a file-backed arena on AMD; see pin_blobs) std::vector> spans; for (const Swap& s : swaps) @@ -8930,6 +8936,20 @@ int main(int argc, char** argv) { // verifiers publish every row whatever they say): once, when the loop has drained. The loop ticks once per // verdict (after the drafter's chain is launched) and, while a round is in flight, every 0.5 ms without // counting a window. + // The arena mode (srcp == &arena_src, a_arena below): every expert is in the arena already (a pageable or + // partly pinned copy that never moves), so a round has no exchange and no RAM move - choose, mark the evicted + // experts non-resident, copy the new ones in, mark them resident (steps 1-3 reduced to the copy in; RamFence and + // step 4 pass through). By default (STRATA_ADAPT_PICK_INLINE) the choice runs on this thread in the tick that + // starts the round, and the copies in are posted in the same tick; the next tick lands them + // (STRATA_ADAPT_ASYNC_WAIT: it waits for the copies rather than polling, so the window at which an expert first + // runs on the GPU does not depend on timing) and a new round may start at once. The job thread's copies + // read the arena (blob_at: no counter) and block it on pageable memory, never this thread; + // STRATA_ADAPT_ASYNC_BATCH caps the copies in flight per tick (the copy engine is shared with the windows). + // Invariant (the serial loop, and the batch loop between windows): at a tick nothing in flight reads a slot - + // a window's run ends with cudaStreamSynchronize (verify.cpp), the draft is synchronous and the commit does not + // read the expert cache - so a slot whose expert was marked non-resident here may be overwritten right away; + // and the job thread never touches host_res or drive.d.usage (it works on the snapshots a_usage / a_res). + // Anything that gives a slot to something else (kvg_ensure's quiesce, a prompt's lend) calls adapt_quiesce first. struct ASwap { int32_t layer, in, out, slot; int home; int64_t j; bool exchange; const uint8_t* from; }; struct AHome { strata::core::ExpertCache* cache; cudaStream_t stream; cudaEvent_t ev; int dev; bool used; }; enum class AState { Idle, Pick, CopyBack, SwapIn, RamFence, Commit }; @@ -8941,15 +8961,32 @@ int main(int argc, char** argv) { double a_ms = 0; // wall time from a round's start to its flip, summed (the "ms/round" stat) Clock::time_point a_t0; std::atomic a_err{false}; + double a_pick_ms = 0; // the arena's inline choice, summed (the stats line) + size_t a_lo = 0, a_hi = 0, a_bi = 0; // the batch being copied in (a_copy_in), and where the next one starts std::vector ahomes; // [0] = CUDA0's cache, [k] = layer split stage k's std::unique_ptr ajob; - const int64_t a_cap = std::min(o.adapt_swaps, 96); // as the blocking tier's exchange buffers - if (o.adapt_async && !drive.d.usage.empty() && src.complement_ready() && src.exchange_capacity() >= 2 * a_cap) { + // the arena mode (srcp == &arena_src): every expert is in the arena already, so a round is a copy in only - no + // exchange buffers, no RAM moves (see a_arena below) + const bool a_arena = srcp == &arena_src; + // as the blocking tier's exchange buffers; the arena has none, so its rounds are as large as the blocking tier's + const int64_t a_cap = a_arena ? o.adapt_swaps : std::min(o.adapt_swaps, 96); + const auto a_env = [](const char* name, int def) { + const char* v = std::getenv(name); + return v != nullptr && *v != 0 ? std::atoi(v) : def; + }; + // arena only (the other modes keep their steps as they were): the choice on this thread (STRATA_ADAPT_PICK_INLINE), + // the wait for the copies (STRATA_ADAPT_ASYNC_WAIT), the copies in flight per tick (STRATA_ADAPT_ASYNC_BATCH, 0 = all) + const bool a_inline = a_arena && a_env("STRATA_ADAPT_PICK_INLINE", 1) != 0; + const bool a_wait = a_arena && a_env("STRATA_ADAPT_ASYNC_WAIT", 1) != 0; + const size_t a_batch = a_arena ? (size_t) std::max(0, a_env("STRATA_ADAPT_ASYNC_BATCH", 0)) : 0; + if (o.adapt_async && !drive.d.usage.empty() && + ((src.complement_ready() && src.exchange_capacity() >= 2 * a_cap) || a_arena)) { ahomes.push_back({&xcache, adapt_stream, adapt_ev, 0, false}); for (auto& st : stages) ahomes.push_back({&st->cache, st->adapt_stream, st->adapt_ev, st->dev, false}); ajob = std::make_unique(); std::fprintf(stderr, "strata serve: adaptive tier asynchronous (--adapt-async 1): up to %lld swaps per round, " - "a round every %d windows\n", (long long) a_cap, o.adapt_every); + "a round every %d windows%s\n", (long long) a_cap, o.adapt_every, + a_arena ? " (arena: copy-in only)" : ""); } // the pipelined loop's side (see above): whether stage `st` has no window in flight; per home, the copies back // and in to queue at its next gap, the RAM fence still to pass and the gaps seen @@ -8997,7 +9034,7 @@ int main(int argc, char** argv) { if (slot < 0) continue; // an exchange (as resident_stage_swaps): `in` from the RAM copy, `out` held by its slot alone takes its // place there; otherwise `out` is in the copy already (the lend region) or `in` is not (a RAM budget) - const bool x = src.has_resident(c.layer, c.in) && !src.has_resident(c.layer, c.out); + const bool x = !a_arena && src.has_resident(c.layer, c.in) && !src.has_resident(c.layer, c.out); aswaps.push_back({c.layer, c.in, c.out, slot, multi_gpu ? stage_of(c.layer) : 0, (int64_t) aswaps.size(), x, nullptr}); } @@ -9022,6 +9059,15 @@ int main(int argc, char** argv) { if (any) a_mark(h); }; auto a_from = [&](const ASwap& w) -> const uint8_t* { // step 2: where `in` is copied from (host work) + if (a_arena) { // the arena's blob, pinned or not (a pageable one blocks the job thread, not the host) + const uint8_t* b = arena_src.blob_at(w.layer, w.in); // (blob() counts reads_: not from this thread) + if (b == nullptr) { + std::fprintf(stderr, "strata serve: adaptive tier: layer %d expert %d is not in the arena\n", + (int) w.layer, (int) w.in); + a_err = true; + } + return b; + } if (src.pinned(w.layer, w.in)) if (const uint8_t* b = src.resident_blob(w.layer, w.in)) return b; // pageable, or not in the RAM copy: through a bounce buffer (an async copy) @@ -9052,14 +9098,22 @@ int main(int argc, char** argv) { }; auto a_copy_in = [&]() { // step 2 on the job thread (the serial loop): each source read, then copied in std::vector used(ahomes.size(), 0); - for (const ASwap& w : aswaps) + for (size_t i = a_lo; i < a_hi; ++i) { // (the batch; all the round's swaps unless the arena caps it) + const ASwap& w = aswaps[i]; if (const uint8_t* b = a_from(w)) { a_in_one(w, b); used[(size_t) w.home] = 1; } + } for (size_t hi = 0; hi < ahomes.size(); ++hi) if (used[hi]) a_mark(ahomes[hi]); }; + auto a_post_batch = [&]() { // step 2: the next batch of copies in goes to the job thread (all of them but for the arena's cap) + a_lo = a_bi; + a_hi = a_batch > 0 ? std::min(aswaps.size(), a_bi + a_batch) : aswaps.size(); + a_bi = a_hi; + ajob->post(a_copy_in); + }; auto a_stage_in = [&]() { // step 2's host part on the job thread (the pipelined loop: a_in queues the copies) for (ASwap& w : aswaps) w.from = a_from(w); }; @@ -9126,6 +9180,14 @@ int main(int argc, char** argv) { // #477: the routing counted, as adapt() counts it (--expert-profile-save; else `heat` is empty) for (size_t i = 0; i < heat.size(); ++i) heat[i] += (double) drive.d.usage[i]; for (float& v : drive.d.usage) v *= o.adapt_decay; + if (a_inline) { // the arena: choose here (no copy back to wait for), then straight on to step 2 + const Clock::time_point tp0 = Clock::now(); + a_pick(); + a_pick_ms += std::chrono::duration(Clock::now() - tp0).count(); + for (AHome& h : ahomes) h.used = false; + astate = AState::CopyBack; + continue; + } if (pl) { ajob->post(a_pick); astate = AState::Pick; @@ -9172,7 +9234,8 @@ int main(int argc, char** argv) { ajob->post(a_stage_in); } else { res_upload(); - ajob->post(a_copy_in); + a_lo = a_hi = a_bi = 0; + a_post_batch(); } astate = AState::SwapIn; if (!drain) return true; @@ -9180,15 +9243,22 @@ int main(int argc, char** argv) { } case AState::SwapIn: // step 3: the new experts are in their slots if (a_due(a_in_due)) return true; // (pipelined) a card not seen idle since step 2 - if (!a_ready(drain)) return true; + if (!a_ready(drain || a_wait)) return true; if (a_err.load()) return false; - for (const ASwap& w : aswaps) { + for (size_t i = pl ? 0 : a_lo; i < (pl ? aswaps.size() : a_hi); ++i) { // (the batch just landed) + const ASwap& w = aswaps[i]; host_res[(size_t) w.layer * g.n_expert + w.in] = w.slot; srcp->release(w.layer, w.in); } if (pl) a_res_dirty = true; else res_upload(); - a_swapped += (int64_t) aswaps.size(); + a_swapped += pl ? (int64_t) aswaps.size() : (int64_t) (a_hi - a_lo); + if (!pl && a_bi < aswaps.size()) { // the arena's cap: the next batch goes now + for (AHome& h : ahomes) h.used = false; + a_post_batch(); + if (!drain) return true; + continue; + } if (pl) // the RAM moves wait for a gap after this step on every card whose layers exchanged for (const ASwap& w : aswaps) if (w.exchange) { @@ -9198,6 +9268,10 @@ int main(int argc, char** argv) { astate = AState::RamFence; continue; case AState::RamFence: // step 3's RAM moves, once no window may still read the places they fill + if (a_arena) { // no RAM copy to move + astate = AState::Commit; + continue; + } if (pl) for (size_t hi = 0; hi < ahomes.size(); ++hi) if (a_ram_due[hi] && a_gap_seq[hi] <= a_ram_mark[hi]) return true; @@ -9209,7 +9283,7 @@ int main(int argc, char** argv) { case AState::Commit: // step 4 if (!a_ready(drain)) return true; if (a_err.load()) return false; - src.commit_flip(); + if (!a_arena) src.commit_flip(); a_ms += std::chrono::duration(Clock::now() - a_t0).count(); aswaps.clear(); astate = AState::Idle; @@ -9217,6 +9291,18 @@ int main(int argc, char** argv) { } } }; + // kvg_ensure's `quiesce` (and any caller about to give cache slots away): nothing runs on the device, the blocking + // tier's swaps have landed AND the asynchronous round in flight is finished - a swap still copying could write a + // slot the K/V is lent. A failed refill is surfaced as ERR at the next tick (a_err). + auto adapt_quiesce = [&] { + cudaDeviceSynchronize(); + apply_pending(true); + if (!adapt_tick(true)) { // a failed round still has copies in flight: they land before any slot moves + a_err = true; + if (ajob) ajob->wait(); + cudaDeviceSynchronize(); + } + }; // --pipeline-windows 2: the loop has drained (nothing in flight on either card): what waits for a gap goes now, // and the round in flight goes on unfenced (a_pl_idle unset) from the next tick, the next request's drain. The // job's work is the host's alone, so the wait for it ends. @@ -9554,7 +9640,7 @@ int main(int argc, char** argv) { for (const PfPart& p : pf_parts) if (!p.lent.empty()) { e = "VRAM: a prompt's loan is still out"; return false; } if (!ver.wait_commit(e)) return false; - apply_pending(true); // the adaptive tier's swaps in flight land first + adapt_quiesce(); // the adaptive tier's swaps in flight land first (async too) if (cudaDeviceSynchronize() != cudaSuccess) { e = std::string("VRAM: ") + cudaGetErrorString(cudaGetLastError()); return false; @@ -10417,7 +10503,7 @@ int main(int argc, char** argv) { continue; } // the elastic K/V (--kv-grow) maps only the cells it has grown to: make room for the file's cells - if (!kvg_ensure((int64_t) image.live.ids.size() + 256, [&] { cudaDeviceSynchronize(); apply_pending(true); })) { + if (!kvg_ensure((int64_t) image.live.ids.size() + 256, adapt_quiesce)) { refuse("the K/V cannot grow to the saved conversation: no VRAM is left", strata::core::SessionError::memory); continue; } @@ -10704,7 +10790,7 @@ int main(int argc, char** argv) { std::fprintf(stderr, "strata serve: --prefill-head-alias: prompt workspace rebuilt in %.1f ms\n", std::chrono::duration(Clock::now() - head_t0).count()); } - auto kv_quiesce = [&] { cudaDeviceSynchronize(); apply_pending(true); }; + auto kv_quiesce = adapt_quiesce; if (kvg.on) { // the elastic K/V: this prompt's cells (it gives back what it does not need below) // a failed growth may leave the tier half-changed: the engine stops (as for any CUDA failure) if (!kvg_ensure(n + 256, kv_quiesce)) { @@ -11718,6 +11804,8 @@ int main(int argc, char** argv) { }; const DecSnap ds0 = dec_snap(); double dt_run = 0, dt_commit = 0, dt_draft = 0; + double dt_adapt_wait = 0, dt_adapt_join = 0; // the tier's wait before a window / join after the draft (ms, summed) + const int64_t dt_sw0 = ajob ? a_swapped : adapt_nswaps; int64_t dec_windows = 0, dec_T = 0; const int64_t decode_hits0 = drive.d.cache_hits; // CS-T: the RAM and file tiers of this request (the mmap source; 0 with the arena) @@ -12432,6 +12520,7 @@ int main(int argc, char** argv) { // #463: the previous adapt round's copies land first - with a non-blocking query, whether a swapped-in // expert ran on the GPU or the CPU (they round differently) depended on the copy's timing // (STRATA_ADAPT_NOWAIT=1: 0.1.37's non-blocking query, the A/B) + const Clock::time_point taw0 = Clock::now(); if (adapt_nowait()) apply_pending(false); else if (aov && !pending.empty() && !aflipped) { // 0.1.43 STRATA_ADAPT_OVERLAP: the tables take the swaps now, exactly where the wait would have ended; @@ -12453,6 +12542,7 @@ int main(int argc, char** argv) { std::printf("ERR an adaptive refill failed\n"); return 1; } + dt_adapt_wait += std::chrono::duration(Clock::now() - taw0).count(); if (hist_n > 0) { // the tails the penalties count over, ONE PER ROW: the tokens the state has consumed, the // fed-back head `x` (it joins `consumed` only after this window commits), then the drafts @@ -12466,7 +12556,7 @@ int main(int argc, char** argv) { } // the elastic K/V: the window's cells and the drafter's beyond them if (kvg.on && p + T + 64 > kvg.cells && - !kvg_ensure(p + T + 64, [&] { cudaDeviceSynchronize(); apply_pending(true); })) { + !kvg_ensure(p + T + 64, adapt_quiesce)) { std::printf("ERR the K/V cannot grow: no VRAM is left\n"); return 1; } @@ -12555,7 +12645,11 @@ int main(int argc, char** argv) { ++dec_windows; dec_T += T; } pcie_auto_step(req_pcie_frac); // the default share, refined from the CPU pool's speed (PcieAuto); a request's own share is left alone - if (adapt_thr.joinable()) adapt_thr.join(); + if (adapt_thr.joinable()) { + const Clock::time_point taj0 = Clock::now(); + adapt_thr.join(); + dt_adapt_join += std::chrono::duration(Clock::now() - taj0).count(); + } if (!adapt_ok) { std::printf("ERR an adaptive refill failed\n"); return 1; @@ -12587,12 +12681,13 @@ int main(int argc, char** argv) { std::fprintf(stderr, "strata decode timing: %lld windows, avg T %.2f, %.2f tokens/window, %.2f ms/window = " "verify %.2f (GPU-reach wait %.2f + per-layer host %.2f [plan %.2f actq %.2f jobs %.2f " "CPU %.2f] + stage %.2f) + commit/emit %.2f + draft %.2f; per layer-window: CPU experts " - "%.2f (%.2f entries), VRAM hits %.2f, PCIe %.2f\n", + "%.2f (%.2f entries), VRAM hits %.2f, PCIe %.2f; adapt wait %.2f join %.2f, %.1f swaps/window\n", (long long) dec_windows, dec_T / w, produced_n / w, decode_ms / w, dt_run / w, (d1.wait - ds0.wait) / w, (d1.pool - ds0.pool) / w, (d1.plan - ds0.plan) / w, (d1.actq - ds0.actq) / w, (d1.jobs - ds0.jobs) / w, (d1.run - ds0.run) / w, (d1.host - ds0.host) / w, dt_commit / w, dt_draft / w, (d1.misses - ds0.misses) / (w * L), - (d1.entries - ds0.entries) / (w * L), (d1.hits - ds0.hits) / (w * L), (d1.pcie - ds0.pcie) / (w * L)); + (d1.entries - ds0.entries) / (w * L), (d1.hits - ds0.hits) / (w * L), (d1.pcie - ds0.pcie) / (w * L), + dt_adapt_wait / w, dt_adapt_join / w, (double) ((ajob ? a_swapped : adapt_nswaps) - dt_sw0) / w); if (aov) std::fprintf(stderr, "strata decode adapt overlap: %lld windows took swaps still landing, a layer waited %.2f ms in all so far\n", (long long) aov_flips, ver.ms_gate); @@ -12840,8 +12935,15 @@ int main(int argc, char** argv) { (long long) src.file_reads()); if (ajob) // --adapt-async, cumulative (a round may still be in flight: it lands before the next request) std::fprintf(stderr, "strata serve: asynchronous adaptive tier: %lld rounds, %lld experts swapped in, " - "%.1f ms per round (start to flip, between windows)\n", + "%.1f ms per round (start to flip, between windows)", (long long) a_rounds, (long long) a_swapped, a_rounds > 0 ? a_ms / (double) a_rounds : 0.0); + if (ajob) { + if (a_arena) + std::fprintf(stderr, " (arena, copy-in only, batch %zu, wait %d, pick %s %.2f ms/round)\n", a_batch, + (int) a_wait, a_inline ? "inline" : "on the job", a_rounds > 0 ? a_pick_ms / (double) a_rounds : 0.0); + else + std::fprintf(stderr, "\n"); + } if (src.exchange_rotation()) std::fprintf(stderr, "strata serve: exchange rotation: %llu blocks, %llu host memcpy bytes avoided (cumulative payload)\n", (unsigned long long)src.rotated_exchanges(),