dhndhn's picture
Strix Halo performance (DevLab)
6e17af3 verified
|
Raw History Blame Contribute Delete
4.54 kB

Qwen2.5-Math-1.5B-Instruct 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/Qwen2.5-Math-1.5B-Instruct-GGUF @ 951ed2aea09c43e331c612e74d83e4a23ca98e3b, Qwen2.5-Math-1.5B-Instruct-Q4_K_M.gguf, sha256 9614a50f03c897028920ca0dc4365da570bf587f9ee7768261216fe370b37e8e.
  • 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 45530558796, 2026-11-25

  • Device: AMD Strix Halo (DevLab Dispatch runner X2-LA03-S04-D02), Linux.
  • Loom SDK: hrx-loom 0.2.0 (hrx-system commit unknown, recovered).
  • Programs measured: sha256 60eb73b068c71676e1f2444ec476b5f93f78b5b1123d9458be1202280d66f860, 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 per session).
metric engine runs value
decode tok/s, short prompt Loom 158.74, 153.34, 149.37, 151.43, 159.76, 152.27 152.8
decode tok/s, short prompt llama.cpp 157.6, 156.66, 157.28, 157.97, 156.71, 156.73 157.0
decode tok/s, 2k context Loom 142.66, 135.92, 132.38, 134.73, 144.03, 141.91 138.9
decode tok/s, 2k context llama.cpp 147.76, 147.87, 146.44, 146.25, 146.09, 147.7 147.1
prefill tok/s, 1k document Loom 7410.0, 7428.3, 7351.1, 7395.3, 7404.2, 7412.9 7407.1
prefill tok/s, 1k document llama.cpp 5863.5, 5392.4, 5410.1, 5339.4, 5418.4, 5348.4 5401.2
prefill tok/s, 2k document Loom 7639.6, 7192.9, 7057.8, 7615.0, 7088.4, 7118.0 7155.4
prefill tok/s, 2k document llama.cpp 5815.3, 5366.4, 5386.4, 5391.8, 5359.6, 5377.0 5381.7
4 streams, aggregate decode tok/s Loom 568.6, 572.1, 570.1 570.1
4 streams, aggregate decode tok/s llama.cpp 414.1, 419.0, 415.6 415.6

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.