|
Download REPORT.md from loom-draft/bartowski-Qwen2.5-Math-7B-Instruct-loom: direct link, hf CLI and curl.
- Browser
- Download file 4.3 kB
-
https://huggingface.co/loom-draft/bartowski-Qwen2.5-Math-7B-Instruct-loom/resolve/main/REPORT.md
- Command line
-
hf download hf://loom-draft/bartowski-Qwen2.5-Math-7B-Instruct-loom/REPORT.md
-
curl -L -o REPORT.md https://huggingface.co/loom-draft/bartowski-Qwen2.5-Math-7B-Instruct-loom/resolve/main/REPORT.md
4.3 kB
Qwen2.5-Math-7B-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-7B-Instruct-GGUF @
22e2c9c42470193b2b643636564765c84bcb06cb,Qwen2.5-Math-7B-Instruct-Q4_K_M.gguf, sha2567e03cee8c65b9ebf9ca14ddb010aca27b6b18e6c70f2779e94e7451d9529c091. - Programs measured: the sha256 below is card_lib.programs_sha256, over
program/*.loomwithout 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.pyruns 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-perfjob (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
specgate's count: accepted over proposed draft tokens across its requests. - Gates are loom-benchmark's
gates.shat 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 thespecgate'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 45530561772, 2026-11-25
- Device: AMD Strix Halo (DevLab Dispatch runner X2-LA03-S03-D01), Linux.
- Loom SDK: hrx-loom
0.2.0(hrx-system commit unknown, recovered). - Programs measured: sha256
8c97315ba8536d8c26b1d63813c6715b9242279b3d57b10f653d8487242f4b74, 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 | 45.68, 46.26, 46.0 | 46.0 |
| decode tok/s, short prompt | llama.cpp | 46.38, 45.96, 45.99 | 46.0 |
| decode tok/s, 2k context | Loom | 43.26, 43.8, 43.54 | 43.5 |
| decode tok/s, 2k context | llama.cpp | 43.37, 43.31, 43.46 | 43.4 |
| prefill tok/s, 1k document | Loom | 1935.3, 1945.3, 1935.7 | 1935.7 |
| prefill tok/s, 1k document | llama.cpp | 1414.5, 1408.6, 1416.5 | 1414.5 |
| prefill tok/s, 2k document | Loom | 2027.7, 2023.5, 2018.6 | 2023.5 |
| prefill tok/s, 2k document | llama.cpp | 1425.0, 1422.6, 1424.6 | 1424.6 |
| 4 streams, aggregate decode tok/s | Loom | 175.8, 176.1, 179.8 | 176.1 |
| 4 streams, aggregate decode tok/s | llama.cpp | 149.8, 147.4, 148.0 | 148.0 |
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.