Flint (Q4_K_M) for AMD Loom
A Loom package (.loom programs and a model.json card) for the unmodified GGUF checkpoint ggml-org/Flint-GGUF (Flint-Q4_K_M.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.
Quick start
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/ggml-org-Flint-loom:chat --output=flint
loom-serve --model=flint '--device=amdgpu://?completion_spin_ns=4294967295' --pool_backing=fixed
completion_spin_ns=4294967295enables active waiting for GPU completions (uses CPU while GPU work is in flight); the card's performance measurements use this setting.--pool_backing=fixedcommits the preset's memory pool up front instead of growing elastic backing.
AMD Radeon AI PRO R9700 (gfx1201, 32 GB)
pipx install "hrx-loom[hf]==0.3.0"
loom-fetch huggingface:loom-fun-staging/ggml-org-Flint-loom:chat-r9700 --output=flint
loom-serve --model=flint '--device=amdgpu://?completion_spin_ns=4294967295' --pool_backing=fixed
completion_spin_ns=4294967295enables active waiting for GPU completions (uses CPU while GPU work is in flight); the card's performance measurements use this setting.--pool_backing=fixedcommits the preset's memory pool up front instead of growing elastic backing.
Send a request
In another terminal:
curl http://127.0.0.1:8080/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model": "flint", "messages": [{"role": "user", "content": "Hello"}]}'
Performance vs llama.cpp
Strix Halo (gfx1151)
| metric | llama.cpp | Loom | margin vs best llama.cpp | roofline | Loom % of roofline | llama.cpp Vulkan |
|---|---|---|---|---|---|---|
| decode tok/s, short prompt | 82.8 | 112.0 | +35 % | 159.9 | 70 % | 78.2 |
| decode tok/s, 2k context | 68.7 | 78.4 | +14 % | 130.8 | 60 % | 62.8 |
| decode tok/s, 32k context | 66.8 | 59.1 | -11 % | 110.2 | 54 % | 49.3 |
| prefill tok/s, 1k document | 1351.1 | 2133.6 | +58 % | 9092.9 | 23 % | 932.8 |
| prefill tok/s, 2k document | 1420.8 | 2619.9 | +84 % | 8868.0 | 30 % | 985.9 |
| prefill tok/s, 8k document | 1380.0 | 2714.8 | +97 % | 7783.6 | 35 % | 950.8 |
| prefill tok/s, 16k document | 1268.5 | 2448.8 | +93 % | 6692.4 | 37 % | 870.7 |
| prefill tok/s, 32k document | 1077.1 | 2018.1 | +87 % | 5226.9 | 39 % | 744.1 |
| 4 streams, aggregate decode tok/s | 141.0 | 185.8 | +28 % | 387.0 | 48 % | 145.5 |
| speculative decoding, drafted tokens accepted | β | 67 % | β | n/a | n/a | n/a |
Methodology
- Compared: Loom against llama.cpp ROCm
llamacpp-rocm/b1374, llama.cpp Vulkanllamacpp-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. - llama.cpp measured on 2026-11-13 (DevLab Dispatch run 43376548212), Loom on 2026-12-01 (DevLab Dispatch run 46566366923): same runner type, different jobs (llama.cpp was not re-measured for this package).
- Out of the box on both engines: Loom serves the preset shipped in this package; llama.cpp runs its build defaults plus only the server arguments listed below (offload, context and slots, and on the 1-stream rows the drafting flags that match Loom's drafting). No tuning sweep on either engine.
- Drafting, 1-stream rows (decode, decode_2k, decode_32k, prefill): DFlash (incoai/Flint-DFlash2-GGUF / Flint-DFlash2-Q4_K_M.gguf) on both engines; draft depth: Loom 3, llama.cpp --spec-draft-n-max llama.cpp default (each engine its own). Each engine is loaded once for all these rows.
- 4 streams: both engines loaded with drafting off, 4 parallel requests, aggregate tokens per second.
- Rows: decode = short-context decode; decode_2k / decode_32k = decode after a ~2k / ~32k-token context; prefill_Nk = prompt processing of an N k-token prompt; streams4 = 4-stream aggregate decode. A margin within +-3 % (the measured same-runner noise) is a tie.
- llama.cpp ROCm server arguments:
1-stream rows: -ngl 99 -cram 0 --spec-type draft-dflash --spec-draft-model card:parameter/Flint-DFlash2-Q4_K_M.gguf -ngld 99 -c 65536 -np 1; 4 streams: -ngl 99 -cram 0 -c 65536 -kvu -np 4. - llama.cpp Vulkan server arguments:
1-stream rows: -ngl 99 -cram 0 --spec-type draft-dflash --spec-draft-model card:parameter/Flint-DFlash2-Q4_K_M.gguf -ngld 99 -c 36864 -np 1; 4 streams: -ngl 99 -cram 0 -c 147456 -np 4. - Measured on AMD DevLab Dispatch Strix Halo runners (
devlab-perfjobs); runners differ between sessions. - Margin vs best llama.cpp: (Loom / max(ROCm, Vulkan) - 1) Γ 100 %, using the available measured tokens/s for each row on this GPU. With only one valid backend, that backend is used; with neither, the margin is not measured. Raw backend values and their measurement sources are retained below and in the table.
- Measured 2026-12-01; device not recorded; hrx-loom
0.3.0(hrx-system commit unknown); source: DevLab Dispatch run 46566366923. - llama.cpp Vulkan: measured 2026-11-13; source: DevLab Dispatch run 43376548212. Archive sha256
9759acd. - Drafted tokens accepted: the share of the drafter's proposed tokens the model accepted during the
specgate's requests. - Roofline: the hardware ceiling for this GGUF on AMD Ryzen AI Max+ 395 "Strix Halo" (gfx1151) at 228 GB/s and 44 TFLOP/s sustained at 85 W (spec 59), from loom-roofline
roofline.py(loom-skillsa6e5951); decode rows with speculative decoding: verify passes Γ (1 + acceptance Γ depth 3) tokens per pass, the drafter's cost not counted, with the acceptance measured in the row's own session: decode 53 %, decode at 2k 39 %, decode at 32k 42 %; 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). - β not measured; n/a not applicable.
Radeon AI PRO R9700 (gfx1201, 32 GB)
| metric | llama.cpp | Loom | margin vs best llama.cpp | roofline | Loom % of roofline | llama.cpp Vulkan |
|---|---|---|---|---|---|---|
| decode tok/s, short prompt | 130.7 | 256.2 | +68 % | 423.0 | 61 % | 152.1 |
| decode tok/s, 2k context | 107.8 | 180.8 | +35 % | 354.4 | 51 % | 133.5 |
| decode tok/s, 32k context | 104.8 | 129.9 | +13 % | 288.5 | 45 % | 114.6 |
| prefill tok/s, 1k document | 3537.1 | 6463.2 | +83 % | 44426.3 | 15 % | 2618.2 |
| prefill tok/s, 2k document | 3860.1 | 8808.9 | +128 % | 43327.7 | 20 % | 2783.3 |
| prefill tok/s, 8k document | 3903.5 | 8974.5 | +130 % | 38029.4 | 24 % | 2743.0 |
| prefill tok/s, 16k document | 3630.2 | 8112.8 | +123 % | 32698.0 | 25 % | 2555.1 |
| prefill tok/s, 32k document | 3190.4 | 6677.9 | +109 % | 25537.8 | 26 % | 2252.1 |
| 4 streams, aggregate decode tok/s | 245.3 | 451.4 | +53 % | 1040.4 | 43 % | 294.7 |
| speculative decoding, drafted tokens accepted | β | 66 % | β | n/a | n/a | n/a |
Methodology
- Compared: Loom against llama.cpp ROCm
llamacpp-rocm/b1375, llama.cpp Vulkanllamacpp-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. - llama.cpp measured on 2026-11-15 (DevLab Dispatch run 43660094571), Loom on 2026-12-01 (DevLab Dispatch run 46566366923): same runner type, different jobs (llama.cpp was not re-measured for this package).
- Out of the box on both engines: Loom serves the preset shipped in this package; llama.cpp runs its build defaults plus only the server arguments listed below (offload, context and slots, and on the 1-stream rows the drafting flags that match Loom's drafting). No tuning sweep on either engine.
- Drafting, 1-stream rows (decode, decode_2k, decode_32k, prefill): DFlash (incoai/Flint-DFlash2-GGUF / Flint-DFlash2-Q4_K_M.gguf) on both engines; draft depth: Loom 3, llama.cpp --spec-draft-n-max llama.cpp default (each engine its own). Each engine is loaded once for all these rows.
- 4 streams: both engines loaded with drafting off, 4 parallel requests, aggregate tokens per second.
- Rows: decode = short-context decode; decode_2k / decode_32k = decode after a ~2k / ~32k-token context; prefill_Nk = prompt processing of an N k-token prompt; streams4 = 4-stream aggregate decode. A margin within +-3 % (the measured same-runner noise) is a tie.
- llama.cpp ROCm server arguments:
-ngl 99 -cram 0 --spec-type draft-dflash --spec-draft-model card:parameter/Flint-DFlash2-Q4_K_M.gguf -ngld 99 -c 40960 -np 1. - llama.cpp Vulkan server arguments:
-ngl 99 -cram 0 --spec-type draft-dflash --spec-draft-model card:parameter/Flint-DFlash2-Q4_K_M.gguf -ngld 99 -c 36864 -np 1. - Measured on AMD DevLab Dispatch R9700 runners (
devlab-perfjobs); runners differ between sessions. - Margin vs best llama.cpp: (Loom / max(ROCm, Vulkan) - 1) Γ 100 %, using the available measured tokens/s for each row on this GPU. With only one valid backend, that backend is used; with neither, the margin is not measured. Raw backend values and their measurement sources are retained below and in the table.
- Measured 2026-12-01; device not recorded; hrx-loom
0.3.0(hrx-system commit unknown); source: DevLab Dispatch run 46566366923. - llama.cpp Vulkan: measured 2026-11-15; source: DevLab Dispatch run 43660094571. Archive sha256
9759acd. - Drafted tokens accepted: the share of the drafter's proposed tokens the model accepted during the
specgate's requests. - Roofline: the hardware ceiling for this GGUF on AMD Radeon AI PRO R9700S (gfx1201, 32 GB, 2.35 GHz) at 613 GB/s and 214 TFLOP/s, from loom-roofline
roofline.py(loom-skillsa6e5951); decode rows with speculative decoding: verify passes Γ (1 + acceptance Γ depth 3) tokens per pass, the drafter's cost not counted, with the acceptance measured in the row's own session: decode 52 %, decode at 2k 40 %, decode at 32k 40 %; 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). - β not measured; n/a not applicable.
Features
| feature | status | detail |
|---|---|---|
| API | β | OpenAI-style /v1/chat/completions |
| tool calling | β | OpenAI-style tools and tool_calls |
| reasoning / thinking | β | always on |
| reasoning effort | β | not applicable |
| speculative decoding | β | DFlash, depth 3, on by default; drafter incoai/Flint-DFlash2-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) |
Correctness
| gate | description | Strix Halo | Radeon AI PRO R9700 |
|---|---|---|---|
kernel_tests |
Unit tests of the generated kernels against reference implementations | β fail ΒΉ | β fail ΒΉ |
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 | β not applicable | β not applicable |
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 |
- ΒΉ DevLab Dispatch run 46566366923, 2026-12-01; device not recorded; hrx-loom
0.3.0(hrx-system commit unknown). - Β² DevLab Dispatch run 46566366923, LEVEL=full, 2026-12-01; device not recorded; hrx-loom
0.3.0(hrx-system commit unknown). - Gates are the loom-benchmark correctness gates (
gates.sh); a gate without a recorded run shows no evidence.
Files
model.json/model.json.lock: the card and the pinned source files (sha256 checked byloom-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 a6e5951; hrx-loom 0.3.0 (hrx-system commit unknown); card generator a6e5951.
Source files, fetched by loom-fetch from their own repositories:
- checkpoint: ggml-org/Flint-GGUF @
468307a,Flint-Q4_K_M.gguf - drafter: incoai/Flint-DFlash2-GGUF @
74e6ac0,Flint-DFlash2-Q4_K_M.gguf
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support