okami.mom/strata

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

Niko1221Merge f-142b-serve into f-1426e1085c1d

main
5.9 KiB84 linesraw

Community benchmark on Radeon 8060S (Strix Halo laptop, 70 W)

Measured on 2026-10-09 by nsbradley88. Strata v0.1.41 with the docs/STRIX_HALO.md §5 fast config on a laptop Strix Halo that holds a 70 W package limit under load. Main limitation: prompt throughput is power-limited (see below); every run is a fresh engine process (no prompt reuse, cold expert cache start).

Hardware and software

  • GPU and VRAM: Radeon 8060S (gfx1151), unified memory; 112 GiB GTT pool (ttm.pages_limit=29360128)
  • CPU: Ryzen AI Max+ 395; RAM: 128 GB LPDDR5X; storage: NVMe SSD
  • Machine: HP ZBook Ultra G1a 14" laptop, platform profile performance, on AC
  • OS: Ubuntu 26.04, kernel 7.0.0-38, kernel args amd_iommu=off amdgpu.lockup_timeout=10000,60000,10000,10000
  • ROCm: 7.14.1 (therock-dist-linux-gfx1151-7.14.1.tar.gz); hipBLASLt table tools/hip/gfx1151-hipblaslt-100401.txt
  • Strata: tag v0.1.41 (fb58e0d), source build per docs/STRIX_HALO.md §2 (-DSTRATA_PREFILL_MMQ=ON, gfx1151 only)
  • Background workloads: GNOME desktop session (idle); no other GPU jobs
  • Power: package power median 66–69 W, max 70 W in every run; GPU clock median ~2,070 MHz (max 2,900); measured from amdgpu hwmon (power1_average, freq1_input) every 0.5 s

Model and configuration

  • Model: unsloth/Qwen3.8-Flash-Next-GGUF UD-IQ4_XS (Qwen3.8-Flash-Next-UD-IQ4_XS-0000{1,2,3}-of-00003.gguf); no vision encoder
  • Pack: built with tools/iq_pack.py --compat-bf16 (a pack rebuilt with v0.1.41's tool measured the same); MTP draft layer mtp/rt; expert profile data/expert-profile.bin
  • Context: --max-context = prompt + 512; KV int8; no KV streaming; expert cache 24,576 (all experts on the GPU, 55.43 GiB)
  • Prefill: auto:16384; MTP: --spec 5 --spec-min-p 0.5 --mtp-window 8192; greedy (engine --stats)
  • Calibration / experimental speed projection: off
STRATA_HIPBLASLT_TUNING=tools/hip/gfx1151-hipblaslt-100401.txt STRATA_PF_FUSED=1 STRATA_PF_GEMM=1 STRATA_HC_UPMIX=1 \
STRATA_PA_FAST=1 STRATA_HIP_WMMA=1 STRATA_SELECT_WMMA=1 STRATA_HC_Q8=1 STRATA_PF_SWITCH_MIN_T=4096 STRATA_PREFILL_STREAM_MIN=128 \
build-halo/strata --pack <pack> --native <UD-IQ4_XS shard 1> --expert-profile data/expert-profile.bin \
  --expert-cache 24576 --resident-budget-gib 55 --prefill auto:16384 --spec 5 --spec-min-p 0.5 --mtp <mtp/rt> \
  --mtp-window 8192 --max-context <prompt+512> --kv int8 --max-new 256 --tokens-file <prompt tokens> --stats

Method

  • Prompts: the first 8,192 / 32,768 / 131,072 tokens of llama.cpp's src/**/*.cpp sources (C++), tokenized with tools/strata_tokenizer.py; 256 generated tokens (cap reached in every run).
  • One fresh engine process per run; model loading excluded (the engine's own prefill / decode timing lines).
  • Runs from two sessions on the same build and config (2026-10-09, after the reboot that set the kernel args); 4–6 runs per length, interleaved with other configurations. Per-run data: runs.json (ms and tok/s from the engine).
  • TTFT: not measured separately (engine-level runs; the prompt time is listed).
  • Memory: MemAvailable sampled every 2 s; minimum 45–49 GiB during these runs.

Results

ConfigurationActual prompt tokensReused tokensGenerated tokensRunsPrompt tok/s median and rangeDecode tok/s median and rangeTTFT seconds median and range
fast config, --spec 5 --mtp-window 81928,19202566969 (836–1,009)59.2 (58.5–59.6)not measured (prompt 8.5 s)
same32,768025651,067 (1,041–1,067)57.8 (57.1–58.7)not measured (prompt 30.7 s)
same131,072025641,031 (1,005–1,043)42.0 (38.0–44.6)not measured (prompt 127 s)

Other measurements on the same machine (engine-level, same prompts, medians):

ChangeSessionPrompt tok/sDecode tok/sSame-session baseline
v0.1.41 defaults only (no §5 switches), 8KA577–59750.4–50.7fast config --spec 4: 862–873 / 55.0–55.3
--spec 5 --mtp-window 8192 vs --spec 4, 32KA885–93954.3–54.7--spec 4: 892–952 / 50.3–50.4
--spec 6, 32KA98243.2--spec 4: 901–1,006 / 51.1–51.7
--prefill 16384 --spec 4 --lookup-chain 3 --mtp-q4 all (§6 flags), 32KB1,027–1,06748.9–53.3this report's config: 1,044–1,067 / 57.8–58.7
same v0.1.41 built against ROCm 10.2 (table 100500), 32KB1,037–1,04955.7–59.1same
104 GiB GTT + IOMMU on → 112 GiB + amd_iommu=off, 32KA→B959–986 → 1,041–1,06756.3–56.4 → 57.1–57.8before/after reboot, same script

Session A: 104 GiB GTT, IOMMU on; session B: the kernel args of this report. Rows compare against a baseline from the same session.

Server-level, 4 concurrent clients (distinct ~6K-token prompts, ≤512 out, aggregate output tok/s incl. prompt time): one at a time 32.7 (first answer 3.9 s); "parallel": 2 28.2; "parallel": 4 27.8; "parallel": 4 + --batch-mtp 30.6 (first answer 41 s).

Failure: with setup's memory arguments for this model (--expert-cache auto, no --resident-budget-gib) the run caused a global OOM on this 128 GB machine; reported as issue #1715. All runs above use the explicit cache arguments.

Correctness and limitations

  • Needle: our own test (5 codenames at 10–90% depth of an ~83K-token code prompt, 3 seeds, OpenAI server): 15/15, 93–105 s per prompt. Agentic: 5 Go coding tasks (charmbracelet/bubbles) through opencode, hidden tests: 5/5. tools/needle_bench.py was not run.
  • Prompt throughput is ~20% below the §6 desktop table because of the 70 W limit (config, pack, ROCm runtime and kernel args were A/B'd; none closes it); decode matches or exceeds it.
  • Greedy engine runs only; 128K has 4 runs (one low decode outlier at 38.0).
  • Full write-up and configs: https://github.com/nsbradley88/halo-tuning (qwen-strata/)
1# Community benchmark on Radeon 8060S (Strix Halo laptop, 70 W)
2
3Measured on 2026-10-09 by nsbradley88. Strata v0.1.41 with the `docs/STRIX_HALO.md` §5 fast config on a **laptop** Strix
4Halo that holds a 70 W package limit under load. Main limitation: prompt throughput is power-limited (see below); every run
5is a fresh engine process (no prompt reuse, cold expert cache start).
6
7## Hardware and software
8
9- GPU and VRAM: Radeon 8060S (gfx1151), unified memory; 112 GiB GTT pool (`ttm.pages_limit=29360128`)
10- CPU: Ryzen AI Max+ 395; RAM: 128 GB LPDDR5X; storage: NVMe SSD
11- Machine: HP ZBook Ultra G1a 14" laptop, platform profile `performance`, on AC
12- OS: Ubuntu 26.04, kernel 7.0.0-38, kernel args `amd_iommu=off amdgpu.lockup_timeout=10000,60000,10000,10000`
13- ROCm: 7.14.1 (`therock-dist-linux-gfx1151-7.14.1.tar.gz`); hipBLASLt table `tools/hip/gfx1151-hipblaslt-100401.txt`
14- Strata: tag v0.1.41 (`fb58e0d`), source build per `docs/STRIX_HALO.md` §2 (`-DSTRATA_PREFILL_MMQ=ON`, gfx1151 only)
15- Background workloads: GNOME desktop session (idle); no other GPU jobs
16- Power: package power median 66–69 W, **max 70 W** in every run; GPU clock median ~2,070 MHz (max 2,900); measured from
17  amdgpu hwmon (`power1_average`, `freq1_input`) every 0.5 s
18
19## Model and configuration
20
21- Model: [unsloth/Qwen3.8-Flash-Next-GGUF](https://huggingface.co/unsloth/Qwen3.8-Flash-Next-GGUF) UD-IQ4_XS
22  (`Qwen3.8-Flash-Next-UD-IQ4_XS-0000{1,2,3}-of-00003.gguf`); no vision encoder
23- Pack: built with `tools/iq_pack.py --compat-bf16` (a pack rebuilt with v0.1.41's tool measured the same); MTP draft
24  layer `mtp/rt`; expert profile `data/expert-profile.bin`
25- Context: `--max-context` = prompt + 512; KV int8; no KV streaming; expert cache 24,576 (all experts on the GPU, 55.43 GiB)
26- Prefill: `auto:16384`; MTP: `--spec 5 --spec-min-p 0.5 --mtp-window 8192`; greedy (engine `--stats`)
27- Calibration / experimental speed projection: off
28
29```text
30STRATA_HIPBLASLT_TUNING=tools/hip/gfx1151-hipblaslt-100401.txt STRATA_PF_FUSED=1 STRATA_PF_GEMM=1 STRATA_HC_UPMIX=1 \
31STRATA_PA_FAST=1 STRATA_HIP_WMMA=1 STRATA_SELECT_WMMA=1 STRATA_HC_Q8=1 STRATA_PF_SWITCH_MIN_T=4096 STRATA_PREFILL_STREAM_MIN=128 \
32build-halo/strata --pack <pack> --native <UD-IQ4_XS shard 1> --expert-profile data/expert-profile.bin \
33  --expert-cache 24576 --resident-budget-gib 55 --prefill auto:16384 --spec 5 --spec-min-p 0.5 --mtp <mtp/rt> \
34  --mtp-window 8192 --max-context <prompt+512> --kv int8 --max-new 256 --tokens-file <prompt tokens> --stats
35```
36
37## Method
38
39- Prompts: the first 8,192 / 32,768 / 131,072 tokens of llama.cpp's `src/**/*.cpp` sources (C++), tokenized with
40  `tools/strata_tokenizer.py`; 256 generated tokens (cap reached in every run).
41- One fresh engine process per run; model loading excluded (the engine's own `prefill` / `decode` timing lines).
42- Runs from two sessions on the same build and config (2026-10-09, after the reboot that set the kernel args); 4–6 runs
43  per length, interleaved with other configurations. Per-run data: [runs.json](runs.json) (ms and tok/s from the engine).
44- TTFT: not measured separately (engine-level runs; the prompt time is listed).
45- Memory: `MemAvailable` sampled every 2 s; minimum 45–49 GiB during these runs.
46
47## Results
48
49| Configuration | Actual prompt tokens | Reused tokens | Generated tokens | Runs | Prompt tok/s median and range | Decode tok/s median and range | TTFT seconds median and range |
50| --- | ---: | ---: | ---: | ---: | --- | --- | --- |
51| fast config, `--spec 5 --mtp-window 8192` | 8,192 | 0 | 256 | 6 | 969 (836–1,009) | 59.2 (58.5–59.6) | not measured (prompt 8.5 s) |
52| same | 32,768 | 0 | 256 | 5 | 1,067 (1,041–1,067) | 57.8 (57.1–58.7) | not measured (prompt 30.7 s) |
53| same | 131,072 | 0 | 256 | 4 | 1,031 (1,005–1,043) | 42.0 (38.0–44.6) | not measured (prompt 127 s) |
54
55Other measurements on the same machine (engine-level, same prompts, medians):
56
57| Change | Session | Prompt tok/s | Decode tok/s | Same-session baseline |
58| --- | --- | ---: | ---: | --- |
59| v0.1.41 defaults only (no §5 switches), 8K | A | 577–597 | 50.4–50.7 | fast config `--spec 4`: 862–873 / 55.0–55.3 |
60| `--spec 5 --mtp-window 8192` vs `--spec 4`, 32K | A | 885–939 | 54.3–54.7 | `--spec 4`: 892–952 / 50.3–50.4 |
61| `--spec 6`, 32K | A | 982 | 43.2 | `--spec 4`: 901–1,006 / 51.1–51.7 |
62| `--prefill 16384 --spec 4 --lookup-chain 3 --mtp-q4 all` (§6 flags), 32K | B | 1,027–1,067 | 48.9–53.3 | this report's config: 1,044–1,067 / 57.8–58.7 |
63| same v0.1.41 built against ROCm 10.2 (table `100500`), 32K | B | 1,037–1,049 | 55.7–59.1 | same |
64| 104 GiB GTT + IOMMU on → 112 GiB + `amd_iommu=off`, 32K | A→B | 959–986 → 1,041–1,067 | 56.3–56.4 → 57.1–57.8 | before/after reboot, same script |
65
66Session A: 104 GiB GTT, IOMMU on; session B: the kernel args of this report. Rows compare against a baseline from the
67same session.
68
69Server-level, 4 concurrent clients (distinct ~6K-token prompts, ≤512 out, aggregate output tok/s incl. prompt time):
70one at a time 32.7 (first answer 3.9 s); `"parallel": 2` 28.2; `"parallel": 4` 27.8; `"parallel": 4` + `--batch-mtp`
7130.6 (first answer 41 s).
72
73Failure: with setup's memory arguments for this model (`--expert-cache auto`, no `--resident-budget-gib`) the run
74caused a global OOM on this 128 GB machine; reported as issue #1715. All runs above use the explicit cache arguments.
75
76## Correctness and limitations
77
78- Needle: our own test (5 codenames at 10–90% depth of an ~83K-token code prompt, 3 seeds, OpenAI server): **15/15**,
79  93–105 s per prompt. Agentic: 5 Go coding tasks (charmbracelet/bubbles) through opencode, hidden tests: **5/5**.
80  `tools/needle_bench.py` was not run.
81- Prompt throughput is ~20% below the §6 desktop table because of the 70 W limit (config, pack, ROCm runtime and kernel
82  args were A/B'd; none closes it); decode matches or exceeds it.
83- Greedy engine runs only; 128K has 4 runs (one low decode outlier at 38.0).
84- Full write-up and configs: https://github.com/nsbradley88/halo-tuning (qwen-strata/)