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
4 folders4 files

files

analysis/
provenance/
raw/
scripts/
README.md18.2 KiB
REPRODUCE.md7.9 KiB
SHA256SUMS4.5 KiB
TRIMMED.md996 B

Community benchmark: EVO-X2, Ryzen AI Max+ 395 / Radeon 8060S (gfx1151), 128 GB UMA

Measured on 2026-10-09 by libratechw, using unmodified Strata v0.1.41 (fb58e0dbc8399662c0e47c76578c6e878b14f6cf) and Unsloth UD-IQ4_XS. This adds a same-day default/fast long-prompt comparison, two repetitions of the existing 69-task correctness suite, the official needle probe, and parallel-request checks relevant to #1356.

The default path scored 65/69 in both passes, with identical generated content on all 69 tasks. At 128,000 prompt tokens, the fast configuration measured 1,108.6 prompt tok/s and 47.5 decode tok/s (three-run medians), against 617.4 and 42.1 on the default configuration.

These are small synthetic checks. The correctness score is neither HumanEval nor an agent benchmark, and the fast arm was measured for speed only.

Relation to other Strix Halo reports

2026-10-05-community-gfx1151 (#917) used the same CPU/GPU class on 0.1.39 with unmerged PRs, to isolate the hipBLASLt tuning table (250.9 to 528.9 prompt tok/s), dense MMQ and the shared-expert stream. This report starts after those landed: the gfx1151/100401 table is bundled with 0.1.41 and used in every arm here, so it is not re-measured. It adds the default versus documented fast configuration on 0.1.41, the 69-task correctness suite, recall up to the native window, and the parallel checks.

The maintainers' STRIX_HALO.md section 6 lists UD-IQ4_XS at 128K as 1,320 prompt tok/s and 51.4 output tok/s for the fast configuration (their prompts and method), and 1,299 and 50.7 re-measured on the merged 0.1.40 code with no environment switches at all. The fast arm here sets all nine section 5 switches and measured 1,108.6 and 47.5; the default arm measured 617.4 and 42.1. This report did not isolate the cause of the gaps. Differences that could contribute include the prompts, the engine version, this report's memory plan (the fast arm lends 2,939 cache slots to the prompt path, see below), 97 °C peak temperatures and background host processes. The numbers are not a like-for-like comparison, and this report cannot say whether its fast arm is the best result for this configuration.

Hardware and software

Model and configuration

Exact preparation/build/run commands are in REPRODUCE.md. The server configuration and explicit environment of each arm, and the command and return code of each stage, are in raw/. The batch test's own environment (STRATA_QFUSE=1, BATCH_TEST_LOG) is set in measure.py. The engine startup logs of the two long-sweep arms (default, fast) show the cache size, worker placement and the prefill-borrow warning quoted here.

The engine clamps the requested CPU resident budget to currently available RAM after allocating the GPU expert cache; the resulting separate CPU expert complement is still zero because all experts fit in that cache. The fast arm also warns that its 16,384-token prefill lends 2,939 cache slots to the prompt path without a resident CPU copy of those experts, so they must be read from the files. It tests the documented fast switches/flags with this explicit memory plan, not an exhaustive search for the best plan on 128 GB UMA.

Method

The P40 report's script supplies the unchanged tasks, graders and request settings; quality.py only isolates execution of generated Python. Temperature 0, top_k 1, top_p 1, seed 1, thinking off. Output caps are unchanged (reasoning 1,024, code 1,500, tools 512, completeness 512/1,024/2,048, recall 200). Two complete 69-task passes use the same server. The three P40 speed tasks run first, three repetitions each in the same cold-started process: 34 prompt/400 generated, 4,000/64 and 15,920/64. The first short request includes graph/cache warm-up and stays in the summary.

The public V100 runner supplies exact 4,096/32,768/128,000-token synthetic Python prompts, three repetitions each, 256 generated tokens, temperature 0, reasoning off, after a separate READY warm-up. A nonce before the filler prevents prefix reuse. The default and fast arms each start a fresh engine and run serially with identical prompts and order. Neither the OS page cache nor the warmed expert cache is flushed between requests. All 27 measured speed requests reported zero reused prompt tokens, and the 10 corresponding default/fast requests (including warm-up) have identical request SHA-256 values.

The official needle script uses repository/llama.cpp text at depths 10/50/90, greedy, thinking off, 40 output tokens. Its target lengths are character estimates, so actual token counts are reported below. At the native 262,144-token context it skips 262k, so a separate 256k invocation covers the longest case without changing the script.

Prompt and decode rates are engine-reported (long sweep: fresh prompt tokens / engine prompt time, generated tokens / engine decode time) and exclude model loading. TTFT runs from request submission to the first nonempty generated text. Client total latency includes prefill and generation. The 27 measured speed trials, with draft counts, are in speed.csv; the separate warm-up requests are in raw/default-long/results.json and raw/fast-long/results.json.

Speed results

Each cell is median (minimum–maximum), three requests. Rates are tok/s, TTFT is seconds. See speed.csv for each trial, client total latency, draft acceptance and actual generated token counts.

Arm / workloadPrompt tokensReusedGeneratedRunsPrompt tok/sDecode tok/sTTFT s
default-32k/speed-short340400388.0 (12.9–88.1)44.4 (36.5–44.4)0.43 (0.42–4.40)
default-32k/speed-prefill-4k4,0000643676.5 (671.7–680.4)39.6 (39.6–39.6)5.96 (5.92–6.04)
default-32k/speed-prefill-16k15,9200643729.0 (727.8–733.7)45.9 (45.8–45.9)21.88 (21.74–21.92)
default-long/40964,09602563627.4 (493.0–649.1)42.8 (40.9–43.8)6.57 (6.35–8.35)
default-long/3276832,76802563687.2 (664.4–691.6)44.4 (44.0–44.7)47.74 (47.43–49.38)
default-long/128000128,00002563617.4 (617.2–617.8)42.1 (40.4–46.9)207.42 (207.26–207.47)
fast-long/40964,09602563808.5 (601.4–888.2)40.1 (29.8–48.9)5.10 (4.65–6.85)
fast-long/3276832,768025631,165.4 (1,161.4–1,170.4)49.6 (49.3–50.0)28.17 (28.05–28.26)
fast-long/128000128,000025631,108.6 (1,106.9–1,108.8)47.5 (47.1–47.6)115.55 (115.53–115.72)

At 128K the fast arm's median prompt throughput is 1.80× the default arm's, and median client TTFT falls from 207.42 to 115.55 seconds. This compares a bundle of settings, not one kernel change. Fast does not improve every decode cell: its 4K decode median is 40.1 versus 42.8 tok/s. The READY warm-up does not warm every verify-window graph. These prompts differ from the maintainers' own Strix Halo speed table; only the same-day arms here are matched.

Correctness and repeatability

CategoryFirst passSecond pass
Reasoning37/4037/40
Python code12/1212/12
Tools / restraint8/88/8
Completeness5/65/6
Three-code recall3/33/3
Total65/6965/69

The two passes produced identical generated content, reasoning, tool calls and finish reasons on all 69 tasks (timings excluded). The same four failures occurred in both passes (pass/fail for every task and pass: quality-tasks.csv; full responses of the first-pass failures: failures.json):

TaskResult under the unchanged grader
reason-33Computed 63 in the answer body, but reached the 1,024-token cap without the required ANSWER: field.
reason-34Computed 26 in the answer body, but reached the 1,024-token cap without the required ANSWER: field.
reason-39Reversed calculator as rotalucalac; expected rotaluclac. Finished normally.
complete-primes100Returned 99 primes, ending at 523; omitted the 100th, 541. Finished normally, below its 2,048-token cap.

There were no HTTP request errors in these 138 quality requests. Tool checks cover six expected calls and two no-call cases, not a real agent's tool loop. Code checks run small generated Python functions, not repository edits. The original P40 study used GSQ-RCO IQ2_XS on CUDA/v0.1.39, while this report uses UD-IQ4_XS on HIP/v0.1.41, so it is not a controlled quantization, hardware or engine-version quality comparison. The suite has a ceiling effect and cannot rank models.

Needle recall

Requested lengthDepthActual prompt tokensReused tokensResultClient seconds
32k10%332860FOUND51.7
32k50%332860FOUND49.9
32k90%3328716384FOUND27.2
128k10%1266400FOUND205.1
128k50%1266380FOUND205.5
128k90%12663816384FOUND182.6
256k10%25181616384FOUND441.5
256k50%25181616384FOUND441.0
256k90%25181716384FOUND440.9
262kall requested depths——skipped by official script at context 262,144—

9/9 completed probes found their code word, with no errors or misses; the 262k skip is not a passed probe. The 256k invocation restarts the script's fixed RNG, so its three code words repeat the first invocation's initial words. These probes measure recall, not general long-context reasoning.

Parallel requests and QFUSE

The public tools/batch_test.py ran its two built-in prompts alone and batched (greedy, 150 output tokens, QFUSE=1, --pcie-frac 0 --adapt-every 1000000 --no-prefill-borrow). Its default --mt-min 1 sets STRATA_IQ_MT_MIN=1 for the exact reduction path; the HTTP tests below do not set it. Token streams matched in 2/2 slots (150 tokens each); the token IDs are in raw/batch-exact.json.

Four fresh HTTP servers tested QFUSE on/off × prefill-borrow on/off with two simultaneous distinct ~19,600-token prompts and up to 256 output tokens. The prompts are the public synthetic Python filler, not #1356's unpublished original prompts. --batch-mtp was not tested.

QFUSEPrefill borrowRequests with nonempty text / submittedFinish reasonsClient seconds (slot 0 / 1)
1on2/2length / length62.2 / 73.9
1off2/2length / length89.3 / 68.6
0on2/2length / length62.1 / 73.9
0off2/2length / length69.6 / 90.2

All eight requests returned 256 tokens with no transport errors, hangs or obvious garbling on inspection. Within each prefill-borrow setting, toggling QFUSE gave identical generated text in both slots (comparison). Toggling prefill borrow changed the wording; no semantic oracle scored the outputs. This is one paired trial per cell. A length finish is expected at the 256-token cap.

Memory, temperature and limits

Two-second host samples recorded a minimum MemAvailable of 39.14 GiB, peak GTT of 67.92 GiB and peak VRAM carve-out use of 0.70 GiB. These are whole-host counters, not process RSS, and GTT is already part of the UMA RAM. Swap was in use throughout: used swap at the start and end of each stage was 6.58–7.21 GiB (32 GiB total, from the SwapFree values in analysis/summary.json; the in-stage samples are not included). Swap I/O was not measured, so this is not a no-paging claim. No OOM or unexpected engine exit occurred. Five-second hwmon samples peaked at 97.0 °C (amdgpu) and 98.1 °C (k10temp); the amdgpu-reported power maximum was 137.0 W, which on this APU is not a discrete-GPU or whole-system energy figure. See the thermal summary; the raw samples are not included.

Only this model and build, one machine on one day, and the listed inputs were measured. Not run: a long multi-turn soak, a real agent harness, vision, a fast-arm correctness suite, KL/perplexity calibration, CPU-only parity, Vulkan/CUDA/SYCL comparison, and a same-day comparison with another local runtime. This report does not establish the fast arm's quality equivalence, a fix for long-session engine stops such as #1500 ("Engine stopped unexpectedly on strix halo"), or a recommendation to replace another runtime.

Evidence