[GH-ISSUE #1008] Title: 0.1.39 decode is ~15–23% slower than 0.1.38 on AMD (gfx1201/HIP, 2× R9700); prefill unchanged #440

Closed
opened 2026-11-04 01:43:04 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @uptou888 on GitHub (Oct 6, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1008

Environment: same box, same model, same config for both versions. Linux + AMD HIP (ROCm from host),
2× Radeon AI PRO R9700 32GB (gfx1201), 3970x, 128 GB RAM. Model Qwen3.8-Flash-Next IQ3_S (local pack) + MTP.
Args: --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --kv-resident 32768,
STRATA_HIP_WMMA=1 STRATA_SELECT_WMMA=1, "parallel": 1.

decode (128-token runs, 30K/60K/120K/239K prompts):
0.1.39: 63.7 / 53.0 / 54.3 / 49.9 t/s 0.1.38: 72.3 / 64.3 / 67.1 / 58.5 t/s (-15% … -23%)
prefill (same prompts):
0.1.39: 3290 / 3882 / 4289 / 4264 t/s 0.1.38: 3282 / 3872 / 4276 / 4251 t/s (identical)
chat: reason 54.2 → 60.6 t/s, creative 52.1 → 55.7 t/s, repeat 95.7 → 97.6 t/s.
Draft acceptance unchanged (88/60/59% vs 90/61/61%) ⇒ not a speculation effect.
Cross-check: a second machine (same GPUs, 0.1.38) reproduces 72.9 / 64.4 / 67.1 / 58.4 ⇒ the regression is version-specific.

Your notes say the zero-doorbell verify runs only when every expert of a layer is in VRAM and that big cards were
not measured; here every expert is in VRAM (2×32 GB) and the AMD path is untested by you ⇒ looks like a regression there.

Also, with "parallel": 2 the engine exits 1 on the same box:
[strata] the engine stopped unexpectedly (exit code 1). Its last log line: strata verify: captured the batch window over slots 0,1 …
(Can split into a separate issue if you prefer.)

Happy to run variants (STRATA_RING_BYTES=0 / --resident-budget-gib instead of --kv-resident / a debug build) — box available.

Originally created by @uptou888 on GitHub (Oct 6, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/1008 Environment: same box, same model, same config for both versions. Linux + AMD HIP (ROCm from host), 2× Radeon AI PRO R9700 32GB (gfx1201), 3970x, 128 GB RAM. Model Qwen3.8-Flash-Next IQ3_S (local pack) + MTP. Args: --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5 --max-context 262144 --kv int8 --kv-resident 32768, STRATA_HIP_WMMA=1 STRATA_SELECT_WMMA=1, "parallel": 1. decode (128-token runs, 30K/60K/120K/239K prompts): 0.1.39: 63.7 / 53.0 / 54.3 / 49.9 t/s 0.1.38: 72.3 / 64.3 / 67.1 / 58.5 t/s (-15% … -23%) prefill (same prompts): 0.1.39: 3290 / 3882 / 4289 / 4264 t/s 0.1.38: 3282 / 3872 / 4276 / 4251 t/s (identical) chat: reason 54.2 → 60.6 t/s, creative 52.1 → 55.7 t/s, repeat 95.7 → 97.6 t/s. Draft acceptance unchanged (88/60/59% vs 90/61/61%) ⇒ not a speculation effect. Cross-check: a second machine (same GPUs, 0.1.38) reproduces 72.9 / 64.4 / 67.1 / 58.4 ⇒ the regression is version-specific. Your notes say the zero-doorbell verify runs only when every expert of a layer is in VRAM and that big cards were not measured; here every expert is in VRAM (2×32 GB) and the AMD path is untested by you ⇒ looks like a regression there. Also, with "parallel": 2 the engine exits 1 on the same box: [strata] the engine stopped unexpectedly (exit code 1). Its last log line: strata verify: captured the batch window over slots 0,1 … (Can split into a separate issue if you prefer.) Happy to run variants (STRATA_RING_BYTES=0 / --resident-budget-gib instead of --kv-resident / a debug build) — box available.
Author
Owner

@marat-365 commented on GitHub (Oct 6, 2026):

yep I asked claude to run the benchmark as per community guidelines and also compare 0.1.38 and 0.1.39 and I have same findings below

Community benchmark: RX 7900 XTX (Windows, HIP), Ryzen 7 7700, 64 GB RAM

Measured on 2026-10-05 and 2026-10-06 by marat365 on Windows 11. This tests four
models (the original Flash-Next IQ2_XS and Q2_0, the Coder IQ1_M and Swift 1.5 IQ2_XS) in the low-RAM resident mode
with a fixed RAM budget per model, one GPU, and a 131,072-token context limit. It compares the ready-made AMD
engines 0.1.39 and 0.1.38, both run by the same 0.1.39 server and scripts (commit 6f32ec0) with the same
configuration per model; only the engine binary differs.

Median decode throughput at 4,096, 32,768 and 128,000 prompt tokens:

Model (RAM budget) Engine 0.1.39 Engine 0.1.38 0.1.39 vs 0.1.38
Flash-Next IQ2_XS (18 GiB) 60.1-62.0 tok/s 76.5-81.5 tok/s -19% to -24%
Swift 1.5 IQ2_XS (18 GiB) 65.0-68.9 tok/s 78.9-83.3 tok/s -17% to -18%
Coder IQ1_M (12 GiB) 50.8-52.8 tok/s 64.4-65.7 tok/s -19% to -23%
Flash-Next Q2_0 (16 GiB) 42.8-47.7 tok/s 51.4-53.8 tok/s -9% to -20%

So engine 0.1.39 decoded 9-24% slower than 0.1.38 on this machine for every model and prompt length. Prompt
throughput differed by at most 9% between the engines, in both directions, for three models; for the Coder, 0.1.39 read prompts
22-31% slower (243-315 against 353-435 tok/s). Every model found all six needles at 32K and 128K with both engines.
These are the synthetic code-explanation requests of the
RTX 5090 report with greedy decoding and a 256-token output cap;
they do not establish general answer quality or performance on other workloads.

Hardware and software

  • AMD Radeon RX 7900 XTX (gfx1100), 24,560 MiB VRAM as the engine reports it; Windows budgeted 23,748 MiB of it to
    the process (engine log). Power settings at the AMD Software (Adrenalin) defaults; clocks not fixed. The engine's
    startup transfer probe reported 28.1-28.2 GB/s host-to-device; the PCIe link generation and width were not read.
  • The CPU's integrated Radeon graphics (unsupported, HIP device 0) was present; the engine ran on HIP device 1, the
    RX 7900 XTX ("gpu": 1 in the configuration).
  • AMD Ryzen 7 7700, 8 cores / 16 threads, AVX-512. The engine used 7 expert-pool workers plus its host thread.
  • 64 GB installed RAM (2x 32 GB Crucial CT32G48C40U5, DDR5-4800 as configured); Windows reported 63 GB.
    The page file is system-managed on two drives.
  • Model files on an AMD RAID 0 array of two Crucial T500 2 TB NVMe SSDs (PCIe 4.0), motherboard Gigabyte X670 GAMING
    X AX V2.
  • Windows 11 Pro 10.0.26200; AMD graphics driver 32.0.31041.1004 (2026-08-17).
  • Strata commit 6f32ec070f23ced9f50e704d854d775da52591ab (v0.1.39 plus later commits on main), Python 3.13.14;
    packages in python-packages.txt.
  • Engines: the release binaries strata-windows-x64-hip.zip of
    v0.1.39 (installed by UPDATE.bat) and
    v0.1.38 (unpacked into a separate folder), both
    ROCm 10.2.0a20260930, hipBLASLt 100500; see each folder's BUILD.json. SHA-256 of strata.exe:
    0.1.39 fe616b0f61b0ce1f18f37a9bd65542f883a64e78384230ffb42db927a59a6df2,
    0.1.38 4479127a360b4ee156aa600553b4a0f97e8c9516c44bf81c01690f6f5ac94920.
  • Background: a normal desktop session, not an isolated system. Chrome and Jellyfin Media Player may have been open
    (they held a few hundred MiB of VRAM in an earlier check); nothing else was using the GPU for compute.

Model and configuration

Model: ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF, revision ed59f92082b1e93c0e96d60a8b11aab089b52f09 (setup's
pinned revision):

  • IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00001-of-00002.gguf, 39,225,954,592 bytes, SHA-256
    92cee27ae5bbadcd732416a0f7a7f0acc092399dbbe8f5a5efa707c2ec0a49d7
  • IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf, 28,800,138,432 bytes, SHA-256
    316b46f3a2dbd68c900f43136ab9449f9dcc3725dfd8c794847c204bc161e113

Both hashes match the RTX 5090 report's verified hashes. The unmodified installer prepared the native pack and the
low-RAM experts.bin (packs/iq2_xs: dense.bin SHA-256 d2af3d83...6b13, experts.bin 35,454,976,000 bytes,
SHA-256 00cfaf10284a838e15e6f95277be7edac516909860d1d19074e77a375c4939c9). The bundled expert profile was used
(data/expert-profile.bin, SHA-256 8f59b4aa8873209dff11c11e37bcda9529a1335b724a1afeea37bf6388975baf). No vision
encoder.

Setup chose the low-RAM resident mode for this PC (--low-ram resident). Three settings were then changed by hand
to keep the engine's RAM use near 20 GB; they are identical for both engines:

Setting Setup's value Used here Why
RAM budget --resident-experts (all free RAM less 4 GB) --resident-budget-gib 18 a fixed RAM budget
Expert cache auto (shrank to 11.5 GiB on this PC) --expert-cache 10000 (10,501 slots, 14.07 GiB) fills the VRAM the auto sizing left free
File tier buffered STRATA_UNBUFFERED_LOAD=1 the OS file cache otherwise grew the working set
  • Context 131,072; INT8 KV; KV streaming with 32,768 cells per attention layer in VRAM, the rest (1.55 GiB) in
    pinned RAM.
  • 18.00 GiB of the 18.95 GiB of experts the GPU cache does not hold were kept in RAM (pageable,
    STRATA_RESIDENT_PIN=0 as setup wrote it); the rest are read from experts.bin unbuffered.
  • Prefill auto: chunks of 8,192 tokens. Engine 0.1.38 borrowed 3,146 cache slots (4.21 GiB) during a prompt;
    engine 0.1.39 borrowed 2,913 (3.90 GiB) and added a 96-slot streamed ring (its #583 default).
  • VRAM left free after loading: 1,852 MiB (0.1.38) and 1,511 MiB (0.1.39).
  • MTP --spec 4 --spec-min-p 0.5; suffix drafting on. Experimental speed projection off; no calibration.
  • Reasoning off ("reasoning_effort": "none"), temperature 0, 256 generated tokens per speed request.

The measured configurations are engine-0.1.39/strata-iq2_xs.json and
engine-0.1.38/strata-iq2_xs.json; they differ only in exe and lib_dirs.
Each engine folder has its engine log for the speed session (engine-speed.log) with every request's timing.

python serve/server.py --engine strata --config strata-iq2_xs.json --port 8080

(started through the generated run-iq2_xs.bat; "open_browser": false, host 127.0.0.1, no API key).

The other three models

Same setup procedure, the same three hand changes, and everything else as for IQ2_XS above; each was installed by
the unmodified installer with --low-ram resident. Their results are in the coder-iq1_m/, q2_0/ and
swift-iq2_xs/ folders, one engine-<version>/ folder per engine, with the configuration (strata-<model>.json)
and one engine log for the whole session (engine-speed-needles.log).

Model Repository and revision GGUF files (SHA-256)
Coder IQ1_M ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-Coder-GGUF 5348543e0147355ac9cbcb031184a3546350988e IQ1_M/...-IQ1_M-00001-of-00002.gguf 29,608,446,496 B e11083ba855e7666b48ea3f2db6a9c3a20c18751a012cc24f948de91b7087fad; -00002- 28,800,138,432 B 316b46f3a2dbd68c900f43136ab9449f9dcc3725dfd8c794847c204bc161e113
Flash-Next Q2_0 ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF ed59f92082b1e93c0e96d60a8b11aab089b52f09 Q2_0/...-Q2_0-00001-of-00002.gguf 37,623,740,192 B 69820c02ec7d0b45ef2ebb19d6620299db749fe2aded7f39f93c6b88b199b720; -00002- as above 316b46f3...e113
Swift 1.5 IQ2_XS ukisai/Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-GGUF b22d729eae29b5796f76fb70f91aef549b9fc52c Swift-...-IQ2_XS-00001-of-00002.gguf 39,788,473,344 B ca3b302d3d1eb6eddce3ea4acc79854e6cc5fdc0583e374a6a8b6bb67327743b; -00002- 28,363,693,824 B e4996a6de18fd49c58d9a0040fcfd73787db6407c51973f29884bee7b14c9dbb

All six hashes were computed locally and match the LFS hashes the Hugging Face API lists for those revisions.

Model RAM budget Experts not in the GPU cache Expert cache Prompt-path loan (0.1.39 / 0.1.38) VRAM free after loading (0.1.39 / 0.1.38)
Coder IQ1_M --resident-budget-gib 12 9.95 GiB (all fit the budget) --expert-cache 5433: 7,080 slots, 13.47 GiB 3.53 / 3.84 GiB 574 / 1,208 MiB
Flash-Next Q2_0 --resident-budget-gib 16 17.45 GiB --expert-cache 11019: 11,019 slots, 14.19 GiB 3.40 / 3.71 GiB 842 / 855 MiB
Swift 1.5 IQ2_XS --resident-budget-gib 18 18.95 GiB --expert-cache 10000: 10,501 slots, 14.07 GiB 3.90 / 4.21 GiB 1,258 / 1,236 MiB

The expert-cache values were chosen per model on the same machine so that about 0.5 GiB of VRAM stayed free after
loading with engine 0.1.38 and the default 0.1.38 prompt loan; --expert-cache N grants N times the model's largest
expert blob, so the slot counts differ from N.

Method

community_run.py runs both engines in turn: it points the configuration at one engine, starts
the server, waits for /health to report the model loaded, runs the speed and recall measurements, stops the
server, and restores the configuration. community_check.py checks that each engine has nine
speed runs and all six needle cases.

  • Speed: the RTX 5090 report's benchmark.py, unchanged, run with PYTHONUTF8=1 (on Windows its
    read_text() calls otherwise decode the tokenizer files as cp1252 and fail). It sends one warm-up request
    (excluded), then three runs each at 4,096, 32,768 and 128,000 prompt tokens, serially and in that order on the
    same loaded engine. Each prompt carries a different nonce before the filler, so all 18 speed requests read
    their whole prompt (zero reused tokens)
    . The expert cache was filled at startup and kept adapting between
    requests; the engine was restarted between the two engines only. Loading time is excluded (0.1.38: 14.5 s,
    0.1.39: 21.1 s from launch to loaded, model files already in the OS file cache).
  • TTFT is measured by the script at the client, from just before the HTTP request to the first nonempty text
    delta, over loopback; with reasoning off it is answer text. Prompt throughput is the engine's freshly read tokens
    divided by prompt_ms; decode throughput is engine_generated / decode_ms (MTP drafts included in the engine's
    count).
  • Recall: tools/needle_bench.py --lengths 32k,128k --depths 10,50,90. The needle cases share their filler, so
    the second and third case at each length reuse much of the prompt (visible in the shorter times).
  • Memory and power: res_mon.py sampled every 5 s: the engine process's working set and CPU time
    (psutil), and the card's dedicated VRAM use, GFX activity, board power and edge temperature through the AMD
    display library (atiadlxx.dll: ADL2_Adapter_DedicatedVRAMUsage_Get, ADL2_New_QueryPMLogData_Get). The
    board-power sensor index was identified by comparing idle (24 W) and load (220-316 W) readings, not from AMD
    documentation. Data in each folder's telemetry.csv.

Order of the sessions: the needle runs of both engines on 2026-10-05 from 23:00, then the speed runs of both
engines from 23:52 until 00:29 on 2026-10-06, then the last 0.1.38 needle case (finished 00:34). The first, scheduled speed
attempt failed at the tokenizer encoding before sending any request (see Failures).

The other three models ran unattended on 2026-10-06 with community_night.py: Coder 01:39-03:10,
Q2_0 03:10-04:42, Swift 04:42-06:16. For each model and engine it ran the speed measurement and then the needle
cases on the same loaded engine, checked the result with community_check.py, and would have rerun an incomplete
engine (it was not needed: each was complete on the first attempt). It kept Windows from sleeping with
SetThreadExecutionState. Load times (launch to loaded): Coder 16.1 s / 14.0 s, Q2_0 21.1 s / 15.5 s,
Swift 15.6 s / 14.0 s (0.1.39 / 0.1.38).

Results

Each cell is the median [minimum-maximum] of three runs. Every one of the 72 speed requests generated exactly
256 tokens (finish_reason: length) and reused 0 prompt tokens.

Flash-Next IQ2_XS (18 GiB RAM budget)

Engine Actual prompt tokens Reused tokens Generated tokens Runs Prompt tok/s Decode tok/s TTFT seconds
0.1.39 4,096 0 256 3 339 [315-343] 62.0 [52.4-63.6] 12.1 [12.0-13.0]
0.1.39 32,768 0 256 3 478 [467-478] 61.8 [59.3-70.0] 68.7 [68.7-70.3]
0.1.39 128,000 0 256 3 471 [463-471] 60.1 [58.6-60.4] 272.2 [271.9-276.6]
0.1.38 4,096 0 256 3 312 [274-342] 81.5 [66.4-87.1] 13.1 [12.0-15.0]
0.1.38 32,768 0 256 3 474 [459-480] 76.5 [69.4-77.5] 69.1 [68.3-71.4]
0.1.38 128,000 0 256 3 474 [470-477] 78.5 [77.6-80.6] 270.1 [268.4-272.3]

Total client latency across both engines: 4K 15.1-17.9 s, 32K 71.7-75.1 s, 128K 271.7-280.8 s (per run in each
results.json). Per-run engine timings, draft acceptance and output text are in engine-*/results.json;
summary.json has the medians.

Decode with 0.1.39 relative to 0.1.38 (medians): -24% at 4K, -19% at 32K, -23% at 128K. The two engines'
configurations and expert placement (10,501 GPU slots, 18 GiB in RAM) were the same. Whether their output texts are
identical was not checked; they are in each results.json.

Swift 1.5 IQ2_XS (18 GiB RAM budget)

Engine Actual prompt tokens Reused tokens Generated tokens Runs Prompt tok/s Decode tok/s TTFT seconds
0.1.39 4,096 0 256 3 250 [243-254] 65.0 [55.4-68.6] 16.4 [16.2-17.0]
0.1.39 32,768 0 256 3 346 [346-348] 65.4 [65.2-66.1] 94.7 [94.2-94.9]
0.1.39 128,000 0 256 3 348 [347-349] 68.9 [62.6-69.1] 367.6 [367.3-369.0]
0.1.38 4,096 0 256 3 258 [243-260] 78.9 [62.8-79.0] 15.9 [15.8-16.9]
0.1.38 32,768 0 256 3 357 [355-358] 79.5 [78.4-79.6] 92.0 [91.6-92.4]
0.1.38 128,000 0 256 3 334 [333-338] 83.3 [74.2-84.5] 383.9 [378.4-384.6]

Coder IQ1_M (12 GiB RAM budget)

Engine Actual prompt tokens Reused tokens Generated tokens Runs Prompt tok/s Decode tok/s TTFT seconds
0.1.39 4,096 0 256 3 243 [233-244] 52.8 [47.7-55.0] 16.9 [16.8-17.6]
0.1.39 32,768 0 256 3 315 [314-316] 51.3 [50.0-58.7] 104.2 [103.7-104.5]
0.1.39 128,000 0 256 3 314 [306-315] 50.8 [48.6-58.1] 407.9 [405.9-418.8]
0.1.38 4,096 0 256 3 353 [329-353] 65.3 [60.3-67.8] 11.6 [11.6-12.5]
0.1.38 32,768 0 256 3 435 [434-437] 64.4 [60.3-72.3] 75.4 [75.1-75.6]
0.1.38 128,000 0 256 3 405 [405-406] 65.7 [60.7-66.3] 316.4 [315.4-316.6]

Flash-Next Q2_0 (16 GiB RAM budget)

Engine Actual prompt tokens Reused tokens Generated tokens Runs Prompt tok/s Decode tok/s TTFT seconds
0.1.39 4,096 0 256 3 209 [198-209] 42.8 [42.8-46.5] 19.7 [19.6-20.7]
0.1.39 32,768 0 256 3 351 [350-352] 47.7 [44.5-49.9] 93.5 [93.3-93.8]
0.1.39 128,000 0 256 3 352 [352-355] 44.5 [43.4-47.4] 363.4 [360.9-363.8]
0.1.38 4,096 0 256 3 222 [215-224] 53.8 [45.8-56.1] 18.5 [18.3-19.1]
0.1.38 32,768 0 256 3 368 [368-372] 52.6 [51.5-52.9] 89.1 [88.2-89.1]
0.1.38 128,000 0 256 3 348 [347-348] 51.4 [50.6-51.6] 368.1 [367.7-369.1]

The three later models read prompts slower than IQ2_XS (about 350 against 470 tok/s at 32K and 128K) and Q2_0
decoded slowest here, although Q2_0 is the smallest download. This report does not establish why; the models ran
later in the night with different RAM budgets, and Q2_0 keeps 1.45 GiB of its experts outside RAM.

An earlier, smaller A/B on the same machine (not part of this report's data; three short prompts per run) found no
engine 0.1.39 setting that restored the decode speed: STRATA_DEC_BATCH=0, STRATA_GR_FAST=0,
STRATA_PLE_BATCH=0, STRATA_MMVQ_WAVE=0, STRATA_HIP_ROUTER_FAST=1 and STRATA_RING_BYTES=0 each gave
55-60 tok/s against 81 tok/s with 0.1.38.

Memory and power (5 s samples over each engine's sessions, model loaded):

Model Engine Engine RAM (working set) Dedicated VRAM Board power GFX activity Engine CPU (of 16 threads) Edge temperature
IQ2_XS 0.1.39 19.3 GiB avg, 20.0 GiB peak 23.0 GiB avg, 23.9 GiB peak 240 W avg, 415 W peak 73% avg 78% avg 60 °C avg, 70 °C peak
IQ2_XS 0.1.38 19.3 GiB avg, 20.0 GiB peak 22.6 GiB avg, 23.2 GiB peak 242 W avg, 392 W peak 73% avg 81% avg 61 °C avg, 70 °C peak
Swift IQ2_XS 0.1.39 19.7 GiB avg, 20.1 GiB peak 23.2 GiB avg, 23.2 GiB peak 237 W avg, 344 W peak 84% avg 93% avg 63 °C avg, 65 °C peak
Swift IQ2_XS 0.1.38 19.6 GiB avg, 20.1 GiB peak 23.0 GiB avg, 23.0 GiB peak 236 W avg, 451 W peak 84% avg 93% avg 62 °C avg, 64 °C peak
Coder IQ1_M 0.1.39 12.3 GiB avg, 12.7 GiB peak 23.0 GiB avg, 23.2 GiB peak 247 W avg, 365 W peak 89% avg 89% avg 65 °C avg, 68 °C peak
Coder IQ1_M 0.1.38 12.2 GiB avg, 12.6 GiB peak 22.9 GiB avg, 22.9 GiB peak 263 W avg, 325 W peak 89% avg 90% avg 66 °C avg, 69 °C peak
Q2_0 0.1.39 17.6 GiB avg, 18.0 GiB peak 23.1 GiB avg, 23.2 GiB peak 239 W avg, 426 W peak 86% avg 92% avg 63 °C avg, 66 °C peak
Q2_0 0.1.38 17.5 GiB avg, 17.9 GiB peak 22.9 GiB avg, 23.0 GiB peak 239 W avg, 353 W peak 87% avg 92% avg 63 °C avg, 66 °C peak

Units: GiB (2^30 bytes). The CSV column strata_ram_gb holds GiB (working set / 2^30) and vram_mib MiB of
dedicated VRAM in use on the card by all processes (the desktop's share included). No paging or out-of-memory
failure occurred. The
samples include the needle sessions, whose 128K prompts dominate the time; prompt reading keeps the CPU busy
(expert misses are computed on the CPU in this mode).

Correctness and limitations

  • Needles: 6 of 6 found by every model with each engine (IQ2_XS 32K: 32,171-32,172 prompt tokens; 128K:
    125,449-125,451), in */engine-*/needles*.json and needles*-stdout.txt. The 0.1.38 needle session was interrupted before its last case
    (the process ended at 23:41 for an unknown external reason; Windows Task Scheduler reported -1); that case
    (128K, depth 90) was rerun alone and found (needles-128k-90.*). The interrupted session's engine log was not
    saved; engine-needles.log in the 0.1.38 folder is the rerun's.
  • Failures: the first speed attempt of both engines (the scheduled run at 23:00) failed before its first request
    with UnicodeDecodeError in benchmark.py's read_text() (Windows' default cp1252); no timing came from it. The
    rerun with PYTHONUTF8=1 completed all 18 requests.
  • One machine, one hand-tuned low-RAM configuration per model (12-18 GiB RAM budgets). With setup's default
    --resident-experts the numbers will differ. The models were measured at different times of the night, not
    interleaved, so comparisons between models are weaker than the same-session comparison between the two engines. Short-prompt decode varied most: the first 4K run was the slowest
    with both engines (0.1.39: 52.4 tok/s, 0.1.38: 66.4 tok/s, against 62-64 and 81-87 in the two later runs).
  • Speed requests generate 256 tokens; long answers (thinking) were not timed here. The text is a synthetic code
    explanation; no answer-quality claim is made from it.
  • The PCIe link width and generation, GPU clocks and the exact background load were not recorded.
<!-- gh-comment-id:6008163800 --> @marat-365 commented on GitHub (Oct 6, 2026): yep I asked claude to run the benchmark as per community guidelines and also compare 0.1.38 and 0.1.39 and I have same findings below # Community benchmark: RX 7900 XTX (Windows, HIP), Ryzen 7 7700, 64 GB RAM Measured on 2026-10-05 and 2026-10-06 by [marat365](https://github.com/marat365) on Windows 11. This tests four models (the original Flash-Next IQ2_XS and Q2_0, the Coder IQ1_M and Swift 1.5 IQ2_XS) in the low-RAM resident mode with a fixed RAM budget per model, one GPU, and a 131,072-token context limit. It compares the ready-made AMD engines **0.1.39** and **0.1.38**, both run by the same 0.1.39 server and scripts (commit `6f32ec0`) with the same configuration per model; only the engine binary differs. Median decode throughput at 4,096, 32,768 and 128,000 prompt tokens: | Model (RAM budget) | Engine 0.1.39 | Engine 0.1.38 | 0.1.39 vs 0.1.38 | | --- | --- | --- | --- | | Flash-Next IQ2_XS (18 GiB) | 60.1-62.0 tok/s | 76.5-81.5 tok/s | -19% to -24% | | Swift 1.5 IQ2_XS (18 GiB) | 65.0-68.9 tok/s | 78.9-83.3 tok/s | -17% to -18% | | Coder IQ1_M (12 GiB) | 50.8-52.8 tok/s | 64.4-65.7 tok/s | -19% to -23% | | Flash-Next Q2_0 (16 GiB) | 42.8-47.7 tok/s | 51.4-53.8 tok/s | -9% to -20% | So engine 0.1.39 decoded 9-24% slower than 0.1.38 on this machine for every model and prompt length. Prompt throughput differed by at most 9% between the engines, in both directions, for three models; for the Coder, 0.1.39 read prompts 22-31% slower (243-315 against 353-435 tok/s). Every model found all six needles at 32K and 128K with both engines. These are the synthetic code-explanation requests of the [RTX 5090 report](../2026-09-30-community-rtx-5090/README.md) with greedy decoding and a 256-token output cap; they do not establish general answer quality or performance on other workloads. ## Hardware and software - AMD Radeon RX 7900 XTX (gfx1100), 24,560 MiB VRAM as the engine reports it; Windows budgeted 23,748 MiB of it to the process (engine log). Power settings at the AMD Software (Adrenalin) defaults; clocks not fixed. The engine's startup transfer probe reported 28.1-28.2 GB/s host-to-device; the PCIe link generation and width were not read. - The CPU's integrated Radeon graphics (unsupported, HIP device 0) was present; the engine ran on HIP device 1, the RX 7900 XTX (`"gpu": 1` in the configuration). - AMD Ryzen 7 7700, 8 cores / 16 threads, AVX-512. The engine used 7 expert-pool workers plus its host thread. - 64 GB installed RAM (2x 32 GB Crucial CT32G48C40U5, DDR5-4800 as configured); Windows reported 63 GB. The page file is system-managed on two drives. - Model files on an AMD RAID 0 array of two Crucial T500 2 TB NVMe SSDs (PCIe 4.0), motherboard Gigabyte X670 GAMING X AX V2. - Windows 11 Pro 10.0.26200; AMD graphics driver 32.0.31041.1004 (2026-08-17). - Strata commit `6f32ec070f23ced9f50e704d854d775da52591ab` (v0.1.39 plus later commits on `main`), Python 3.13.14; packages in [python-packages.txt](python-packages.txt). - Engines: the release binaries `strata-windows-x64-hip.zip` of [v0.1.39](https://github.com/Niko1221/Strata/releases/tag/v0.1.39) (installed by `UPDATE.bat`) and [v0.1.38](https://github.com/Niko1221/Strata/releases/tag/v0.1.38) (unpacked into a separate folder), both ROCm 10.2.0a20260930, hipBLASLt 100500; see each folder's `BUILD.json`. SHA-256 of `strata.exe`: 0.1.39 `fe616b0f61b0ce1f18f37a9bd65542f883a64e78384230ffb42db927a59a6df2`, 0.1.38 `4479127a360b4ee156aa600553b4a0f97e8c9516c44bf81c01690f6f5ac94920`. - Background: a normal desktop session, not an isolated system. Chrome and Jellyfin Media Player may have been open (they held a few hundred MiB of VRAM in an earlier check); nothing else was using the GPU for compute. ## Model and configuration Model: `ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF`, revision `ed59f92082b1e93c0e96d60a8b11aab089b52f09` (setup's pinned revision): - `IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00001-of-00002.gguf`, 39,225,954,592 bytes, SHA-256 `92cee27ae5bbadcd732416a0f7a7f0acc092399dbbe8f5a5efa707c2ec0a49d7` - `IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00002-of-00002.gguf`, 28,800,138,432 bytes, SHA-256 `316b46f3a2dbd68c900f43136ab9449f9dcc3725dfd8c794847c204bc161e113` Both hashes match the RTX 5090 report's verified hashes. The unmodified installer prepared the native pack and the low-RAM `experts.bin` (`packs/iq2_xs`: `dense.bin` SHA-256 `d2af3d83...6b13`, `experts.bin` 35,454,976,000 bytes, SHA-256 `00cfaf10284a838e15e6f95277be7edac516909860d1d19074e77a375c4939c9`). The bundled expert profile was used (`data/expert-profile.bin`, SHA-256 `8f59b4aa8873209dff11c11e37bcda9529a1335b724a1afeea37bf6388975baf`). No vision encoder. Setup chose the low-RAM resident mode for this PC (`--low-ram resident`). Three settings were then changed by hand to keep the engine's RAM use near 20 GB; they are identical for both engines: | Setting | Setup's value | Used here | Why | | --- | --- | --- | --- | | RAM budget | `--resident-experts` (all free RAM less 4 GB) | `--resident-budget-gib 18` | a fixed RAM budget | | Expert cache | `auto` (shrank to 11.5 GiB on this PC) | `--expert-cache 10000` (10,501 slots, 14.07 GiB) | fills the VRAM the auto sizing left free | | File tier | buffered | `STRATA_UNBUFFERED_LOAD=1` | the OS file cache otherwise grew the working set | - Context 131,072; INT8 KV; KV streaming with 32,768 cells per attention layer in VRAM, the rest (1.55 GiB) in pinned RAM. - 18.00 GiB of the 18.95 GiB of experts the GPU cache does not hold were kept in RAM (pageable, `STRATA_RESIDENT_PIN=0` as setup wrote it); the rest are read from `experts.bin` unbuffered. - Prefill `auto`: chunks of 8,192 tokens. Engine 0.1.38 borrowed 3,146 cache slots (4.21 GiB) during a prompt; engine 0.1.39 borrowed 2,913 (3.90 GiB) and added a 96-slot streamed ring (its #583 default). - VRAM left free after loading: 1,852 MiB (0.1.38) and 1,511 MiB (0.1.39). - MTP `--spec 4 --spec-min-p 0.5`; suffix drafting on. Experimental speed projection off; no calibration. - Reasoning off (`"reasoning_effort": "none"`), temperature 0, 256 generated tokens per speed request. The measured configurations are [engine-0.1.39/strata-iq2_xs.json](engine-0.1.39/strata-iq2_xs.json) and [engine-0.1.38/strata-iq2_xs.json](engine-0.1.38/strata-iq2_xs.json); they differ only in `exe` and `lib_dirs`. Each engine folder has its engine log for the speed session (`engine-speed.log`) with every request's timing. ```text python serve/server.py --engine strata --config strata-iq2_xs.json --port 8080 ``` (started through the generated `run-iq2_xs.bat`; `"open_browser": false`, host 127.0.0.1, no API key). ### The other three models Same setup procedure, the same three hand changes, and everything else as for IQ2_XS above; each was installed by the unmodified installer with `--low-ram resident`. Their results are in the `coder-iq1_m/`, `q2_0/` and `swift-iq2_xs/` folders, one `engine-<version>/` folder per engine, with the configuration (`strata-<model>.json`) and one engine log for the whole session (`engine-speed-needles.log`). | Model | Repository and revision | GGUF files (SHA-256) | | --- | --- | --- | | Coder IQ1_M | `ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-Coder-GGUF` `5348543e0147355ac9cbcb031184a3546350988e` | `IQ1_M/...-IQ1_M-00001-of-00002.gguf` 29,608,446,496 B `e11083ba855e7666b48ea3f2db6a9c3a20c18751a012cc24f948de91b7087fad`; `-00002-` 28,800,138,432 B `316b46f3a2dbd68c900f43136ab9449f9dcc3725dfd8c794847c204bc161e113` | | Flash-Next Q2_0 | `ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF` `ed59f92082b1e93c0e96d60a8b11aab089b52f09` | `Q2_0/...-Q2_0-00001-of-00002.gguf` 37,623,740,192 B `69820c02ec7d0b45ef2ebb19d6620299db749fe2aded7f39f93c6b88b199b720`; `-00002-` as above `316b46f3...e113` | | Swift 1.5 IQ2_XS | `ukisai/Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-GGUF` `b22d729eae29b5796f76fb70f91aef549b9fc52c` | `Swift-...-IQ2_XS-00001-of-00002.gguf` 39,788,473,344 B `ca3b302d3d1eb6eddce3ea4acc79854e6cc5fdc0583e374a6a8b6bb67327743b`; `-00002-` 28,363,693,824 B `e4996a6de18fd49c58d9a0040fcfd73787db6407c51973f29884bee7b14c9dbb` | All six hashes were computed locally and match the LFS hashes the Hugging Face API lists for those revisions. | Model | RAM budget | Experts not in the GPU cache | Expert cache | Prompt-path loan (0.1.39 / 0.1.38) | VRAM free after loading (0.1.39 / 0.1.38) | | --- | --- | --- | --- | --- | --- | | Coder IQ1_M | `--resident-budget-gib 12` | 9.95 GiB (all fit the budget) | `--expert-cache 5433`: 7,080 slots, 13.47 GiB | 3.53 / 3.84 GiB | 574 / 1,208 MiB | | Flash-Next Q2_0 | `--resident-budget-gib 16` | 17.45 GiB | `--expert-cache 11019`: 11,019 slots, 14.19 GiB | 3.40 / 3.71 GiB | 842 / 855 MiB | | Swift 1.5 IQ2_XS | `--resident-budget-gib 18` | 18.95 GiB | `--expert-cache 10000`: 10,501 slots, 14.07 GiB | 3.90 / 4.21 GiB | 1,258 / 1,236 MiB | The expert-cache values were chosen per model on the same machine so that about 0.5 GiB of VRAM stayed free after loading with engine 0.1.38 and the default 0.1.38 prompt loan; `--expert-cache N` grants N times the model's largest expert blob, so the slot counts differ from N. ## Method [community_run.py](community_run.py) runs both engines in turn: it points the configuration at one engine, starts the server, waits for `/health` to report the model loaded, runs the speed and recall measurements, stops the server, and restores the configuration. [community_check.py](community_check.py) checks that each engine has nine speed runs and all six needle cases. - **Speed:** the RTX 5090 report's [benchmark.py](benchmark.py), unchanged, run with `PYTHONUTF8=1` (on Windows its `read_text()` calls otherwise decode the tokenizer files as cp1252 and fail). It sends one warm-up request (excluded), then three runs each at 4,096, 32,768 and 128,000 prompt tokens, serially and in that order on the same loaded engine. Each prompt carries a different nonce before the filler, so **all 18 speed requests read their whole prompt (zero reused tokens)**. The expert cache was filled at startup and kept adapting between requests; the engine was restarted between the two engines only. Loading time is excluded (0.1.38: 14.5 s, 0.1.39: 21.1 s from launch to `loaded`, model files already in the OS file cache). - TTFT is measured by the script at the client, from just before the HTTP request to the first nonempty text delta, over loopback; with reasoning off it is answer text. Prompt throughput is the engine's freshly read tokens divided by `prompt_ms`; decode throughput is `engine_generated / decode_ms` (MTP drafts included in the engine's count). - **Recall:** `tools/needle_bench.py --lengths 32k,128k --depths 10,50,90`. The needle cases share their filler, so the second and third case at each length reuse much of the prompt (visible in the shorter times). - **Memory and power:** [res_mon.py](res_mon.py) sampled every 5 s: the engine process's working set and CPU time (psutil), and the card's dedicated VRAM use, GFX activity, board power and edge temperature through the AMD display library (`atiadlxx.dll`: `ADL2_Adapter_DedicatedVRAMUsage_Get`, `ADL2_New_QueryPMLogData_Get`). The board-power sensor index was identified by comparing idle (24 W) and load (220-316 W) readings, not from AMD documentation. Data in each folder's `telemetry.csv`. Order of the sessions: the needle runs of both engines on 2026-10-05 from 23:00, then the speed runs of both engines from 23:52 until 00:29 on 2026-10-06, then the last 0.1.38 needle case (finished 00:34). The first, scheduled speed attempt failed at the tokenizer encoding before sending any request (see Failures). The other three models ran unattended on 2026-10-06 with [community_night.py](community_night.py): Coder 01:39-03:10, Q2_0 03:10-04:42, Swift 04:42-06:16. For each model and engine it ran the speed measurement and then the needle cases on the same loaded engine, checked the result with `community_check.py`, and would have rerun an incomplete engine (it was not needed: each was complete on the first attempt). It kept Windows from sleeping with `SetThreadExecutionState`. Load times (launch to `loaded`): Coder 16.1 s / 14.0 s, Q2_0 21.1 s / 15.5 s, Swift 15.6 s / 14.0 s (0.1.39 / 0.1.38). ## Results Each cell is the median **[minimum-maximum]** of three runs. Every one of the 72 speed requests generated exactly 256 tokens (`finish_reason: length`) and reused 0 prompt tokens. ### Flash-Next IQ2_XS (18 GiB RAM budget) | Engine | Actual prompt tokens | Reused tokens | Generated tokens | Runs | Prompt tok/s | Decode tok/s | TTFT seconds | | --- | ---: | ---: | ---: | ---: | --- | --- | --- | | 0.1.39 | 4,096 | 0 | 256 | 3 | 339 [315-343] | 62.0 [52.4-63.6] | 12.1 [12.0-13.0] | | 0.1.39 | 32,768 | 0 | 256 | 3 | 478 [467-478] | 61.8 [59.3-70.0] | 68.7 [68.7-70.3] | | 0.1.39 | 128,000 | 0 | 256 | 3 | 471 [463-471] | 60.1 [58.6-60.4] | 272.2 [271.9-276.6] | | 0.1.38 | 4,096 | 0 | 256 | 3 | 312 [274-342] | 81.5 [66.4-87.1] | 13.1 [12.0-15.0] | | 0.1.38 | 32,768 | 0 | 256 | 3 | 474 [459-480] | 76.5 [69.4-77.5] | 69.1 [68.3-71.4] | | 0.1.38 | 128,000 | 0 | 256 | 3 | 474 [470-477] | 78.5 [77.6-80.6] | 270.1 [268.4-272.3] | Total client latency across both engines: 4K 15.1-17.9 s, 32K 71.7-75.1 s, 128K 271.7-280.8 s (per run in each `results.json`). Per-run engine timings, draft acceptance and output text are in `engine-*/results.json`; `summary.json` has the medians. Decode with 0.1.39 relative to 0.1.38 (medians): -24% at 4K, -19% at 32K, -23% at 128K. The two engines' configurations and expert placement (10,501 GPU slots, 18 GiB in RAM) were the same. Whether their output texts are identical was not checked; they are in each `results.json`. ### Swift 1.5 IQ2_XS (18 GiB RAM budget) | Engine | Actual prompt tokens | Reused tokens | Generated tokens | Runs | Prompt tok/s | Decode tok/s | TTFT seconds | | --- | ---: | ---: | ---: | ---: | --- | --- | --- | | 0.1.39 | 4,096 | 0 | 256 | 3 | 250 [243-254] | 65.0 [55.4-68.6] | 16.4 [16.2-17.0] | | 0.1.39 | 32,768 | 0 | 256 | 3 | 346 [346-348] | 65.4 [65.2-66.1] | 94.7 [94.2-94.9] | | 0.1.39 | 128,000 | 0 | 256 | 3 | 348 [347-349] | 68.9 [62.6-69.1] | 367.6 [367.3-369.0] | | 0.1.38 | 4,096 | 0 | 256 | 3 | 258 [243-260] | 78.9 [62.8-79.0] | 15.9 [15.8-16.9] | | 0.1.38 | 32,768 | 0 | 256 | 3 | 357 [355-358] | 79.5 [78.4-79.6] | 92.0 [91.6-92.4] | | 0.1.38 | 128,000 | 0 | 256 | 3 | 334 [333-338] | 83.3 [74.2-84.5] | 383.9 [378.4-384.6] | ### Coder IQ1_M (12 GiB RAM budget) | Engine | Actual prompt tokens | Reused tokens | Generated tokens | Runs | Prompt tok/s | Decode tok/s | TTFT seconds | | --- | ---: | ---: | ---: | ---: | --- | --- | --- | | 0.1.39 | 4,096 | 0 | 256 | 3 | 243 [233-244] | 52.8 [47.7-55.0] | 16.9 [16.8-17.6] | | 0.1.39 | 32,768 | 0 | 256 | 3 | 315 [314-316] | 51.3 [50.0-58.7] | 104.2 [103.7-104.5] | | 0.1.39 | 128,000 | 0 | 256 | 3 | 314 [306-315] | 50.8 [48.6-58.1] | 407.9 [405.9-418.8] | | 0.1.38 | 4,096 | 0 | 256 | 3 | 353 [329-353] | 65.3 [60.3-67.8] | 11.6 [11.6-12.5] | | 0.1.38 | 32,768 | 0 | 256 | 3 | 435 [434-437] | 64.4 [60.3-72.3] | 75.4 [75.1-75.6] | | 0.1.38 | 128,000 | 0 | 256 | 3 | 405 [405-406] | 65.7 [60.7-66.3] | 316.4 [315.4-316.6] | ### Flash-Next Q2_0 (16 GiB RAM budget) | Engine | Actual prompt tokens | Reused tokens | Generated tokens | Runs | Prompt tok/s | Decode tok/s | TTFT seconds | | --- | ---: | ---: | ---: | ---: | --- | --- | --- | | 0.1.39 | 4,096 | 0 | 256 | 3 | 209 [198-209] | 42.8 [42.8-46.5] | 19.7 [19.6-20.7] | | 0.1.39 | 32,768 | 0 | 256 | 3 | 351 [350-352] | 47.7 [44.5-49.9] | 93.5 [93.3-93.8] | | 0.1.39 | 128,000 | 0 | 256 | 3 | 352 [352-355] | 44.5 [43.4-47.4] | 363.4 [360.9-363.8] | | 0.1.38 | 4,096 | 0 | 256 | 3 | 222 [215-224] | 53.8 [45.8-56.1] | 18.5 [18.3-19.1] | | 0.1.38 | 32,768 | 0 | 256 | 3 | 368 [368-372] | 52.6 [51.5-52.9] | 89.1 [88.2-89.1] | | 0.1.38 | 128,000 | 0 | 256 | 3 | 348 [347-348] | 51.4 [50.6-51.6] | 368.1 [367.7-369.1] | The three later models read prompts slower than IQ2_XS (about 350 against 470 tok/s at 32K and 128K) and Q2_0 decoded slowest here, although Q2_0 is the smallest download. This report does not establish why; the models ran later in the night with different RAM budgets, and Q2_0 keeps 1.45 GiB of its experts outside RAM. An earlier, smaller A/B on the same machine (not part of this report's data; three short prompts per run) found no engine 0.1.39 setting that restored the decode speed: `STRATA_DEC_BATCH=0`, `STRATA_GR_FAST=0`, `STRATA_PLE_BATCH=0`, `STRATA_MMVQ_WAVE=0`, `STRATA_HIP_ROUTER_FAST=1` and `STRATA_RING_BYTES=0` each gave 55-60 tok/s against 81 tok/s with 0.1.38. **Memory and power** (5 s samples over each engine's sessions, model loaded): | Model | Engine | Engine RAM (working set) | Dedicated VRAM | Board power | GFX activity | Engine CPU (of 16 threads) | Edge temperature | | --- | --- | --- | --- | --- | --- | --- | --- | | IQ2_XS | 0.1.39 | 19.3 GiB avg, 20.0 GiB peak | 23.0 GiB avg, 23.9 GiB peak | 240 W avg, 415 W peak | 73% avg | 78% avg | 60 °C avg, 70 °C peak | | IQ2_XS | 0.1.38 | 19.3 GiB avg, 20.0 GiB peak | 22.6 GiB avg, 23.2 GiB peak | 242 W avg, 392 W peak | 73% avg | 81% avg | 61 °C avg, 70 °C peak | | Swift IQ2_XS | 0.1.39 | 19.7 GiB avg, 20.1 GiB peak | 23.2 GiB avg, 23.2 GiB peak | 237 W avg, 344 W peak | 84% avg | 93% avg | 63 °C avg, 65 °C peak | | Swift IQ2_XS | 0.1.38 | 19.6 GiB avg, 20.1 GiB peak | 23.0 GiB avg, 23.0 GiB peak | 236 W avg, 451 W peak | 84% avg | 93% avg | 62 °C avg, 64 °C peak | | Coder IQ1_M | 0.1.39 | 12.3 GiB avg, 12.7 GiB peak | 23.0 GiB avg, 23.2 GiB peak | 247 W avg, 365 W peak | 89% avg | 89% avg | 65 °C avg, 68 °C peak | | Coder IQ1_M | 0.1.38 | 12.2 GiB avg, 12.6 GiB peak | 22.9 GiB avg, 22.9 GiB peak | 263 W avg, 325 W peak | 89% avg | 90% avg | 66 °C avg, 69 °C peak | | Q2_0 | 0.1.39 | 17.6 GiB avg, 18.0 GiB peak | 23.1 GiB avg, 23.2 GiB peak | 239 W avg, 426 W peak | 86% avg | 92% avg | 63 °C avg, 66 °C peak | | Q2_0 | 0.1.38 | 17.5 GiB avg, 17.9 GiB peak | 22.9 GiB avg, 23.0 GiB peak | 239 W avg, 353 W peak | 87% avg | 92% avg | 63 °C avg, 66 °C peak | Units: GiB (2^30 bytes). The CSV column `strata_ram_gb` holds GiB (working set / 2^30) and `vram_mib` MiB of dedicated VRAM in use on the card by all processes (the desktop's share included). No paging or out-of-memory failure occurred. The samples include the needle sessions, whose 128K prompts dominate the time; prompt reading keeps the CPU busy (expert misses are computed on the CPU in this mode). ## Correctness and limitations - **Needles:** 6 of 6 found by every model with each engine (IQ2_XS 32K: 32,171-32,172 prompt tokens; 128K: 125,449-125,451), in `*/engine-*/needles*.json` and `needles*-stdout.txt`. The 0.1.38 needle session was interrupted before its last case (the process ended at 23:41 for an unknown external reason; Windows Task Scheduler reported -1); that case (128K, depth 90) was rerun alone and found (`needles-128k-90.*`). The interrupted session's engine log was not saved; `engine-needles.log` in the 0.1.38 folder is the rerun's. - **Failures:** the first speed attempt of both engines (the scheduled run at 23:00) failed before its first request with `UnicodeDecodeError` in `benchmark.py`'s `read_text()` (Windows' default cp1252); no timing came from it. The rerun with `PYTHONUTF8=1` completed all 18 requests. - One machine, one hand-tuned low-RAM configuration per model (12-18 GiB RAM budgets). With setup's default `--resident-experts` the numbers will differ. The models were measured at different times of the night, not interleaved, so comparisons between models are weaker than the same-session comparison between the two engines. Short-prompt decode varied most: the first 4K run was the slowest with both engines (0.1.39: 52.4 tok/s, 0.1.38: 66.4 tok/s, against 62-64 and 81-87 in the two later runs). - Speed requests generate 256 tokens; long answers (thinking) were not timed here. The text is a synthetic code explanation; no answer-quality claim is made from it. - The PCIe link width and generation, GPU clocks and the exact background load were not recorded.
Author
Owner

@uptou888 commented on GitHub (Oct 6, 2026):

Follow-up after v0.1.40 — the regression is gone, and on both vendors the new version is a net win.

AMD (same box as the original report: 2× R9700 / gfx1201 / HIP, IQ3_S, 256K int8, WMMA, same scripts):
decode 30K/60K/120K/239K : 0.1.39 63.7/53.0/54.3/49.9 → 0.1.38 72.3/64.3/67.1/58.5 → 0.1.40 88.6/77.6/80.7/69.3 (+22% vs 0.1.38)
prefill (same prompts) : 0.1.38 3282/3872/4276/4251 → 0.1.40 3641/4148/4411/4341 (+9%)
chat reason / creative : 0.1.38 60.6·62.0 / 55.7·57.2 → 0.1.40 74.9·75.1 / 68.5·68.6
draft acceptance unchanged (90/62/61%) ⇒ not a speculation effect.

"parallel": 2 (the second half of my original report) now works:
both requests return 200, the engine stays up, /v1/status reports serving: 2.
(0.1.39: both 503, engine exit 1, last line "captured the batch window over slots 0,1".)
220-token requests: serial wall 6.7s vs 2-way wall 6.7s — no aggregate gain at that length, but the
second request no longer waits for the first. So the --batch-on-a-split fix (#776 / #845) lands exactly there.

NVIDIA for contrast (RTX 3080 Ti, sm_86, CUDA, same model, 262K on both sides):
prefill 32K/64K : 592/586 → 965/957 t/s (+63%)
decode 32K/64K : 38.7·45.2 / 43.5·42.5 → 42.5·46.3 / 44.3·44.3
chat repeat/reason/creative : 49.5·50.5 / 41.1·42.5 / 42.8·44.5 → 51.4·52.1 / 43.7·45.2 / 45.7·49.8
draft acceptance 90/73/76% → 96/81/80%

0.1.40 is what all our AMD and NVIDIA boxes run now. Thanks.

<!-- gh-comment-id:6016704773 --> @uptou888 commented on GitHub (Oct 6, 2026): Follow-up after v0.1.40 — the regression is gone, and on both vendors the new version is a net win. AMD (same box as the original report: 2× R9700 / gfx1201 / HIP, IQ3_S, 256K int8, WMMA, same scripts): decode 30K/60K/120K/239K : 0.1.39 63.7/53.0/54.3/49.9 → 0.1.38 72.3/64.3/67.1/58.5 → 0.1.40 88.6/77.6/80.7/69.3 (+22% vs 0.1.38) prefill (same prompts) : 0.1.38 3282/3872/4276/4251 → 0.1.40 3641/4148/4411/4341 (+9%) chat reason / creative : 0.1.38 60.6·62.0 / 55.7·57.2 → 0.1.40 74.9·75.1 / 68.5·68.6 draft acceptance unchanged (90/62/61%) ⇒ not a speculation effect. "parallel": 2 (the second half of my original report) now works: both requests return 200, the engine stays up, /v1/status reports serving: 2. (0.1.39: both 503, engine exit 1, last line "captured the batch window over slots 0,1".) 220-token requests: serial wall 6.7s vs 2-way wall 6.7s — no aggregate gain at that length, but the second request no longer waits for the first. So the --batch-on-a-split fix (#776 / #845) lands exactly there. NVIDIA for contrast (RTX 3080 Ti, sm_86, CUDA, same model, 262K on both sides): prefill 32K/64K : 592/586 → 965/957 t/s (+63%) decode 32K/64K : 38.7·45.2 / 43.5·42.5 → 42.5·46.3 / 44.3·44.3 chat repeat/reason/creative : 49.5·50.5 / 41.1·42.5 / 42.8·44.5 → 51.4·52.1 / 43.7·45.2 / 45.7·49.8 draft acceptance 90/73/76% → 96/81/80% 0.1.40 is what all our AMD and NVIDIA boxes run now. Thanks.
Author
Owner

@Niko1221 commented on GitHub (Oct 7, 2026):

Thanks for the careful A/B. Please rerun on 0.1.40 (the shared-expert stream is off on HIP there, #826). If the gap is still there, one run each with STRATA_VERIFY_ALL_RESIDENT=0 and with STRATA_RING_BYTES=0 on the same four prompt lengths would show whether it is the all-resident path or the ring. Same ask as in #953.

<!-- gh-comment-id:6037942244 --> @Niko1221 commented on GitHub (Oct 7, 2026): Thanks for the careful A/B. Please rerun on 0.1.40 (the shared-expert stream is off on HIP there, #826). If the gap is still there, one run each with STRATA_VERIFY_ALL_RESIDENT=0 and with STRATA_RING_BYTES=0 on the same four prompt lengths would show whether it is the all-resident path or the ring. Same ask as in #953.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#440
No description provided.