okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

albedocmake: strata_kernels links strata_kernels_cpu (iq_kernels.cu reads the latent colscale table from expert_layout.cpp; strata-q36ref failed to link)a4af4df61

main
7 folders4 files

files

helper-prs/
helper-stock/
helper-stock-pcie0/
single-prs/
single-stock/
split-prs/
split-stock/
README.md15.3 KiB
TRIMMED.md888 B
benchmark.py7.0 KiB
monitor.py1.5 KiB

Community benchmark: 2x AMD Radeon RX 6900 XT 16 GB (gfx1030), Ryzen 5 5600X, 128 GB RAM

Measured on 2026-10-05 on a Linux desktop. This tests the original Qwen3.8-Flash-Next (GSQ-RCO IQ3_S) with a 131,072-token context in the three ways two cards can be used - one card alone, a layer split across both, and one card with the other as an expert helper (--remote-expert-opt) - on stock engine 0.1.39 and on 0.1.39 with the three gfx103x pull requests #835, #849 and #854 applied.

On stock 0.1.39, one card reads a prompt at about 460 tok/s and decodes at 40-43 tok/s; with the three PRs the same card reads at 868 / 1,100 / 1,023 tok/s (4K / 32K / 128K). The layer split with the PRs reads a 128,000-token prompt at 1,823 tok/s (70 s to the first token instead of 279 s on one stock card), and the helper mode with #854 decodes at 60-65 tok/s. All 42 recall checks (six needles per configuration) were found. The requests are synthetic code-explanation requests with greedy decoding and a 256-token output cap, and every configuration ran with the engine's adaptive expert swaps turned off (--adapt-every 100000) because of #884; they do not establish answer quality or performance on other workloads.

Hardware and software

Model and configuration

Model: ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF, IQ3_S - the same two files setup downloads for its IQ3_S choice, downloaded on 2026-09-30 and packed by hand on 2026-10-04 with the repository's tools/iq_pack.py (no --compat-bf16). The SHA-256 hashes match the repository's .sha256 files:

The MTP draft layer was prepared with the repository's tools. The expert profile is the repository's own data/expert-profile.bin (unchanged). No vision encoder, no calibration, no speed projection.

Configurations (each one's config.json is in its folder; /m is the model directory, /work/stock and /work/prs the two trees). Common to all: context 131,072, --kv int8 --kv-resident 32768 (32,768 K/V cells per attention layer in VRAM, the rest streamed from pinned RAM), --expert-cache auto, --prefill auto (8,192-token chunks, a 384-slot streaming ring), MTP with --spec 4 --spec-min-p 0.5, suffix drafting on (the default), and --adapt-every 100000.

namecardsenginenotes
single-stockone (PCI 0f)stockexpert cache 4,861 slots (9.26 GiB); the prompt path borrows 2,249 of them
single-prsonePRsthe same
split-stockboth, layer_split: autostocklayers 0-24 on the first card, 25-47 with the head and the draft on the second (the split's own estimate: 11,176 of the 24,576 (layer, expert) pairs in VRAM, ~97.7% of the profile's routed mass); caches 6,176 slots (11.12 GiB) + 4,829 (9.72 GiB); the prompt path borrows 2,249 + 2,115 of them
split-prsbothPRsthe same
helper-stockone + the other as helper (--expert-cache-device1 auto --remote-expert-opt)stockprimary 4,861 slots + helper 8,163 (15.46 GiB); the probed PCIe share, pcie_frac 0.39
helper-stock-pcie0the samestock--pcie-frac 0, the workaround for the share bug #854 fixes
helper-prsthe samePRsthe probed share 0.39, with #854

Why --adapt-every 100000: on this machine the adaptive expert swaps, the MMQ prompt path and SDMA copies together hang the engine on the first verify window after a long prompt once about seven requests have been served (#884; stock hung in 5 of 5 runs of a sequence like this benchmark's). Turning the swaps off avoids it (0 hangs in 7 runs there, and none in the 7 configurations here). It costs decode: with the swaps on, the helper mode on this machine decodes 66-68 tok/s on ~5K prompts instead of the 60-65 below, and one card 44-48 instead of 40-43. So the decode numbers here are a few percent under what the engine does when it does not hang.

Method

benchmark.py is the script of the RTX 5090 report, unchanged. It builds deterministic synthetic Python filler, puts a different nonce near the start of each request, and counts the rendered chat prompt with Strata's tokenizer. monitor.py is the AMD form of that report's monitor: it samples RAM, swap and both cards' VRAM, GTT, busy percentage and power from sysfs once per second.

Every configuration started its own server (serve/server.py --engine strata --config <config.json> --port 8089 from its tree), and ran, in this order:

python3 benchmark.py --root /work/<tree> --pack /m/packs/iq3_s --url http://127.0.0.1:8089 --out <folder> --targets 4096,32768,128000 --runs 3
python3 /work/<tree>/tools/needle_bench.py --url http://127.0.0.1:8089 --lengths 32k,128k --depths 10,50,90 --out <folder>/needles.json

The seven servers ran one after the other between 02:58 and 06:02 local time, with one interruption: after split-stock the sequence was paused for an unrelated test and resumed 10 minutes later. Each configuration is a fresh engine, so the pause changes nothing in them.

Results

Each cell is the median [minimum-maximum] of three runs. No speed request failed, was cancelled or stalled.

One card (PCI 0f)

Prompt tokensPrompt tok/sDecode tok/sTTFT secondsTotal seconds
stock4,096457.0 [451.1-458.6]40.2 [38.2-41.3]9.00 [8.97-9.12]15.46 [15.14-15.67]
stock32,768473.6 [453.7-473.7]43.4 [41.9-44.2]69.37 [69.25-72.30]75.13 [75.13-78.37]
stock128,000458.6 [458.5-458.9]41.4 [38.3-42.2]279.29 [279.11-279.35]285.51 [285.33-285.77]
PRs4,096868.0 [825.2-869.7]42.0 [38.9-42.9]4.76 [4.75-5.00]10.82 [10.69-11.56]
PRs32,7681,099.5 [1,099.4-1,102.3]42.9 [40.3-44.3]29.88 [29.80-29.88]35.82 [35.55-36.20]
PRs128,0001,023.4 [1,023.0-1,024.8]39.6 [37.8-39.7]125.27 [125.10-125.33]131.76 [131.68-131.85]

Layer split across both cards

Prompt tokensPrompt tok/sDecode tok/sTTFT secondsTotal seconds
stock4,096445.6 [438.6-446.7]58.9 [58.2-59.3]9.23 [9.20-9.37]13.60 [13.53-13.67]
stock32,768722.7 [721.1-724.1]60.6 [60.0-60.9]45.41 [45.32-45.51]49.61 [49.57-49.69]
stock128,000820.8 [820.7-821.1]58.2 [52.5-58.7]156.14 [156.09-156.16]160.47 [160.46-161.01]
PRs4,096852.5 [806.3-853.6]59.3 [57.2-60.5]4.84 [4.83-5.11]9.29 [9.05-9.40]
PRs32,7681,616.1 [1,614.2-1,620.1]59.0 [56.7-62.4]20.35 [20.30-20.37]24.66 [24.38-24.86]
PRs128,0001,823.1 [1,821.0-1,824.9]57.4 [56.7-58.6]70.40 [70.33-70.48]74.82 [74.76-74.89]

One card with the other as expert helper

Prompt tokensPrompt tok/sDecode tok/sTTFT secondsTotal seconds
stock, probed share 0.394,096457.3 [449.1-458.2]42.3 [41.8-42.4]8.99 [8.98-9.16]15.02 [14.99-15.26]
stock, probed share 0.3932,768473.0 [470.0-473.7]40.5 [40.0-41.4]69.35 [69.25-69.79]75.73 [75.41-76.10]
stock, probed share 0.39128,000458.4 [458.2-458.6]38.0 [37.8-41.1]279.42 [279.33-279.56]286.08 [285.62-286.27]
stock, --pcie-frac 04,096459.5 [452.7-459.8]62.8 [58.4-64.4]8.95 [8.94-9.08]12.99 [12.90-13.44]
stock, --pcie-frac 032,768473.3 [473.0-473.6]62.0 [59.2-64.1]69.31 [69.26-69.34]73.45 [73.23-73.61]
stock, --pcie-frac 0128,000458.1 [458.0-458.4]56.3 [53.6-59.8]279.62 [279.43-279.64]284.16 [283.88-284.18]
PRs, probed share 0.394,096875.4 [826.9-875.9]64.5 [62.7-68.9]4.71 [4.71-4.98]8.66 [8.40-9.05]
PRs, probed share 0.3932,7681,101.1 [1,100.9-1,101.8]62.5 [62.2-67.6]29.83 [29.81-29.84]33.90 [33.57-33.93]
PRs, probed share 0.39128,0001,024.0 [1,024.0-1,024.4]60.0 [58.6-62.8]125.19 [125.14-125.20]129.43 [129.25-129.49]

What the tables show:

Memory and power, from each configuration's telemetry.jsonl (one-second samples from the server's start through the recall checks; the raw files, 4 MB in all, are not kept in this repository):

These are sampled values; brief peaks between samples can be missed.

Recall and limitations

The repository's unchanged tools/needle_bench.py found all six needles in each of the seven configurations, at depths 10%, 50% and 90% at both lengths (needles.json and the others): the 32k prompts were 32,171-32,172 tokens and the 128k prompts 125,449-125,451 tokens, all read in full (no reused prefix).

Limits of this report: