dhndhn's picture
Strix Halo performance (DevLab)
11a819c verified
|
Raw History Blame Contribute Delete
4.88 kB

DeepSeek-Coder-V2-Lite-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/DeepSeek-Coder-V2-Lite-Instruct-GGUF @ 8f248fa2072348f77a8bc37754e470de1f61866e, DeepSeek-Coder-V2-Lite-Instruct-Q4_K_M.gguf, sha256 603bd3f8a0281d16571da7c08bd661ee17ff0d1be6fcbd1b42242da257ef0bb8.
  • 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 45766516015, 2026-11-26

  • Device: AMD Strix Halo (DevLab Dispatch runner X2-LA03-S03-D06), Linux.
  • Loom SDK: hrx-loom 0.2.0 (hrx-system commit unknown, recovered).
  • Programs measured: sha256 76ea55ac01b3e4617e802a5004028b5a67ca2fd8782777644025ce8d1deaf0f8, 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 101.03, 100.14, 100.84 100.8
decode tok/s, short prompt llama.cpp 72.14, 72.61, 72.61 72.6
decode tok/s, 2k context Loom 65.73, 65.48, 65.75 65.7
decode tok/s, 2k context llama.cpp 11.86, 11.87, 11.84 11.9
decode tok/s, 32k context Loom 11.69, 11.68, 11.68 11.7
decode tok/s, 32k context llama.cpp 0.06, 0.06, 0.06 0.1
prefill tok/s, 1k document Loom 1376.8, 1382.1, 1382.1 1382.1
prefill tok/s, 1k document llama.cpp 2018.8, 1936.3, 1933.8 1936.3
prefill tok/s, 2k document Loom 914.6, 929.6, 934.0 929.6
prefill tok/s, 2k document llama.cpp 1741.3, 1735.8, 1734.3 1735.8
prefill tok/s, 8k document Loom 264.8, 268.5, 261.1 264.8
prefill tok/s, 8k document llama.cpp 698.0, 703.9, 704.1 703.9
prefill tok/s, 16k document Loom 118.0, 119.3, 117.3 118.0
prefill tok/s, 16k document llama.cpp 289.7, 289.8, 289.9 289.8
prefill tok/s, 32k document Loom 54.6, 55.0, 54.1 54.6
prefill tok/s, 32k document llama.cpp 67.5, 67.4, 67.4 67.4
4 streams, aggregate decode tok/s Loom 185.5, 182.2, 196.0 185.5
4 streams, aggregate decode tok/s llama.cpp 100.1, 99.3, 98.2 99.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.