A Loom package (.loom programs and a model.json card) for the unmodified GGUF checkpoint LessThanThreeAI/Gemma-4-31B-Humanlike-Chat-GGUF (Gemma-4-31B-Humanlike-Chat-Q4_K_M.gguf), for the AMD Ryzen AI Max+ 395 "Strix Halo" and AMD Radeon AI PRO R9700 GPUs, generated with loom-next (the generator alone, no LLM in the loop). 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/LessThanThreeAI-Gemma-4-31B-Humanlike-Chat-loom:chat --materialize=copy --output=gemma-4-31b-humanlike-chat
loom-serve --model=gemma-4-31b-humanlike-chat '--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.pipx install "hrx-loom[hf]==0.2.0"
loom-fetch huggingface:loom-draft/LessThanThreeAI-Gemma-4-31B-Humanlike-Chat-loom:chat-r9700 --materialize=copy --output=gemma-4-31b-humanlike-chat
loom-serve --model=gemma-4-31b-humanlike-chat '--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.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": "gemma-4-31b-humanlike-chat", "messages": [{"role": "user", "content": "Hello"}], "chat_template_kwargs": {"enable_thinking": false}}'
| metric | llama.cpp | Loom | margin vs best llama.cpp | roofline | Loom % of roofline |
|---|---|---|---|---|---|
| decode tok/s, short prompt | 11.0 | 11.6 | +5 % | — | — |
| decode tok/s, 2k context | 10.0 | 10.9 | +9 % | — | — |
| decode tok/s, 32k context | 8.7 | 9.3 | +7 % | — | — |
| prefill tok/s, 1k document | 274.4 | 401.8 | +46 % | — | — |
| prefill tok/s, 2k document | 286.1 | 421.3 | +47 % | — | — |
| prefill tok/s, 8k document | 277.2 | 396.7 | +43 % | — | — |
| prefill tok/s, 16k document | 246.5 | 370.3 | +50 % | — | — |
| prefill tok/s, 32k document | 201.2 | 320.1 | +59 % | — | — |
| 4 streams, aggregate decode tok/s | 34.0 | 42.3 | +24 % | — | — |
| speculative decoding, drafted tokens accepted | n/a | n/a | n/a | n/a | n/a |
Methodology
llamacpp-rocm/b1374; 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 3); Loom is timed by the client, llama.cpp by its server.-ngl 99 -cram 0 -c 65536 -np 1.devlab-perf jobs); runners differ between sessions.0.2.0 (hrx-system commit unknown, recovered); source: DevLab Dispatch run 45540933189.AMD Radeon AI PRO R9700 (gfx1201, 32 GB): the results for this package are not yet re-measured.
| 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 applicable |
| image input | ❌ | not supported by Loom (the upstream model has it) |
| audio input / output | ❌ | not supported by Loom (the upstream model has it) |
| sampling | ? | not determined |
| context size | ✅ | 55,296 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 | ❌ no evidence | — not yet re-measured |
golden |
llama.cpp reference recorded on the same GGUF: greedy tokens and top-5 log-probs, short prompts and 1k-32k documents | ❌ no evidence | — not yet re-measured |
compare |
Greedy output vs the llama.cpp reference, token by token; every divergence is a near-tie | ❌ no evidence | — not yet re-measured |
vision |
Image input vs llama.cpp with the same projector: identical prompt tokens, replies equal up to near-ties | — not applicable | — not yet re-measured |
consistency |
Concurrent requests give the same output as the same requests run alone | ❌ no evidence | — not yet re-measured |
spec |
Speculative decoding on gives exactly the output of speculative decoding off | — not applicable | — not yet re-measured |
agent |
Multi-turn tool-calling loop: exact prompt rendering, history reuse, valid tool calls, output vs llama.cpp | ❌ no evidence | — not yet re-measured |
agent_think_off |
The tool-calling loop with thinking off | ❌ no evidence | — not yet re-measured |
sampling |
temperature, top_k and seed behave as specified; first-token distribution matches llama.cpp | ❌ no evidence | — not yet re-measured |
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 | — not yet re-measured |
decision |
Decision answers (choice, score, noul probabilities) vs llama.cpp on the same prompts | — not applicable | — not yet re-measured |
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 unknown; hrx-loom unknown; card generator 6facf9a.
Source files, fetched by loom-fetch from their own repositories:
7f10ac8, Gemma-4-31B-Humanlike-Chat-Q4_K_M.ggufLessThanThreeAI/Gemma-4-31B-Humanlike-Chat-GGUF