|
Download REPORT.md from loom-draft/QuantFactory-Cotype-Nano-loom: direct link, hf CLI and curl.
- Browser
- Download file 5.29 kB
-
https://huggingface.co/loom-draft/QuantFactory-Cotype-Nano-loom/resolve/main/REPORT.md
- Command line
-
hf download hf://loom-draft/QuantFactory-Cotype-Nano-loom/REPORT.md
-
curl -L -o REPORT.md https://huggingface.co/loom-draft/QuantFactory-Cotype-Nano-loom/resolve/main/REPORT.md
5.29 kB
| # Cotype-Nano 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: [QuantFactory/Cotype-Nano-GGUF](https://huggingface.co/QuantFactory/Cotype-Nano-GGUF) @ `8ad2568b2c2729496357065063937f8bd0409eb3`, `Cotype-Nano.Q4_K_M.gguf`, sha256 `f4a250144de45c1ced31bd3a7cc03a14d60c4e9a1d374fbace73f5090f186e3e`. | |
| - 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 45776336154](https://github.com/loom-fun/loom-next/actions/runs/45776336154), 2026-11-26 | |
| - 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 `ec74a873e5d53404f917b03b51eb852aceae922083fa564b2c9e45b48489ada6`, 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, decode_32k: 3, prefill_8k: 3 per session). | |
| | metric | engine | runs | value | | |
| |---|---|---|---| | |
| | decode tok/s, short prompt | Loom | 158.31, 178.01, 170.02, 162.79, 167.34, 158.11 | 165.1 | | |
| | decode tok/s, short prompt | llama.cpp | 157.96, 156.79, 158.13, 158.04, 156.84, 156.58 | 157.4 | | |
| | decode tok/s, 2k context | Loom | 143.57, 151.61, 151.14, 151.41, 151.11, 143.13 | 151.1 | | |
| | decode tok/s, 2k context | llama.cpp | 147.42, 148.03, 146.18, 146.93, 146.89, 147.71 | 147.2 | | |
| | decode tok/s, 32k context | Loom | 82.38, 84.66, 81.7, 84.21, 84.02, 81.56 | 83.2 | | |
| | decode tok/s, 32k context | llama.cpp | 90.54, 90.72, 90.44, 90.76, 90.39, 90.3 | 90.5 | | |
| | prefill tok/s, 1k document | Loom | 7362.6, 7411.1, 7387.8, 7459.7, 7452.1, 7247.6 | 7399.5 | | |
| | prefill tok/s, 1k document | llama.cpp | 5896.2, 5453.4, 5406.8, 5287.0, 5307.6, 5309.5 | 5358.1 | | |
| | prefill tok/s, 2k document | Loom | 7630.1, 7010.9, 7055.2, 7043.8, 7028.1, 7050.8 | 7047.3 | | |
| | prefill tok/s, 2k document | llama.cpp | 5810.4, 5313.0, 5306.2, 5367.7, 5341.0, 5336.2 | 5338.6 | | |
| | prefill tok/s, 8k document | Loom | 6243.6, 6159.9, 6134.4, 6177.8, 6220.3, 6309.2 | 6199.1 | | |
| | prefill tok/s, 8k document | llama.cpp | 4614.1, 4619.7, 4622.2, 4607.2, 4607.9, 4607.3 | 4611.0 | | |
| | prefill tok/s, 16k document | Loom | 4936.6, 4937.9, 4924.5, 4938.0, 4936.8, 4936.0 | 4936.7 | | |
| | prefill tok/s, 16k document | llama.cpp | 3665.3, 3658.6, 3662.4, 3660.3, 3660.0, 3654.5 | 3660.2 | | |
| | prefill tok/s, 32k document | Loom | 3355.8, 3354.3, 3355.6, 3348.5, 3362.5, 3348.2 | 3354.9 | | |
| | prefill tok/s, 32k document | llama.cpp | 2588.9, 2587.8, 2587.4, 2587.8, 2587.4, 2586.2 | 2587.6 | | |
| | 4 streams, aggregate decode tok/s | Loom | 605.2, 606.0, 605.0 | 605.2 | | |
| | 4 streams, aggregate decode tok/s | llama.cpp | 408.0, 416.1, 418.9 | 416.1 | | |
| ### 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. | |