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

janhq_Jan-code-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: bartowski/janhq_Jan-code-4b-GGUF @ 2ab207e2ef1d20f27adabd4024f8fc9d50cd2727, janhq_Jan-code-4b-Q4_K_M.gguf, sha256 9938eb10674535ee43207c8ea8cb52b0605d9401dfb56387b8c1020b6ae2e56e.
  • 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 45510987874, 2026-11-24

  • Device: AMD Strix Halo (DevLab Dispatch runner X2-LA03-S03-D03), Linux.
  • Loom SDK: hrx-loom 0.2.0 (hrx-system commit unknown, recovered).
  • Programs measured: sha256 0ceba385e823b5752e4a7a1e52d8d78c56005bea8a8ebcba98dff1eb0f3b5d34, 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 75.23, 74.57, 74.65 74.7
decode tok/s, short prompt llama.cpp 71.74, 71.72, 71.34 71.7
decode tok/s, 2k context Loom 64.65, 64.18, 64.12 64.2
decode tok/s, 2k context llama.cpp 64.26, 63.92, 63.85 63.9
decode tok/s, 32k context Loom 28.4, 28.65, 28.79 28.6
decode tok/s, 32k context llama.cpp 28.8, 28.7, 28.68 28.7
prefill tok/s, 1k document Loom 3212.7, 3083.9, 3097.0 3097.0
prefill tok/s, 1k document llama.cpp 2198.8, 2152.8, 2144.8 2152.8
prefill tok/s, 2k document Loom 3161.0, 3142.3, 3139.6 3142.3
prefill tok/s, 2k document llama.cpp 2092.6, 2084.5, 2083.9 2084.5
prefill tok/s, 8k document Loom 2562.5, 2547.0, 2545.0 2547.0
prefill tok/s, 8k document llama.cpp 1676.3, 1674.9, 1675.5 1675.5
prefill tok/s, 16k document Loom 1841.5, 1842.0, 1840.2 1841.5
prefill tok/s, 16k document llama.cpp 1281.2, 1280.2, 1280.8 1280.8
prefill tok/s, 32k document Loom 1299.7, 1299.3, 1300.1 1299.7
prefill tok/s, 32k document llama.cpp 860.7, 860.5, 860.0 860.5
4 streams, aggregate decode tok/s Loom 261.1, 260.8, 260.4 260.8
4 streams, aggregate decode tok/s llama.cpp 209.5, 208.3, 205.6 208.3

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.