Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.
C++
bench: verify rotation-only build with an exact native 1K pair
David82db014cc1e9
diff --git a/bench/results/exchange-rotation-ab.json b/bench/results/exchange-rotation-ab.jsonindex 6c11cd2a8..96d7e8435 100644--- a/bench/results/exchange-rotation-ab.json+++ b/bench/results/exchange-rotation-ab.json@@ -1,65 +1,304 @@{- "kind": "historical-native-same-binary-ab",- "date": "2026-10-03",- "qualification": "Original rotation build, not a new benchmark of the rebased patch.",- "source_commit": "1a50d913bf910a1f63fbc1a0788a7083e3ca5f8c",- "engine_sha256": "d14ed6b69a1814ce4b5c08932a47d6921a55fa0aa8dea50427ccf0782d1ad997",- "source_receipt_url": "https://github.com/CC-David-CC/Strata-a5500/blob/6beb57fd61ff7e15e48913e59f6a3558c87c8e63/bench/results/2026-10-03-q8-buffer-rotation/summary.json",- "source_receipt_sha256": "19ee56a37aa1c68ae2833da63af212e6f53f2a3ca156bceae94727b8e60d2ac9",- "hardware": "RTX PRO 6000 Blackwell Workstation Edition 96GB; Ryzen 9 7950X; 128GB installed RAM",- "weights": "Q8_0",- "kv": "fp16",- "task": "coding",- "mode": "target-only; MTP drafting and suffix drafting disabled",- "allocated_context": 73728,- "gpu_expert_slots": 16400,- "resident_complement_gib": 39.77,- "expert_blob_bytes": 5222400,- "adaptive_swaps": 96,- "wait_for_completion": true,+ "kind": "clean-rotation-only-native-same-binary-ab",+ "date": "2026-10-04",+ "source_commit": "18a30ad775bce86e99a54e6dc552ccb72c66d16e",+ "source_archive_sha256": "a726e0be8b03c40d1c5c09b49da37e28ba6e34ef3fd247bb85adf043de927a88",+ "engine_sha256": "6ed9db1dcc04b94e9816b73df30730395ff44e42f4def3b46722199aea5d881d",+ "upstream_base": "6f32ec070f23ced9f50e704d854d775da52591ab",+ "ggml_commit": "3cf03257f219afbe7334045ff7c6a06ac68c627d",+ "hardware": {+ "cpu": "AMD Ryzen 9 7950X 16-Core Processor",+ "memory": "MemTotal: 130975976 kB",+ "gpu": "NVIDIA RTX PRO 6000 Blackwell Workstation Edition, 97887, 595.91.07",+ "kernel": "7.0.0-34-generic",+ "compiler": "g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0"+ },+ "build": {+ "type": "Release",+ "cuda": "13.2",+ "cuda_architectures": "120"+ },+ "model": {+ "repo": "unsloth/Qwen3.8-Flash-Next-GGUF",+ "revision": "38bb39ee97821de2c9009abb7e93950eec396e66",+ "files": [+ {+ "path": "Q8_0/Qwen3.8-Flash-Next-Q8_0-00001-of-00006.gguf",+ "size": 10946624,+ "sha256": "2dabcbb53ca537a7947bc7d20414fd464eeaf4d66d43021b5b2556cc87544ad2"+ },+ {+ "path": "Q8_0/Qwen3.8-Flash-Next-Q8_0-00002-of-00006.gguf",+ "size": 682434912,+ "sha256": "494ca4ed3dbf97bc28da88af3890b8877b9032f909812d00c0526a9ca5e91d2e"+ },+ {+ "path": "Q8_0/Qwen3.8-Flash-Next-Q8_0-00003-of-00006.gguf",+ "size": 54400261312,+ "sha256": "34efd79a80a1ce540a517a5d56171924b66ce1c38b04c904f17ad6d8ef17cf20"+ },+ {+ "path": "Q8_0/Qwen3.8-Flash-Next-Q8_0-00004-of-00006.gguf",+ "size": 49446841216,+ "sha256": "bfa634025fabbd2658bf7694bc80b90e571699c768723f844c934c7ef06c691a"+ },+ {+ "path": "Q8_0/Qwen3.8-Flash-Next-Q8_0-00005-of-00006.gguf",+ "size": 49668930400,+ "sha256": "232a8f14cc0fa4262e7efe8593774b136fe40909e39c7a020342ddaa27259a97"+ },+ {+ "path": "Q8_0/Qwen3.8-Flash-Next-Q8_0-00006-of-00006.gguf",+ "size": 34015618784,+ "sha256": "538a93bca918064983409a41187ad4c68640f9aced6f29564da8f551bf86d7a5"+ }+ ],+ "bytes": 188225033248+ },+ "model_hash_note": "Hashes are from the retained download manifest; file size/inode/mtime are checked for stability before each arm.",+ "model_formats": "Q8_0 experts, compatibility BF16 small projections, Q5_K head, FP16 KV; explicit existing IQ4_NL PLE override.",+ "ple_override": {+ "format": "IQ4_NL",+ "file": "Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf",+ "sha256": "316b46f3a2dbd68c900f43136ab9449f9dcc3725dfd8c794847c204bc161e113"+ },+ "qualification": "This is a mixed-format storage stress fixture using upstream-supported readers, not a full-Q8 quality claim. No Q8 PLE reader extension is present in the tested build.",+ "input_tokens": 1024,+ "output_tokens": 1024,+ "allocated_context": 40960,+ "prompt_task": "Fixed-length storage parity and timing, not a model quality evaluation.",+ "temperature": 0,+ "input_token_ids_sha256": "9f8ae9eec9b56e2a04adf499638c0c1c275be8fc34cf627e632a26d3711f65a7",+ "eos_note": "EOS matching uses the out-of-vocabulary sentinel 2147483647 so all arms generate the requested count even if a normal end-of-turn token occurs.",+ "args_template": [+ "--pack",+ "{pack}",+ "--native",+ "{native}",+ "--expert-cache",+ "16400",+ "--resident-budget-gib",+ "56",+ "--expert-profile",+ "{source}/data/expert-profile.bin",+ "--adapt-every",+ "4",+ "--adapt-swaps",+ "96",+ "--adapt-decay",+ "0.7",+ "--pcie-frac",+ "-1",+ "--ple-gguf",+ "{ple}",+ "--spec",+ "2",+ "--mtp",+ "{mtp}",+ "--mtp-max-t",+ "1",+ "--suffix-draft",+ "0",+ "--kv",+ "fp16",+ "--max-context",+ "40960",+ "--prompt-cache",+ "0",+ "--conversation-cache-mib",+ "0",+ "--prefill",+ "1024",+ "--no-prefill-borrow",+ "--vram-reserve-mib",+ "2048",+ "--ple-io",+ "ram",+ "--ple-row-cache",+ "1048576",+ "--eos-ids",+ "2147483647",+ "--stats",+ "--native-dense-gguf",+ "{model}/Qwen3.8-Flash-Next-Q8_0-00001-of-00006.gguf",+ "--native-dense-gguf",+ "{model}/Qwen3.8-Flash-Next-Q8_0-00002-of-00006.gguf",+ "--native-dense-gguf",+ "{model}/Qwen3.8-Flash-Next-Q8_0-00003-of-00006.gguf",+ "--native-dense-gguf",+ "{model}/Qwen3.8-Flash-Next-Q8_0-00004-of-00006.gguf",+ "--native-dense-gguf",+ "{model}/Qwen3.8-Flash-Next-Q8_0-00005-of-00006.gguf",+ "--native-dense-gguf",+ "{model}/Qwen3.8-Flash-Next-Q8_0-00006-of-00006.gguf"+ ],+ "environment": {+ "STRATA_ADAPT_NOWAIT": "0",+ "STRATA_DECODE_TIMING": "1"+ },+ "profile_sha256": "8f59b4aa8873209dff11c11e37bcda9529a1335b724a1afeea37bf6388975baf",+ "process_policy": "A fresh native engine per arm; no prompt or conversation reuse.",+ "decoding": "Target-only: --mtp-max-t 1 --suffix-draft 0. Required MTP runtime loaded, zero offered drafts.","output_tokens_identical": true,"first_differing_output_index": null,- "token_evidence": "Original raw-ID comparison plus matching published token-count and serialized-token SHA-256 receipts; raw token arrays are not included in the published summary.",+ "token_hash_encoding": "SHA-256 of UTF-8 compact JSON array, no whitespace or trailing newline.",+ "token_ids_file": "exchange-rotation-token-ids.json",+ "token_ids_file_sha256": "2c904cf4a7f41650ec06f54ffa773636114efed8cff059d825e5431f5aa666aa","arms": [{- "label": "serial-rotate0-r1","rotation": 0,- "prompt_sha256": "a8024ab0ba6b95ae36f2b9bd621723ed0f9b98e64ad82b94d389cdacb2232896",- "input_tokens": 65536,"output_tokens": 1024,- "output_token_ids_sha256_json": "b1f0b9db418f250daa39ec15507b7e60afa8168c32bd23e7e7fdab178f95c25a",- "decode_tokens_per_second": 70.0741115848109,- "effective_output_tokens_per_second": 35.20482743535113,- "decode_milliseconds": 14613.1,- "resident_exchanges": 2377,+ "decode_tokens_per_second": 60.115063989667725,+ "startup_seconds": 81.38423368299846,+ "wall_seconds": 18.77454281001701,+ "timings": {+ "generated": 1024,+ "prompt_tokens": 1024,+ "prompt_ms": 1736.2,+ "decode_ms": 17034.0,+ "finish": "length",+ "drafts_accepted": 0,+ "drafts_offered": 0,+ "reused": 0,+ "hits": 465690,+ "lookups": 484972,+ "ram_blobs": 28390,+ "file_blobs": 0,+ "file_mb": 0.0,+ "prompt_read": 1024,+ "offloaded": 6548+ },+ "rotation_active": false,"rotated_blocks": 0,+ "resident_exchanges": 2555,"avoided_memcpy_payload_bytes": 0,+ "engine_info": {+ "version": "0.1.39",+ "context": 40960,+ "kv": "fp16",+ "kv_resident": 0,+ "expert_slots": 16400,+ "expert_cache_mib": 81679,+ "expert_slots_primary": 16400,+ "expert_cache_primary_mib": 81679,+ "spec": 2,+ "mtp_max": 1,+ "lookup": 0,+ "vram_free_mib": 5938,+ "cvec": 0,+ "arena_mib": 40720,+ "pool_workers": 15,+ "pcie_frac": "0.55",+ "spec_min_p": "0.00",+ "conversation_cache_mib": 0,+ "conversation_cache_slots": 4,+ "conversation_cache_min_free_mib": 2560,+ "tail_role_token": -1,+ "vram_elastic": 0,+ "engine": "0.1.39"+ },"diagnostics": [- "strata decode timing: 1024 windows, avg T 1.00, 1.00 tokens/window, 14.27 ms/window = verify 12.36 (GPU-reach wait 9.31 + per-layer host 2.53 [plan 0.03 actq 0.02 jobs 0.06 CPU 2.34] + stage 0.00) + commit/emit 0.02 + draft 0.00; per layer-window: CPU experts 0.34 (0.34 entries), VRAM hits 9.56, PCIe 0.11",- "strata serve: resident RAM: 39.77 GiB of experts in RAM, 2377 exchanged with the VRAM tier, 0 blob reads from the file",- "strata serve: expert tiers: GPU 469667 hits this request; since the start RAM 89645 blobs, files 0 blobs 85652.6 MB read (the GGUF in place)"- ]+ "strata decode timing: 1024 windows, avg T 1.00, 1.00 tokens/window, 16.63 ms/window = verify 14.58 (GPU-reach wait 8.62 + per-layer host 5.45 [plan 0.03 actq 0.01 jobs 0.00 CPU 2.78] + stage 2.56) + commit/emit 0.03 + draft 0.00; per layer-window: CPU experts 0.39 (0.39 entries), VRAM hits 9.47, PCIe 0.13",+ "strata serve: resident RAM: 39.77 GiB of experts in RAM, 2555 exchanged with the VRAM tier, 0 blob reads from the file"+ ],+ "output_token_ids_sha256": "b384e4b16b5bd1c41f4739d053eb50d100a9cbfdb18fc5b76e31d188015961be"},{- "label": "serial-rotate1-r1","rotation": 1,- "prompt_sha256": "a8024ab0ba6b95ae36f2b9bd621723ed0f9b98e64ad82b94d389cdacb2232896",- "input_tokens": 65536,"output_tokens": 1024,- "output_token_ids_sha256_json": "b1f0b9db418f250daa39ec15507b7e60afa8168c32bd23e7e7fdab178f95c25a",- "decode_tokens_per_second": 75.38724306496259,- "effective_output_tokens_per_second": 36.48173245764955,- "decode_milliseconds": 13583.2,- "resident_exchanges": 2377,- "rotated_blocks": 2377,- "avoided_memcpy_payload_bytes": 12413644800,+ "decode_tokens_per_second": 75.12453505689362,+ "startup_seconds": 81.84003309899708,+ "wall_seconds": 14.8190471130074,+ "timings": {+ "generated": 1024,+ "prompt_tokens": 1024,+ "prompt_ms": 1184.6,+ "decode_ms": 13630.7,+ "finish": "length",+ "drafts_accepted": 0,+ "drafts_offered": 0,+ "reused": 0,+ "hits": 465690,+ "lookups": 484972,+ "ram_blobs": 28390,+ "file_blobs": 0,+ "file_mb": 0.0,+ "prompt_read": 1024,+ "offloaded": 6548+ },+ "rotation_active": true,+ "rotated_blocks": 2555,+ "resident_exchanges": 2555,+ "avoided_memcpy_payload_bytes": 13343232000,+ "engine_info": {+ "version": "0.1.39",+ "context": 40960,+ "kv": "fp16",+ "kv_resident": 0,+ "expert_slots": 16400,+ "expert_cache_mib": 81679,+ "expert_slots_primary": 16400,+ "expert_cache_primary_mib": 81679,+ "spec": 2,+ "mtp_max": 1,+ "lookup": 0,+ "vram_free_mib": 5938,+ "cvec": 0,+ "arena_mib": 40720,+ "pool_workers": 15,+ "pcie_frac": "0.55",+ "spec_min_p": "0.00",+ "conversation_cache_mib": 0,+ "conversation_cache_slots": 4,+ "conversation_cache_min_free_mib": 2560,+ "tail_role_token": -1,+ "vram_elastic": 0,+ "engine": "0.1.39"+ },"diagnostics": [- "strata decode timing: 1024 windows, avg T 1.00, 1.00 tokens/window, 13.26 ms/window = verify 12.36 (GPU-reach wait 9.28 + per-layer host 2.56 [plan 0.04 actq 0.02 jobs 0.07 CPU 2.33] + stage 0.00) + commit/emit 0.02 + draft 0.00; per layer-window: CPU experts 0.34 (0.34 entries), VRAM hits 9.56, PCIe 0.11",- "strata serve: resident RAM: 39.77 GiB of experts in RAM, 2377 exchanged with the VRAM tier, 0 blob reads from the file",- "strata serve: exchange rotation: 2377 blocks, 12413644800 host memcpy bytes avoided (cumulative payload)",- "strata serve: expert tiers: GPU 469667 hits this request; since the start RAM 89645 blobs, files 0 blobs 85652.6 MB read (the GGUF in place)"- ]+ "FileExpertSource: exchange buffer rotation enabled: 96 buffers, 5222400 bytes each; no host commit memcpy",+ "strata decode timing: 1024 windows, avg T 1.00, 1.00 tokens/window, 13.31 ms/window = verify 12.34 (GPU-reach wait 8.67 + per-layer host 3.15 [plan 0.03 actq 0.01 jobs 0.00 CPU 2.74] + stage 0.30) + commit/emit 0.02 + draft 0.00; per layer-window: CPU experts 0.39 (0.39 entries), VRAM hits 9.47, PCIe 0.13",+ "strata serve: resident RAM: 39.77 GiB of experts in RAM, 2555 exchanged with the VRAM tier, 0 blob reads from the file",+ "strata serve: exchange rotation: 2555 blocks, 13343232000 host memcpy bytes avoided (cumulative payload)"+ ],+ "output_token_ids_sha256": "b384e4b16b5bd1c41f4739d053eb50d100a9cbfdb18fc5b76e31d188015961be"+ }+ ],+ "validation": [+ {+ "name": "configure",+ "exit_code": 0,+ "seconds": 2.0173747100052424+ },+ {+ "name": "build",+ "exit_code": 0,+ "seconds": 74.66783442400629+ },+ {+ "name": "ctest",+ "exit_code": 0,+ "seconds": 0.36451481201220304+ },+ {+ "name": "rotation-gpu",+ "exit_code": 0,+ "seconds": 0.4641803269914817+ },+ {+ "name": "memcheck",+ "exit_code": 0,+ "seconds": 0.5145799079909921+ },+ {+ "name": "comparison-02",+ "exit_code": 0,+ "seconds": 224.55086803800077}],- "limitation": "One pair on the original binary. No universal speedup, new-main throughput, or speculative-path token-parity claim."+ "limitations": [+ "One pair; no universal speedup or speculative-path token-parity claim.",+ "EOS ignored for exact output length; not an answer-quality measurement.",+ "AMD and Windows GPU execution untested."+ ]}diff --git a/bench/results/exchange-rotation-token-ids.json b/bench/results/exchange-rotation-token-ids.jsonnew file mode 100644index 000000000..6e9242d51--- /dev/null+++ b/bench/results/exchange-rotation-token-ids.json@@ -0,0 +1 @@+{"input":[248045,846,198,8441,8129,318,1856,10895,1590,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,13,198,760,50245,8129,7276,18541,13017,321,7262,198,3601,314,8129,13,271,2427,38453,494,220,16,13,8984,1132,23173,6572,24959,18101,539,12258,13,13262,24217,2980,279,2468,3798,13,2233,16308,11,1970,11,59429,466,15673,13,248046,198,248045,74455,198,248068,271,248069,271],"off":[16,220,17,220,18,220,19,220,20,220,21,220,22,220,23,220,24,220,16,15,220,16,16,220,16,17,220,16,18,220,16,19,220,16,20,220,16,21,220,16,22,220,16,23,220,16,24,220,17,15,220,17,16,220,17,17,220,17,18,220,17,19,220,17,20,220,17,21,220,17,22,220,17,23,220,17,24,220,18,15,220,18,16,220,18,17,220,18,18,220,18,19,220,18,20,220,18,21,220,18,22,220,18,23,220,18,24,220,19,15,220,19,16,220,19,17,220,19,18,220,19,19,220,19,20,220,19,21,220,19,22,220,19,23,220,19,24,220,20,15,220,20,16,220,20,17,220,20,18,220,20,19,220,20,20,220,20,21,220,20,22,220,20,23,220,20,24,220,21,15,220,21,16,220,21,17,220,21,18,220,21,19,220,21,20,220,21,21,220,21,22,220,21,23,220,21,24,220,22,15,220,22,16,220,22,17,220,22,18,220,22,19,220,22,20,220,22,21,220,22,22,220,22,23,220,22,24,220,23,15,220,23,16,220,23,17,220,23,18,220,23,19,220,23,20,220,23,21,220,23,22,220,23,23,220,23,24,220,24,15,220,24,16,220,24,17,220,24,18,220,24,19,220,24,20,220,24,21,220,24,22,220,24,23,220,24,24,220,16,15,15,220,16,15,16,220,16,15,17,220,16,15,18,220,16,15,19,220,16,15,20,220,16,15,21,220,16,15,22,220,16,15,23,220,16,15,24,220,16,16,15,220,16,16,16,220,16,16,17,220,16,16,18,220,16,16,19,220,16,16,20,220,16,16,21,220,16,16,22,220,16,16,23,220,16,16,24,220,16,17,15,220,16,17,16,220,16,17,17,220,16,17,18,220,16,17,19,220,16,17,20,220,16,17,21,220,16,17,22,220,16,17,23,220,16,17,24,220,16,18,15,220,16,18,16,220,16,18,17,220,16,18,18,220,16,18,19,220,16,18,20,220,16,18,21,220,16,18,22,220,16,18,23,220,16,18,24,220,16,19,15,220,16,19,16,220,16,19,17,220,16,19,18,220,16,19,19,220,16,19,20,220,16,19,21,220,16,19,22,220,16,19,23,220,16,19,24,220,16,20,15,220,16,20,16,220,16,20,17,220,16,20,18,220,16,20,19,220,16,20,20,220,16,20,21,220,16,20,22,220,16,20,23,220,16,20,24,220,16,21,15,220,16,21,16,220,16,21,17,220,16,21,18,220,16,21,19,220,16,21,20,220,16,21,21,220,16,21,22,220,16,21,23,220,16,21,24,220,16,22,15,220,16,22,16,220,16,22,17,220,16,22,18,220,16,22,19,220,16,22,20,220,16,22,21,220,16,22,22,220,16,22,23,220,16,22,24,220,16,23,15,220,16,23,16,220,16,23,17,220,16,23,18,220,16,23,19,220,16,23,20,220,16,23,21,220,16,23,22,220,16,23,23,220,16,23,24,220,16,24,15,220,16,24,16,220,16,24,17,220,16,24,18,220,16,24,19,220,16,24,20,220,16,24,21,220,16,24,22,220,16,24,23,220,16,24,24,220,17,15,15,220,17,15,16,220,17,15,17,220,17,15,18,220,17,15,19,220,17,15,20,220,17,15,21,220,17,15,22,220,17,15,23,220,17,15,24,220,17,16,15,220,17,16,16,220,17,16,17,220,17,16,18,220,17,16,19,220,17,16,20,220,17,16,21,220,17,16,22,220,17,16,23,220,17,16,24,220,17,17,15,220,17,17,16,220,17,17,17,220,17,17,18,220,17,17,19,220,17,17,20,220,17,17,21,220,17,17,22,220,17,17,23,220,17,17,24,220,17,18,15,220,17,18,16,220,17,18,17,220,17,18,18,220,17,18,19,220,17,18,20,220,17,18,21,220,17,18,22,220,17,18,23,220,17,18,24,220,17,19,15,220,17,19,16,220,17,19,17,220,17,19,18,220,17,19,19,220,17,19,20,220,17,19,21,220,17,19,22,220,17,19,23,220,17,19,24,220,17,20,15,220,17,20,16,220,17,20,17,220,17,20,18,220,17,20,19,220,17,20,20,220,17,20,21,220,17,20,22,220,17,20,23,220,17,20,24,220,17,21,15,220,17,21,16,220,17,21,17,220,17,21,18,220,17,21,19,220,17,21,20,220,17,21,21,220,17,21,22,220,17,21,23,220,17,21,24,220,17,22,15,220,17,22,16,220,17,22,17,220,17,22,18,220,17,22,19,220,17,22,20,220,17,22,21,220,17,22,22,220,17,22,23,220,17,22,24,220,17,23,15,220,17,23,16,220,17,23,17,220,17,23,18,220],"on":[16,220,17,220,18,220,19,220,20,220,21,220,22,220,23,220,24,220,16,15,220,16,16,220,16,17,220,16,18,220,16,19,220,16,20,220,16,21,220,16,22,220,16,23,220,16,24,220,17,15,220,17,16,220,17,17,220,17,18,220,17,19,220,17,20,220,17,21,220,17,22,220,17,23,220,17,24,220,18,15,220,18,16,220,18,17,220,18,18,220,18,19,220,18,20,220,18,21,220,18,22,220,18,23,220,18,24,220,19,15,220,19,16,220,19,17,220,19,18,220,19,19,220,19,20,220,19,21,220,19,22,220,19,23,220,19,24,220,20,15,220,20,16,220,20,17,220,20,18,220,20,19,220,20,20,220,20,21,220,20,22,220,20,23,220,20,24,220,21,15,220,21,16,220,21,17,220,21,18,220,21,19,220,21,20,220,21,21,220,21,22,220,21,23,220,21,24,220,22,15,220,22,16,220,22,17,220,22,18,220,22,19,220,22,20,220,22,21,220,22,22,220,22,23,220,22,24,220,23,15,220,23,16,220,23,17,220,23,18,220,23,19,220,23,20,220,23,21,220,23,22,220,23,23,220,23,24,220,24,15,220,24,16,220,24,17,220,24,18,220,24,19,220,24,20,220,24,21,220,24,22,220,24,23,220,24,24,220,16,15,15,220,16,15,16,220,16,15,17,220,16,15,18,220,16,15,19,220,16,15,20,220,16,15,21,220,16,15,22,220,16,15,23,220,16,15,24,220,16,16,15,220,16,16,16,220,16,16,17,220,16,16,18,220,16,16,19,220,16,16,20,220,16,16,21,220,16,16,22,220,16,16,23,220,16,16,24,220,16,17,15,220,16,17,16,220,16,17,17,220,16,17,18,220,16,17,19,220,16,17,20,220,16,17,21,220,16,17,22,220,16,17,23,220,16,17,24,220,16,18,15,220,16,18,16,220,16,18,17,220,16,18,18,220,16,18,19,220,16,18,20,220,16,18,21,220,16,18,22,220,16,18,23,220,16,18,24,220,16,19,15,220,16,19,16,220,16,19,17,220,16,19,18,220,16,19,19,220,16,19,20,220,16,19,21,220,16,19,22,220,16,19,23,220,16,19,24,220,16,20,15,220,16,20,16,220,16,20,17,220,16,20,18,220,16,20,19,220,16,20,20,220,16,20,21,220,16,20,22,220,16,20,23,220,16,20,24,220,16,21,15,220,16,21,16,220,16,21,17,220,16,21,18,220,16,21,19,220,16,21,20,220,16,21,21,220,16,21,22,220,16,21,23,220,16,21,24,220,16,22,15,220,16,22,16,220,16,22,17,220,16,22,18,220,16,22,19,220,16,22,20,220,16,22,21,220,16,22,22,220,16,22,23,220,16,22,24,220,16,23,15,220,16,23,16,220,16,23,17,220,16,23,18,220,16,23,19,220,16,23,20,220,16,23,21,220,16,23,22,220,16,23,23,220,16,23,24,220,16,24,15,220,16,24,16,220,16,24,17,220,16,24,18,220,16,24,19,220,16,24,20,220,16,24,21,220,16,24,22,220,16,24,23,220,16,24,24,220,17,15,15,220,17,15,16,220,17,15,17,220,17,15,18,220,17,15,19,220,17,15,20,220,17,15,21,220,17,15,22,220,17,15,23,220,17,15,24,220,17,16,15,220,17,16,16,220,17,16,17,220,17,16,18,220,17,16,19,220,17,16,20,220,17,16,21,220,17,16,22,220,17,16,23,220,17,16,24,220,17,17,15,220,17,17,16,220,17,17,17,220,17,17,18,220,17,17,19,220,17,17,20,220,17,17,21,220,17,17,22,220,17,17,23,220,17,17,24,220,17,18,15,220,17,18,16,220,17,18,17,220,17,18,18,220,17,18,19,220,17,18,20,220,17,18,21,220,17,18,22,220,17,18,23,220,17,18,24,220,17,19,15,220,17,19,16,220,17,19,17,220,17,19,18,220,17,19,19,220,17,19,20,220,17,19,21,220,17,19,22,220,17,19,23,220,17,19,24,220,17,20,15,220,17,20,16,220,17,20,17,220,17,20,18,220,17,20,19,220,17,20,20,220,17,20,21,220,17,20,22,220,17,20,23,220,17,20,24,220,17,21,15,220,17,21,16,220,17,21,17,220,17,21,18,220,17,21,19,220,17,21,20,220,17,21,21,220,17,21,22,220,17,21,23,220,17,21,24,220,17,22,15,220,17,22,16,220,17,22,17,220,17,22,18,220,17,22,19,220,17,22,20,220,17,22,21,220,17,22,22,220,17,22,23,220,17,22,24,220,17,23,15,220,17,23,16,220,17,23,17,220,17,23,18,220]}diff --git a/docs/EXCHANGE_ROTATION.md b/docs/EXCHANGE_ROTATION.mdindex 567200611..46db61b7b 100644--- a/docs/EXCHANGE_ROTATION.md+++ b/docs/EXCHANGE_ROTATION.md@@ -80,27 +80,56 @@ GPU execution were not tested for this patch.## One native token-identical A/B-This is one existing measurement from the original rotation implementation at-`1a50d913bf910a1f63fbc1a0788a7083e3ca5f8c`, dated 2026-10-03. It is **not a new-full-model benchmark of the clean patch on current main**. The available model-packs for the fresh checks have mixed expert block sizes and cannot activate-this deliberately narrow path.--Both arms used the same native binary and coding prompt: Q8_0 weights, FP16 KV,-65,536 input tokens, 1,024 output tokens, target-only decoding (MTP and suffix-drafting disabled), 16,400 GPU expert slots, and a 39.77 GiB pinned RAM-complement. Hardware: RTX PRO 6000 Blackwell 96GB, Ryzen 9 7950X, 128GB RAM.--| Rotation | Decode tokens/s | Resident exchanges | Avoided host copy payload | Output token IDs |+Freshly built and measured on 2026-10-04 at+`18a30ad775bce86e99a54e6dc552ccb72c66d16e`, on upstream+`6f32ec070f23ced9f50e704d854d775da52591ab`. The tested source contains only+the rotation patch and its tests/docs; no Q8 PLE reader extension.++Both arms used the same Release binary (GCC 13.3, CUDA 13.2), RTX PRO 6000+Blackwell 96GB, Ryzen 9 7950X and 128GB installed RAM. A fresh engine per arm+generated exactly 1,024 tokens after the same 1,024-token counting prompt.+The context allocation was 40,960, with 16,400 GPU expert slots, a 39.77 GiB+pinned/mapped resident complement, FP16 KV, greedy target-only decoding and+zero offered drafts or reused prompt tokens. Only `STRATA_EXCHANGE_ROTATE`+changed. Transfer completion is awaited before admission.++The fixture uses uniform Q8_0 experts, compatibility BF16 small projections,+a Q5_K output head and an explicitly selected **IQ4_NL PLE table**, all read+through existing upstream paths. This mixed-format fixture tests storage+parity; it is not a full-Q8 model or answer-quality claim. The out-of-vocabulary+EOS sentinel `2147483647` forces the exact generated length.++| Rotation | Decode tokens/s | Resident exchanges | Avoided host-copy payload | Output IDs ||---|---:|---:|---:|---|-| `0` | 70.07 | 2,377 | 0 bytes | 1,024, identical |-| `1` | 75.39 | 2,377 | 12,413,644,800 bytes | 1,024, identical |--The [A/B receipt](../bench/results/exchange-rotation-ab.json) contains the binary,-prompt and token hashes, diagnostics, and a pinned public source receipt. Both-token hashes are-`b1f0b9db418f250daa39ec15507b7e60afa8168c32bd23e7e7fdab178f95c25a`.-The original comparison reported no differing token; its published summary-retains counts and hashes, not raw token arrays. This single pair establishes-the recorded parity result, not a general speedup or speculative-decoding-parity guarantee.+| `0` | 60.12 | 2,555 | 0 bytes | 1,024, identical |+| `1` | 75.12 | 2,555 | 13,343,232,000 bytes | 1,024, identical |++Decode rates exclude startup and prefill. This single pair is not a general+speedup or speculative-path parity guarantee. The fresh Blackwell build also+passed both CTest checks and the three-mode CUDA fixture; Compute Sanitizer+reported 0 errors. AMD and Windows GPU execution remain untested.++The [receipt](../bench/results/exchange-rotation-ab.json) contains the source,+binary, model, PLE and profile hashes, arguments, timings and diagnostics.+The [raw IDs](../bench/results/exchange-rotation-token-ids.json) retain the+input and both outputs. Model-shard hashes come from the retained download+manifest; their size/inode/mtime were checked before each arm. The PLE override+was hashed in this run. To check the token comparison without a model:++```bash+python - <<'PY'+import hashlib, json+from pathlib import Path+p = Path('bench/results')+r = json.loads((p / 'exchange-rotation-ab.json').read_text())+raw = (p / r['token_ids_file']).read_bytes()+assert hashlib.sha256(raw).hexdigest() == r['token_ids_file_sha256']+d = json.loads(raw)+assert len(d['input']) == len(d['off']) == len(d['on']) == 1024+assert d['off'] == d['on']+for name, arm in zip(('off', 'on'), r['arms']):+ sha = hashlib.sha256(json.dumps(d[name], separators=(',', ':')).encode()).hexdigest()+ assert sha == arm['output_token_ids_sha256']+print('1,024 identical output token IDs')+PY+```