okami.mom/strata

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

steve8697Add an RTX 5090 + Ryzen 7 9700X IQ3_XXS benchmark on engine 0.1.39 (#777)c9fc15774

main
9.7 KiB194 linesraw

Community benchmark: RTX 5090, Ryzen 7 9700X

Measured on 2026-10-04 by steve8697, on a native Windows PC. This tests the published Strata 0.1.39 engine with the original Flash-Next IQ3_XXS, one GPU, and a 262,144-token context limit.

Median fresh-prompt throughput was 3,775 tok/s prefill and 171.7 tok/s decode at 4,096 prompt tokens, 6,367 / 181.2 at 32,768, and 6,080 / 178.3 at 128,000. These are synthetic code-explanation requests with greedy decoding and a 256-token output cap. They do not establish general answer quality.

The six tools/needle_bench.py checks all returned the hidden code word exactly.

A second start of the same engine and config, later the same evening, filled the 262,144-token window and sent two 128,000-token prompts at once. Those rows are in Full window and two requests at once.

Hardware and software

  • NVIDIA GeForce RTX 5090; 32,607 MiB reported VRAM. Power limit 402.50 W. During the timed runs the card sat near that limit (samples about 390–402 W) at 100% utilization. Clocks were not fixed. nvidia-smi reports a maximum PCIe link of Gen4 x16; samples taken while a run was busy were Gen4 x16.
  • AMD Ryzen 7 9700X; 16 logical processors. The engine selected 7 expert-pool workers.
  • 100,589,809,664 bytes of usable RAM. The server reported 93.7 GiB total and 73.5 GiB used once the model was loaded.
  • Model files are on a T-FORCE TM8FFW004T NVMe (drive D:).
  • Windows 11 26H2, build 26300. NVIDIA driver 617.14.
  • Source commit 6f32ec0. Published engine zip, not a local build: version 0.1.39, CUDA 13.0, architectures 75/86/89/120 including the GPU vision helper. See BUILD.json.
  • No other GPU process was loaded. An unrelated IQ3_S shard download was writing to the same NVMe for the whole run (8.54 GB to 12.05 GB of the 54.82 GB shard).

Model and configuration

  • ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF revision ed59f92082b1e93c0e96d60a8b11aab089b52f09, quant IQ3_XXS. Shard 1 is 47,039,860,096 bytes. Shard 2 is the shared n-gram table, 28,800,138,432 bytes.
  • Vision encoder loaded on the GPU (--vision, --vram-reserve-mib 700). None of these requests attached an image.
  • Context 262144. KV int8 with --kv-resident 32768. Expert cache auto. Prefill auto. Low-RAM mode off. At ready the cache held 12,758 experts, 20.71 GiB. Arena 40,925 MiB. pcie_frac 0.55.
  • Config asks --spec 4 and --spec-min-p 0.5, with MTP and prompt lookup. The engine then reports spec=6, mtp_max=4, lookup=3: with prompt lookup enabled it keeps a 4-token MTP draft and widens the verify window by 2, up to 8.
  • STRATA_PF_FUSED=1, so native IQ prompt experts use the fused int8 kernels once a prompt is long enough for that path. Short prompts stay on the previous kernels.
  • "parallel": 2. These requests were sent one at a time, so each one used the solo path and kept MTP. The two slot sessions were still reserved; /v1/status reported concurrency.serving 2.
  • Conversation cache 8192 MiB, 4 slots. Every timed prompt carried its own nonce, and the engine reported 0 reused tokens on all nine runs.
  • experimental_speed_projection left off. No API key. The server listened on all interfaces; the configured hostname allowlist is omitted here.

Launch, from the Strata directory:

.venv\Scripts\python.exe -u serve\server.py --engine strata --config strata-iq3_xxs.json --port 5310

The script that issued the requests is benchmark.py.

Method

Same shape as bench/results/2026-09-30-community-rtx-5090/benchmark.py: one warmup, then three fresh prompts at 4,096, 32,768, and 128,000 tokens. temperature 0, reasoning_effort none, max_tokens 256, streaming. Prompt length was counted with this checkout's tokenizer and chat template before the request was sent, and it matched prompt_tokens on /metrics.

Prompt throughput is freshly read tokens divided by the engine's prompt_ms. Decode throughput is engine_generated divided by decode_ms. TTFT is the client clock until the first streamed content token. Each prompt is a unique nonce, synthetic Python, and a request for an explanation of at least 600 words. The 256-token cap stopped every timed reply (finish_reason length).

The expert cache was left as the engine adapted it. There was no cooldown between runs. GPU samples are in telemetry.csv. Per-request records are in results.json.

Recall used the unchanged tools/needle_bench.py at 32k and 128k, depths 10, 50, and 90, thinking off, greedy. Output: needles.json.

Results

Prompt tokensReusedGeneratedRunsPrompt tok/s median (min–max)Decode tok/s median (min–max)TTFT seconds median (min–max)
4096025633775 (2617–3825)171.7 (130.2–173.9)1.11 (1.09–1.59)
32768025636367 (6221–6382)181.2 (157.3–183.0)5.22 (5.19–5.34)
128000025636080 (6037–6241)178.3 (174.3–193.3)21.24 (20.70–21.40)

The first 4,096-token run is the slow end of that row: prompt_ms 1565 versus 1071 and 1085, decode 130.2 tok/s versus 173.9 and 171.7, expert-cache hit rate 95.1% versus 97.9% and 98.5%. The later 32K and 128K runs sat around a 99% hit rate, with about 0.2–0.5% of routed experts read over PCIe.

Drafts accepted / offered on the nine timed runs: 150/221, 159/202, 154/230, 155/222, 143/235, 152/214, 152/224, 165/219, 156/234.

NeedlePrompt tokensWall secondsAnswer
32k depth 103217124.8exact
32k depth 50321715.4exact
32k depth 90321722.9exact
128k depth 1012545163.7exact
128k depth 5012544931.8exact
128k depth 9012544932.4exact

The needle wall times include prompt read and the short answer. The first 32k needle, which followed the 128k speed runs, had an 80.9% expert-cache hit rate. The later needles were 84.6–93.0%.

Full window and two requests at once

Same machine, engine, and config, from a second server start after the runs above. Ready state again: 12,758 experts / 20.71 GiB, batch_slots 2, spec 6, mtp_max 4, lookup 3. The unrelated shard download was still writing to the same NVMe (25.53 GB to 29.40 GB of the 54.82 GB shard). The script is long/bench_long.py. Per-request rows are long/results.json.

One prompt at the top of the window

The server keeps an 8-token margin and refuses a prompt that cannot also hold max_tokens. These prompts are 261,880 tokens, so a 256-token answer fits in 262,144. Two fresh runs, 0 reused tokens, finish_reason length, solo path with MTP.

RunPrompt tok/sDecode tok/sTTFT secondsExpert-cache hitDrafts accepted/offered
15861127.645.060.957147/220
25739156.046.010.984148/213

prompt_ms was 44,685 and 45,629. decode_ms was 2,006 and 1,641. PCIe share of routed experts was 0.021 and 0.006.

Two 128,000-token prompts at once

Two waves, each posting both requests together under "parallel": 2. For about the first 20 seconds one prompt was read on the solo path and the other waited. The reader then moved into a slot and decoded while the second prompt was read. Samples in long/wave-1-slots.json and long/wave-2-slots.json show both slots busy across that overlap. The leading request finished its 256 tokens in the slot, with no drafts. The trailing request received its first token after that and then decoded alone.

WaveLeading TTFT secondsLeading decode tok/sTrailing TTFT secondsTrailing decode tok/sPair wall seconds
121.9824.746.7668.450.5
221.0624.745.8370.349.5

Decode tok/s here is 256 generated tokens divided by the client time from the first content token to the end of that stream (about 10.4 seconds for the leading request, about 3.7 seconds for the trailing one). The leading request's server completion line was 24.7 tok/s with no drafts. Expert-cache hit rates on the four completion lines were 0.996, 0.987, 0.998, and 0.985.

/metrics prompt_ms and reused on these four rows do not describe the prefill. A request moved into a slot is recorded as having reused the prompt it just read, so one row shows reused 128000 and prompt_ms of about 2. The other row shows reused 128003, which is longer than its prompt. The table uses the client clock.

The serial 128,000-token median above had a 21.24 second TTFT and 178.3 tok/s decode. The leading request's first token stayed near that TTFT. Its decode then ran at 24.7 tok/s while the second prompt was being read, on the slot path, which does not draft.

Correctness and limitations

All six needles matched the expected code word exactly. The speed prompts were stopped at 256 tokens, so their text is not a quality score. Thinking, sampled decoding, tool calls, and images were not measured. The nine serial runs never shared a batch window, so "parallel": 2 only reserved slot memory for them. The later pair of 128,000-token prompts did share the slots.

STRATA_PF_FUSED=1 changes how long prompts round native IQ expert math. This report does not claim those tokens match a run with the flag unset.

The other RTX 5090 report in this directory is a different computer (Linux, Core Ultra 9 285K, 64 GB, IQ2_XS, engine 0.1.29). These numbers are not a paired comparison with it, or with a 2026-09-30 run of this same PC on engine 0.1.29.

1# Community benchmark: RTX 5090, Ryzen 7 9700X
2
3Measured on 2026-10-04 by [steve8697](https://github.com/steve8697), on a
4native Windows PC. This tests the published Strata 0.1.39 engine with the
5original Flash-Next IQ3_XXS, one GPU, and a 262,144-token context limit.
6
7Median fresh-prompt throughput was **3,775 tok/s prefill and 171.7 tok/s
8decode at 4,096 prompt tokens, 6,367 / 181.2 at 32,768, and 6,080 / 178.3 at
9128,000**. These are synthetic code-explanation requests with greedy decoding
10and a 256-token output cap. They do not establish general answer quality.
11
12The six `tools/needle_bench.py` checks all returned the hidden code word
13exactly.
14
15A second start of the same engine and config, later the same evening, filled
16the 262,144-token window and sent two 128,000-token prompts at once. Those
17rows are in [Full window and two requests at once](#full-window-and-two-requests-at-once).
18
19## Hardware and software
20
21- NVIDIA GeForce RTX 5090; 32,607 MiB reported VRAM. Power limit 402.50 W.
22  During the timed runs the card sat near that limit (samples about 390–402 W)
23  at 100% utilization. Clocks were not fixed. `nvidia-smi` reports a maximum
24  PCIe link of Gen4 x16; samples taken while a run was busy were Gen4 x16.
25- AMD Ryzen 7 9700X; 16 logical processors. The engine selected 7 expert-pool
26  workers.
27- 100,589,809,664 bytes of usable RAM. The server reported 93.7 GiB total and
28  73.5 GiB used once the model was loaded.
29- Model files are on a T-FORCE TM8FFW004T NVMe (drive D:).
30- Windows 11 26H2, build 26300. NVIDIA driver 617.14.
31- Source commit `6f32ec0`. Published engine zip, not a local build: version
32  0.1.39, CUDA 13.0, architectures 75/86/89/120 including the GPU vision
33  helper. See [BUILD.json](BUILD.json).
34- No other GPU process was loaded. An unrelated IQ3_S shard download was
35  writing to the same NVMe for the whole run (8.54 GB to 12.05 GB of the
36  54.82 GB shard).
37
38## Model and configuration
39
40- `ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF` revision
41  `ed59f92082b1e93c0e96d60a8b11aab089b52f09`, quant IQ3_XXS.
42  Shard 1 is 47,039,860,096 bytes. Shard 2 is the shared n-gram table,
43  28,800,138,432 bytes.
44- Vision encoder loaded on the GPU (`--vision`, `--vram-reserve-mib 700`).
45  None of these requests attached an image.
46- Context 262144. KV `int8` with `--kv-resident 32768`. Expert cache `auto`.
47  Prefill `auto`. Low-RAM mode off. At ready the cache held 12,758 experts,
48  20.71 GiB. Arena 40,925 MiB. `pcie_frac` 0.55.
49- Config asks `--spec 4` and `--spec-min-p 0.5`, with MTP and prompt lookup.
50  The engine then reports `spec=6`, `mtp_max=4`, `lookup=3`: with prompt
51  lookup enabled it keeps a 4-token MTP draft and widens the verify window
52  by 2, up to 8.
53- `STRATA_PF_FUSED=1`, so native IQ prompt experts use the fused int8 kernels
54  once a prompt is long enough for that path. Short prompts stay on the
55  previous kernels.
56- `"parallel": 2`. These requests were sent one at a time, so each one used
57  the solo path and kept MTP. The two slot sessions were still reserved;
58  `/v1/status` reported `concurrency.serving` 2.
59- Conversation cache 8192 MiB, 4 slots. Every timed prompt carried its own
60  nonce, and the engine reported 0 reused tokens on all nine runs.
61- `experimental_speed_projection` left off. No API key. The server listened
62  on all interfaces; the configured hostname allowlist is omitted here.
63
64Launch, from the Strata directory:
65
66```text
67.venv\Scripts\python.exe -u serve\server.py --engine strata --config strata-iq3_xxs.json --port 5310
68```
69
70The script that issued the requests is [benchmark.py](benchmark.py).
71
72## Method
73
74Same shape as
75[bench/results/2026-09-30-community-rtx-5090/benchmark.py](../2026-09-30-community-rtx-5090/benchmark.py):
76one warmup, then three fresh prompts at 4,096, 32,768, and 128,000 tokens.
77`temperature` 0, `reasoning_effort` `none`, `max_tokens` 256, streaming.
78Prompt length was counted with this checkout's tokenizer and chat template
79before the request was sent, and it matched `prompt_tokens` on `/metrics`.
80
81Prompt throughput is freshly read tokens divided by the engine's `prompt_ms`.
82Decode throughput is `engine_generated` divided by `decode_ms`. TTFT is the
83client clock until the first streamed content token. Each prompt is a unique
84nonce, synthetic Python, and a request for an explanation of at least 600
85words. The 256-token cap stopped every timed reply (`finish_reason` `length`).
86
87The expert cache was left as the engine adapted it. There was no cooldown
88between runs. GPU samples are in [telemetry.csv](telemetry.csv). Per-request
89records are in [results.json](results.json).
90
91Recall used the unchanged `tools/needle_bench.py` at 32k and 128k, depths
9210, 50, and 90, thinking off, greedy. Output: [needles.json](needles.json).
93
94## Results
95
96| Prompt tokens | Reused | Generated | Runs | Prompt tok/s median (min–max) | Decode tok/s median (min–max) | TTFT seconds median (min–max) |
97| ---: | ---: | ---: | ---: | --- | --- | --- |
98| 4096 | 0 | 256 | 3 | 3775 (2617–3825) | 171.7 (130.2–173.9) | 1.11 (1.09–1.59) |
99| 32768 | 0 | 256 | 3 | 6367 (6221–6382) | 181.2 (157.3–183.0) | 5.22 (5.19–5.34) |
100| 128000 | 0 | 256 | 3 | 6080 (6037–6241) | 178.3 (174.3–193.3) | 21.24 (20.70–21.40) |
101
102The first 4,096-token run is the slow end of that row: `prompt_ms` 1565 versus
1031071 and 1085, decode 130.2 tok/s versus 173.9 and 171.7, expert-cache hit
104rate 95.1% versus 97.9% and 98.5%. The later 32K and 128K runs sat around a
10599% hit rate, with about 0.2–0.5% of routed experts read over PCIe.
106
107Drafts accepted / offered on the nine timed runs: 150/221, 159/202, 154/230,
108155/222, 143/235, 152/214, 152/224, 165/219, 156/234.
109
110| Needle | Prompt tokens | Wall seconds | Answer |
111| --- | ---: | ---: | --- |
112| 32k depth 10 | 32171 | 24.8 | exact |
113| 32k depth 50 | 32171 | 5.4 | exact |
114| 32k depth 90 | 32172 | 2.9 | exact |
115| 128k depth 10 | 125451 | 63.7 | exact |
116| 128k depth 50 | 125449 | 31.8 | exact |
117| 128k depth 90 | 125449 | 32.4 | exact |
118
119The needle wall times include prompt read and the short answer. The first 32k
120needle, which followed the 128k speed runs, had an 80.9% expert-cache hit rate.
121The later needles were 84.6–93.0%.
122
123## Full window and two requests at once
124
125Same machine, engine, and config, from a second server start after the runs
126above. Ready state again: 12,758 experts / 20.71 GiB, `batch_slots` 2, `spec`
1276, `mtp_max` 4, `lookup` 3. The unrelated shard download was still writing to
128the same NVMe (25.53 GB to 29.40 GB of the 54.82 GB shard). The script is
129[long/bench_long.py](long/bench_long.py). Per-request rows are
130[long/results.json](long/results.json).
131
132### One prompt at the top of the window
133
134The server keeps an 8-token margin and refuses a prompt that cannot also hold
135`max_tokens`. These prompts are 261,880 tokens, so a 256-token answer fits in
136262,144. Two fresh runs, 0 reused tokens, `finish_reason` `length`, solo path
137with MTP.
138
139| Run | Prompt tok/s | Decode tok/s | TTFT seconds | Expert-cache hit | Drafts accepted/offered |
140| ---: | ---: | ---: | ---: | ---: | --- |
141| 1 | 5861 | 127.6 | 45.06 | 0.957 | 147/220 |
142| 2 | 5739 | 156.0 | 46.01 | 0.984 | 148/213 |
143
144`prompt_ms` was 44,685 and 45,629. `decode_ms` was 2,006 and 1,641. PCIe share
145of routed experts was 0.021 and 0.006.
146
147### Two 128,000-token prompts at once
148
149Two waves, each posting both requests together under `"parallel": 2`. For
150about the first 20 seconds one prompt was read on the solo path and the other
151waited. The reader then moved into a slot and decoded while the second prompt
152was read. Samples in [long/wave-1-slots.json](long/wave-1-slots.json) and
153[long/wave-2-slots.json](long/wave-2-slots.json) show both slots busy across
154that overlap. The leading request finished its 256 tokens in the slot, with
155no drafts. The trailing request received its first token after that and then
156decoded alone.
157
158| Wave | Leading TTFT seconds | Leading decode tok/s | Trailing TTFT seconds | Trailing decode tok/s | Pair wall seconds |
159| ---: | ---: | ---: | ---: | ---: | ---: |
160| 1 | 21.98 | 24.7 | 46.76 | 68.4 | 50.5 |
161| 2 | 21.06 | 24.7 | 45.83 | 70.3 | 49.5 |
162
163Decode tok/s here is 256 generated tokens divided by the client time from the
164first content token to the end of that stream (about 10.4 seconds for the
165leading request, about 3.7 seconds for the trailing one). The leading
166request's server completion line was 24.7 tok/s with no drafts. Expert-cache
167hit rates on the four completion lines were 0.996, 0.987, 0.998, and 0.985.
168
169`/metrics` `prompt_ms` and `reused` on these four rows do not describe the
170prefill. A request moved into a slot is recorded as having reused the prompt
171it just read, so one row shows `reused` 128000 and `prompt_ms` of about 2.
172The other row shows `reused` 128003, which is longer than its prompt. The
173table uses the client clock.
174
175The serial 128,000-token median above had a 21.24 second TTFT and 178.3 tok/s
176decode. The leading request's first token stayed near that TTFT. Its decode
177then ran at 24.7 tok/s while the second prompt was being read, on the slot
178path, which does not draft.
179
180## Correctness and limitations
181
182All six needles matched the expected code word exactly. The speed prompts were
183stopped at 256 tokens, so their text is not a quality score. Thinking, sampled
184decoding, tool calls, and images were not measured. The nine serial runs never
185shared a batch window, so `"parallel": 2` only reserved slot memory for them.
186The later pair of 128,000-token prompts did share the slots.
187
188`STRATA_PF_FUSED=1` changes how long prompts round native IQ expert math.
189This report does not claim those tokens match a run with the flag unset.
190
191The other RTX 5090 report in this directory is a different computer (Linux,
192Core Ultra 9 285K, 64 GB, IQ2_XS, engine 0.1.29). These numbers are not a
193paired comparison with it, or with a 2026-09-30 run of this same PC on engine
1940.1.29.