dhndhn's picture
Strix Halo performance (DevLab)
3cf1a77 verified
|
Raw History Blame Contribute Delete
4.83 kB

Yi-Coder-9B-Chat for AMD Loom: measurement report

How the values on this repository's model card were measured. Generated from info.json (schema loom-card/3) by the loom-skills card generator; the card's README.md is rendered from the same data.

Setup

  • Package: this repository. Programs generated by loom-skills unknown with hrx-loom unknown.
  • Checkpoint: bartowski/Yi-Coder-9B-Chat-GGUF @ 2f28bfc370a5457310f3880202b2ed577e2bcbd8, Yi-Coder-9B-Chat-Q4_K_M.gguf, sha256 251cc196e3813d149694f362bb0f8f154f3320abe44724eebe58c23dc54f201d.
  • Programs measured: the sha256 below is card_lib.programs_sha256, over program/*.loom without each file's first-line generator comment.

Method

  • perf.py (loom-benchmark) sends real-text requests: a short prompt for decode, decode after 2k and 32k tokens of context, and prefill of documents of about 1k, 2k, 8k, 16k and 32k tokens. Each run gives one value per metric; the card shows the median over the sessions of each session's median sample (a session without an "aggregate" key was measured as the mean of its runs: its row says so).
  • c4_steady.py runs 4 concurrent streams and reports the aggregate decode rate over the window in which all 4 are decoding; the card shows the median of the runs.
  • One engine runs at a time on the same machine, with the same GGUF. Loom rates are timed by the client; llama.cpp rates come from its server-side timings.
  • Every performance value comes from a devlab-perf job (loom-skills) on an AMD DevLab Dispatch Strix Halo runner: Loom, served with the active wait (--device=amdgpu://?completion_spin_ns=4294967295), and llama.cpp on the same runner, with the published programs.
  • Drafted tokens accepted is the spec gate's count: accepted over proposed draft tokens across its requests.
  • Gates are loom-benchmark's gates.sh at the LEVEL shown; DevLab runs are the nightly-gates workflow on AMD DevLab Dispatch.
  • Roofline: per metric, the rate at the hardware limit computed from the GGUF's tensors by loom-roofline roofline.py: decode is memory bandwidth / bytes read per token (weights, active experts, KV cache), prefill is peak FLOP/s / flops per token, 4 streams reads the weights once for 4 tokens. With speculative decoding, decode and 4 streams are verify passes per second x (1 + acceptance x depth) tokens per pass, with the acceptance measured in the row's own session (loom-serve's drafted-token counters around perf.py's decode request, or around c4_steady.py's streams), else the spec gate's.

AMD Ryzen AI Max+ 395 "Strix Halo" (gfx1151)

  • Baseline: llama.cpp llamacpp-rocm/b1374, server arguments -ngl 99 -cram 0 -c 65536 -np 1 (model path, host and port left out).

Session 1: DevLab Dispatch run 45770463957, 2026-11-26

  • Device: AMD Strix Halo (DevLab Dispatch runner X2-LA03-S04-D07), Linux.
  • Loom SDK: hrx-loom 0.2.0 (hrx-system commit unknown, recovered).
  • Programs measured: sha256 43afb562bf1ed298341b9db66c5aa875392c694239e8850b78fd6d458c298e94, the same as this repository's programs.
  • Values: the median over 3 sessions (4 streams: over 3 runs), a session's value being the median of its samples.
metric engine runs value
decode tok/s, short prompt Loom 40.06, 39.82, 40.41 40.1
decode tok/s, short prompt llama.cpp 38.0, 37.83, 37.72 37.8
decode tok/s, 2k context Loom 36.22, 36.07, 36.69 36.2
decode tok/s, 2k context llama.cpp 36.26, 36.07, 36.06 36.1
decode tok/s, 32k context Loom 23.35, 23.29, 23.29 23.3
decode tok/s, 32k context llama.cpp 23.26, 23.25, 23.27 23.3
prefill tok/s, 1k document Loom 1265.4, 1257.5, 1251.6 1257.5
prefill tok/s, 1k document llama.cpp 1047.6, 1049.3, 1052.7 1049.3
prefill tok/s, 2k document Loom 1400.6, 1396.3, 1391.3 1396.3
prefill tok/s, 2k document llama.cpp 1077.3, 1075.4, 1073.5 1075.4
prefill tok/s, 8k document Loom 1184.5, 1179.9, 1179.6 1179.9
prefill tok/s, 8k document llama.cpp 894.2, 894.2, 893.9 894.2
prefill tok/s, 16k document Loom 950.1, 947.1, 947.6 947.6
prefill tok/s, 16k document llama.cpp 707.6, 707.5, 707.6 707.6
prefill tok/s, 32k document Loom 660.6, 656.9, 657.8 657.8
prefill tok/s, 32k document llama.cpp 497.2, 496.8, 497.2 497.2
4 streams, aggregate decode tok/s Loom 150.6, 151.1, 151.4 151.1
4 streams, aggregate decode tok/s llama.cpp 117.9, 117.5, 117.4 117.5

Gate evidence

No gate evidence is recorded.

AMD Radeon AI PRO R9700 (gfx1201, 32 GB)

AMD Radeon AI PRO R9700 (gfx1201, 32 GB): the results for this package are not yet re-measured.