dhndhn's picture
Strix Halo performance (DevLab)
041649d verified
|
Raw History Blame Contribute Delete
4.84 kB

Raptor-0.7-4B 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: OsaurusAI/Raptor-0.7-4B-GGUF @ f562cb0288f6385a9e34d214d1e19be5a1cec3de, Raptor-0.7-4B-Q4_K_M.gguf, sha256 1d55935c7e7cc8e4d7b69d12f5ff7d0db83e2ce03879b73ee0979243a947c97c.
  • 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 45569070247, 2026-11-25

  • Device: AMD Strix Halo (DevLab Dispatch runner X2-LA03-S01-D04), Linux.
  • Loom SDK: hrx-loom 0.2.0 (hrx-system commit unknown, recovered).
  • Programs measured: sha256 259d7efd9f4eb3ec1db0fc246a623a701ce9fb5cb7e2c65f8263d3996d234fc6, 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 67.24, 67.05, 64.92 67.0
decode tok/s, short prompt llama.cpp 63.84, 56.56, 56.39 56.6
decode tok/s, 2k context Loom 63.22, 63.56, 61.77 63.2
decode tok/s, 2k context llama.cpp 52.79, 53.2, 53.21 53.2
decode tok/s, 32k context Loom 47.1, 47.61, 47.67 47.6
decode tok/s, 32k context llama.cpp 40.51, 40.55, 40.56 40.5
prefill tok/s, 1k document Loom 2761.5, 2760.2, 2747.9 2760.2
prefill tok/s, 1k document llama.cpp 1533.1, 1532.4, 1519.2 1532.4
prefill tok/s, 2k document Loom 2769.9, 2762.0, 2765.2 2765.2
prefill tok/s, 2k document llama.cpp 1632.4, 1627.1, 1620.6 1627.1
prefill tok/s, 8k document Loom 2718.3, 2700.2, 2672.0 2700.2
prefill tok/s, 8k document llama.cpp 1610.6, 1611.4, 1609.3 1610.6
prefill tok/s, 16k document Loom 2517.0, 2503.5, 2505.3 2505.3
prefill tok/s, 16k document llama.cpp 1463.0, 1463.1, 1462.3 1463.0
prefill tok/s, 32k document Loom 2147.0, 2138.3, 2135.1 2138.3
prefill tok/s, 32k document llama.cpp 1218.4, 1216.9, 1217.0 1217.0
4 streams, aggregate decode tok/s Loom 231.4, 230.9, 231.1 231.1
4 streams, aggregate decode tok/s llama.cpp 161.0, 149.9, 147.9 149.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.