A Loom package (.loom programs and a model.json card) for the unmodified GGUF checkpoint unsloth/gemma-4-26B-A4B-it-qat-GGUF (gemma-4-26B-A4B-it-qat-UD-Q4_K_XL.gguf), for the AMD Ryzen AI Max+ 395 "Strix Halo" and AMD Radeon AI PRO R9700 GPUs, generated with the loom-skills workflow. Learn more on the Loom ecosystem website.
Open your GPU and copy its commands.
AMD Ryzen AI Max+ 395 "Strix Halo" (gfx1151)pipx install "hrx-loom[hf]==0.3.0"
loom-fetch huggingface:loom-fun-staging/unsloth-gemma-4-26B-A4B-it-qat-loom:chat --output=gemma-4-26B-A4B-it-qat-q4_0-unquantized
loom-serve --model=gemma-4-26B-A4B-it-qat-q4_0-unquantized '--device=amdgpu://?completion_spin_ns=4294967295' --pool_backing=fixed
completion_spin_ns=4294967295 enables active waiting for GPU completions (uses CPU while GPU work is in flight); the card's performance measurements use this setting.--pool_backing=fixed commits the preset's memory pool up front instead of growing elastic backing.pipx install "hrx-loom[hf]==0.3.0"
loom-fetch huggingface:loom-fun-staging/unsloth-gemma-4-26B-A4B-it-qat-loom:chat-r9700 --output=gemma-4-26B-A4B-it-qat-q4_0-unquantized
loom-serve --model=gemma-4-26B-A4B-it-qat-q4_0-unquantized '--device=amdgpu://?completion_spin_ns=4294967295' --pool_backing=fixed
completion_spin_ns=4294967295 enables active waiting for GPU completions (uses CPU while GPU work is in flight); the card's performance measurements use this setting.--pool_backing=fixed commits the preset's memory pool up front instead of growing elastic backing.In another terminal (optional thinking is turned off):
curl http://127.0.0.1:8080/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model": "google/gemma-4-26B-A4B-it-qat-q4_0-unquantized", "messages": [{"role": "user", "content": "Hello"}], "chat_template_kwargs": {"enable_thinking": false}}'
| metric | llama.cpp | Loom | margin vs best llama.cpp | roofline | Loom % of roofline | llama.cpp Vulkan |
|---|---|---|---|---|---|---|
| decode tok/s, short prompt | 87.6 | 101.1 | +15 % | 136.6 | 74 % | 82.3 |
| decode tok/s, 2k context | 73.3 | 89.8 | +22 % | 122.5 | 73 % | 64.4 |
| decode tok/s, 32k context | 50.1 | 68.7 | +37 % | 101.7 | 68 % | 50.1 |
| prefill tok/s, 1k document | 1294.3 | 2318.4 | +79 % | 6786.5 | 34 % | 1089.5 |
| prefill tok/s, 2k document | 1373.8 | 2335.6 | +70 % | 6497.8 | 36 % | 1185.9 |
| prefill tok/s, 8k document | 1330.2 | 2185.5 | +64 % | 6048.0 | 36 % | 1199.0 |
| prefill tok/s, 16k document | 1183.0 | 1992.7 | +68 % | 5546.1 | 36 % | 1073.2 |
| prefill tok/s, 32k document | 949.6 | 1669.1 | +76 % | 4756.7 | 35 % | 876.9 |
| 4 streams, aggregate decode tok/s | 152.0 | 183.3 | +21 % | 380.5 | 48 % | — |
| speculative decoding, drafted tokens accepted | — | 85 % | — | n/a | n/a | n/a |
Methodology
llamacpp-rocm/b1375, llama.cpp Vulkan llamacpp-vulkan/b12211; the same GGUF, the same DevLab runner type, different jobs, the same prompts; Loom served with the active wait. Values are the median of 6 sessions (4 streams: median of 4); Loom is timed by the client, llama.cpp by its server.-ngl 99 -cram 0 --spec-type draft-mtp --spec-draft-model card:parameter/mtp-gemma-4-26B-A4B-it.gguf --spec-draft-n-max 4 -ngld 99 -c 65536 -np 1.-ngl 99 -cram 0 --spec-type draft-mtp --spec-draft-model card:parameter/mtp-gemma-4-26B-A4B-it.gguf --spec-draft-n-max 4 -ngld 99 -c 36864 -np 1.devlab-perf jobs); runners differ between sessions.0.3.0 (hrx-system commit unknown); source: DevLab Dispatch run 46573703607.9759acd.spec gate's requests.roofline.py (loom-skills 1a34107); decode rows with speculative decoding: verify passes × (1 + acceptance × depth 1) tokens per pass, the drafter's cost not counted, with the acceptance measured in the row's own session: decode 76 %, decode at 2k 72 %, decode at 32k 70 %; 4 streams run without drafting, so its ceiling is single-pass; the 4-stream ceiling of this mixture-of-experts model assumes the four streams route to the same experts (the bound a run may not exceed).| metric | llama.cpp | Loom | margin vs best llama.cpp | roofline | Loom % of roofline | llama.cpp Vulkan |
|---|---|---|---|---|---|---|
| decode tok/s, short prompt | 139.5 | 216.4 | +14 % | 364.4 | 59 % | 190.1 |
| decode tok/s, 2k context | 139.7 | 190.1 | +18 % | 328.5 | 58 % | 161.6 |
| decode tok/s, 32k context | 102.3 | 151.7 | +10 % | 274.1 | 55 % | 137.6 |
| prefill tok/s, 1k document | 3079.6 | 6471.4 | +110 % | 33157.8 | 20 % | 2405.6 |
| prefill tok/s, 2k document | 3362.2 | 6500.7 | +93 % | 31747.4 | 20 % | 2990.1 |
| prefill tok/s, 8k document | 3291.8 | 6383.6 | +75 % | 29549.6 | 22 % | 3642.6 |
| prefill tok/s, 16k document | 2888.7 | 5950.1 | +71 % | 27097.5 | 22 % | 3475.2 |
| prefill tok/s, 32k document | 2257.6 | 5085.2 | +69 % | 23240.3 | 22 % | 3015.6 |
| 4 streams, aggregate decode tok/s | 307.4 | 396.6 | +29 % | 1022.9 | 39 % | — |
| speculative decoding, drafted tokens accepted | — | 86 % | — | n/a | n/a | n/a |
Methodology
llamacpp-rocm/b1375, llama.cpp Vulkan llamacpp-vulkan/b12211; the same GGUF, the same DevLab runner type, different jobs, the same prompts; Loom served with the active wait. Values are the median of 6 sessions (4 streams: median of 4); Loom is timed by the client, llama.cpp by its server.-ngl 99 -cram 0 --spec-type draft-mtp --spec-draft-model card:parameter/mtp-gemma-4-26B-A4B-it.gguf --spec-draft-n-max 4 -ngld 99 -c 36864 -np 1.-ngl 99 -cram 0 --spec-type draft-mtp --spec-draft-model card:parameter/mtp-gemma-4-26B-A4B-it.gguf --spec-draft-n-max 4 -ngld 99 -c 36864 -np 1.devlab-perf jobs); runners differ between sessions.0.3.0 (hrx-system commit unknown); source: DevLab Dispatch run 46573703607.9759acd.spec gate's requests.roofline.py (loom-skills 1a34107); decode rows with speculative decoding: verify passes × (1 + acceptance × depth 1) tokens per pass, the drafter's cost not counted, with the acceptance measured in the row's own session: decode 75 %, decode at 2k 71 %, decode at 32k 70 %; 4 streams run without drafting, so its ceiling is single-pass; the 4-stream ceiling of this mixture-of-experts model assumes the four streams route to the same experts (the bound a run may not exceed).| feature | status | detail |
|---|---|---|
| API | ✅ | OpenAI-style /v1/chat/completions |
| tool calling | ✅ | OpenAI-style tools and tool_calls |
| reasoning / thinking | ✅ | off by default; chat_template_kwargs: {"enable_thinking": true} turns it on |
| reasoning effort | — | not applicable |
| speculative decoding | ✅ | assistant drafter, depth 1, on by default; drafter unsloth/gemma-4-26B-A4B-it-qat-GGUF |
| image input | ? | not determined |
| audio input / output | ? | not determined |
| sampling | ✅ | temperature, top_p, top_k, seed |
| context size | ✅ | 262,144 tokens per request |
| concurrency | ✅ | 4 concurrent requests |
| max output tokens | ✅ | 4,096 (preset max_tokens) |
| gate | description | Strix Halo | Radeon AI PRO R9700 |
|---|---|---|---|
kernel_tests |
Unit tests of the generated kernels against reference implementations | ✅ pass ¹ | ✅ pass ¹ |
golden |
llama.cpp reference recorded on the same GGUF: greedy tokens and top-5 log-probs, short prompts and 1k-32k documents | ✅ pass ² | ✅ pass ² |
compare |
Greedy output vs the llama.cpp reference, token by token; every divergence is a near-tie | ✅ pass ² | ✅ pass ² |
vision |
Image input vs llama.cpp with the same projector: identical prompt tokens, replies equal up to near-ties | — not applicable | — not applicable |
consistency |
Concurrent requests give the same output as the same requests run alone | ✅ pass ² | ✅ pass ² |
spec |
Speculative decoding on gives exactly the output of speculative decoding off | ✅ pass ² | ✅ pass ² |
agent |
Multi-turn tool-calling loop: exact prompt rendering, history reuse, valid tool calls, output vs llama.cpp | ✅ pass ² | ✅ pass ² |
agent_think_off |
The tool-calling loop with thinking off | ✅ pass ² | ✅ pass ² |
sampling |
temperature, top_k and seed behave as specified; first-token distribution matches llama.cpp | ✅ pass ² | ✅ pass ² |
logits |
Host logits readback (llm.logits on): at T=0 every returned row's argmax is the device's token, the top-k matches llama.cpp, greedy text is unchanged | ✅ pass ² | ✅ pass ² |
decision |
Decision answers (choice, score, noul probabilities) vs llama.cpp on the same prompts | — not applicable | — not applicable |
0.3.0 (hrx-system commit unknown).0.3.0 (hrx-system commit unknown).gates.sh); a gate without a recorded run shows no evidence.model.json / model.json.lock: the card and the pinned source files (sha256 checked by loom-fetch).program/*.loom, weights.loom: the generated Loom programs.tokenizer.json: the tokenizer.llm_config.json: the configuration the programs were generated from.info.json: the measurements, gate evidence and versions this card shows; everything else comes from the files above.REPORT.md: how the values above were measured: setup, commands and the value of every run.Versions: card schema loom-card/3; loom-skills 1a34107; hrx-loom 0.3.0 (hrx-system commit unknown); card generator 1a34107.
Source files, fetched by loom-fetch from their own repositories:
7b92b5b, gemma-4-26B-A4B-it-qat-UD-Q4_K_XL.gguf7b92b5b, mtp-gemma-4-26B-A4B-it.ggufHave the files? Publish a torrent.
Publish a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo loom-fun-staging/unsloth-gemma-4-26B-A4B-it-qat-loom ./model-folderunsloth/gemma-4-26B-A4B-it-qat-GGUF