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.2.0"
loom-fetch huggingface:loom-draft/unsloth-gemma-4-26B-A4B-it-qat-loom:chat --materialize=copy --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 --parameter_mode=preload
--materialize=copy puts copies of the fetched package files in the output directory.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.--parameter_mode=preload only changes how the weights are loaded on the host, so the performance rows were measured without it unless their job served with it.On this GPU, the package's preset sizes the memory pool (--pool_backing=fixed commits it up front): this package serves up to 262,144 tokens per request (its native context is 262,144).
pipx install "hrx-loom[hf]==0.2.0"
loom-fetch huggingface:loom-draft/unsloth-gemma-4-26B-A4B-it-qat-loom:chat-r9700 --materialize=copy --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 --parameter_mode=preload
--materialize=copy puts copies of the fetched package files in the output directory.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.--parameter_mode=preload only changes how the weights are loaded on the host, so the performance rows were measured without it unless their job served with it.On this GPU, the package's preset sizes the memory pool (--pool_backing=fixed commits it up front): this package serves up to 36,864 tokens per request (its native context is 262,144).
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 | 66.4 | 77.8 | +12 % | 98.6 | 79 % | 69.2 |
| decode tok/s, 2k context | 56.8 | 70.6 | +24 % | 88.5 | 80 % | 57.1 |
| decode tok/s, 32k context | 47.5 | 57.1 | +20 % | 70.7 | 81 % | 46.8 |
| prefill tok/s, 1k document | 1283.3 | 1915.3 | +49 % | 9141.6 | 21 % | 1069.8 |
| prefill tok/s, 2k document | 1344.1 | 1948.8 | +45 % | 8752.8 | 22 % | 1154.1 |
| prefill tok/s, 8k document | 1322.0 | 1882.2 | +42 % | 8146.9 | 23 % | 1155.0 |
| prefill tok/s, 16k document | 1165.4 | 1692.1 | +45 % | 7470.8 | 23 % | 1048.1 |
| prefill tok/s, 32k document | 930.6 | 1440.4 | +55 % | 6407.4 | 22 % | 855.3 |
| 4 streams, aggregate decode tok/s | 152.0 | 151.1 | -1 % | 316.4 | 48 % | 141.9 |
| speculative decoding, drafted tokens accepted | n/a | n/a | n/a | n/a | n/a | n/a |
Methodology
llamacpp-rocm/b1375, llama.cpp Vulkan llamacpp-vulkan/b12211; the same GGUF, the same DevLab runner and job, the same prompts; Loom served with the active wait. Values are the median of 3 sessions (4 streams: median of 9); Loom is timed by the client, llama.cpp by its server.-ngl 99 -cram 0 -c 65536 -np 1.-ngl 99 -cram 0 -c 36864 -np 1.devlab-perf jobs); runners differ between sessions.0.2.0 (hrx-system 0cd370f); source: DevLab Dispatch run 44214639897.9759acd.roofline.py (loom-skills 70273b5); 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 | 110.7 | 174.3 | +26 % | 279.9 | 62 % | 138.7 |
| decode tok/s, 2k context | 107.4 | 156.4 | +23 % | 251.2 | 62 % | 127.4 |
| decode tok/s, 32k context | 90.1 | 132.2 | +21 % | 200.7 | 66 % | 109.6 |
| prefill tok/s, 1k document | 3084.1 | 5886.4 | +91 % | 33157.8 | 18 % | 2423.4 |
| prefill tok/s, 2k document | 3365.7 | 6281.1 | +87 % | 31747.4 | 20 % | 2922.4 |
| prefill tok/s, 8k document | 3296.6 | 6088.1 | +65 % | 29549.6 | 21 % | 3696.0 |
| prefill tok/s, 16k document | 2893.6 | 5679.3 | +61 % | 27097.5 | 21 % | 3523.2 |
| prefill tok/s, 32k document | 2259.9 | 4911.6 | +61 % | 23240.3 | 21 % | 3053.3 |
| 4 streams, aggregate decode tok/s | 307.4 | 312.9 | -6 % | 898.0 | 35 % | 332.1 |
| speculative decoding, drafted tokens accepted | n/a | n/a | n/a | n/a | n/a | n/a |
Methodology
llamacpp-rocm/b1375, llama.cpp Vulkan llamacpp-vulkan/b12211; the same GGUF, the same DevLab runner and job, the same prompts; Loom served with the active wait. Values are the median of 6 sessions (a session's value is the median of its samples: 3 samples for decode_2k, decode_32k, prefill_8k; one sample for the others) (4 streams: median of 18); Loom is timed by the client, llama.cpp by its server.-ngl 99 -cram 0 -c 36864 -np 1.-ngl 99 -cram 0 -c 36864 -np 1.devlab-perf jobs); runners differ between sessions.0.2.0 (hrx-system commit unknown); source: DevLab Dispatch run 44211022674.9759acd.roofline.py (loom-skills 70273b5); 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 | ❌ | not supported by Loom (the upstream model has it); The published QAT assistant is not available in this package. |
| image input | ❌ | not supported by Loom (the upstream model has it); Not available in this Loom package. |
| audio input / output | ❌ | not supported by Loom (the upstream model has it) |
| sampling | ✅ | temperature, top_p, top_k, seed |
| context size | ✅ | 262,144 tokens per request; Strix Halo up to 262,144 (its memory); Radeon AI PRO R9700 up to 36,864 (its memory) |
| 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 (32/32) ¹ | ✅ pass (32/32) ² |
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 | — not applicable | — not applicable |
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 | ❌ no evidence | ❌ no evidence |
decision |
Decision answers (choice, score, noul probabilities) vs llama.cpp on the same prompts | — not applicable | — not applicable |
0.2.0 (hrx-system 0cd370f).0.2.0 (hrx-system commit unknown).0.2.0 (hrx-system 0cd370f).0.2.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 3fcbe5c; hrx-loom unknown; card generator aa0cd58.
Source files, fetched by loom-fetch from their own repositories:
7b92b5b, gemma-4-26B-A4B-it-qat-UD-Q4_K_XL.gguf有文件?提交种子。
发布种子