dhndhn's picture
Strix Halo performance (DevLab)
ad0274e verified
|
Raw History Blame Contribute Delete
5.28 kB

MiniCPM5-2B 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/MiniCPM5-2B-GGUF @ 31fee0334c4ed9f1e079afe586ba30cb83e0f883, MiniCPM5-2B-Q4_K_M.gguf, sha256 967d467b5a73f2def7f339f8ad724a984fe1caa323006577cd9c26adb755f0de.
  • 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 45512979222, 2026-11-25

  • Device: AMD Strix Halo (DevLab Dispatch runner X2-LA03-S01-D06), Linux.
  • Loom SDK: hrx-loom 0.2.0 (hrx-system commit unknown, recovered).
  • Programs measured: sha256 628a7d3ee94818f5a793c7c1b08015ba595925cbaab2b589e274cd2ec1688571, the same as this repository's programs.
  • Values: the median over 6 sessions (4 streams: over 3 runs), a session's value being the median of its samples (decode_2k: 3, decode_32k: 3, prefill_8k: 3 per session).
metric engine runs value
decode tok/s, short prompt Loom 123.51, 124.17, 123.84, 124.22, 117.91, 113.59 123.7
decode tok/s, short prompt llama.cpp 106.68, 103.79, 104.83, 104.93, 104.01, 103.76 104.4
decode tok/s, 2k context Loom 108.22, 107.61, 107.09, 107.61, 104.1, 101.23 107.3
decode tok/s, 2k context llama.cpp 99.78, 99.69, 100.68, 100.1, 99.75, 99.8 99.8
decode tok/s, 32k context Loom 54.74, 53.57, 54.73, 54.67, 54.74, 53.43 54.7
decode tok/s, 32k context llama.cpp 61.4, 61.08, 61.22, 60.9, 61.3, 61.27 61.2
prefill tok/s, 1k document Loom 4643.6, 4426.7, 4377.4, 4373.0, 4387.6, 4500.1 4407.1
prefill tok/s, 1k document llama.cpp 3480.9, 3268.8, 3242.4, 3258.9, 3243.4, 3197.6 3251.2
prefill tok/s, 2k document Loom 4608.3, 4555.4, 4549.5, 4537.2, 4555.0, 4529.7 4552.2
prefill tok/s, 2k document llama.cpp 3257.4, 3231.3, 3296.1, 3289.4, 3250.4, 3250.5 3253.9
prefill tok/s, 8k document Loom 3729.1, 3737.0, 3732.0, 3725.9, 3722.4, 3719.3 3727.5
prefill tok/s, 8k document llama.cpp 2793.4, 2787.9, 2815.7, 2809.6, 2804.5, 2839.4 2807.1
prefill tok/s, 16k document Loom 2857.4, 2858.0, 2857.0, 2853.4, 2847.2, 2842.1 2855.2
prefill tok/s, 16k document llama.cpp 2242.7, 2251.3, 2253.5, 2268.6, 2248.7, 2271.6 2252.4
prefill tok/s, 32k document Loom 1870.4, 1842.8, 1868.3, 1866.5, 1863.6, 1863.1 1865.0
prefill tok/s, 32k document llama.cpp 1604.1, 1603.9, 1608.3, 1610.1, 1613.9, 1614.1 1609.2
4 streams, aggregate decode tok/s Loom 465.3, 519.1, 384.0 465.3
4 streams, aggregate decode tok/s llama.cpp 320.9, 323.9, 324.3 323.9

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.