Qwen3.5-4B (Q4_K_M) for AMD Loom
A Loom package (.loom programs and a model.json card) for the unmodified GGUF checkpoint unsloth/Qwen3.5-4B-GGUF (Qwen3.5-4B-Q4_K_M.gguf), for the AMD Ryzen AI Max+ 395 "Strix Halo", AMD Radeon AI PRO R9700, AMD Radeon gfx1201 16 GB class (RX 9070 XT, RX 9070), AMD Radeon 890M and AMD Radeon 860M 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/unsloth-Qwen3.5-4B-loom:chat --output=Qwen3.5-4B
loom-serve --model=Qwen3.5-4B '--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.
pipx install "hrx-loom[hf]==0.3.0"
loom-fetch huggingface:loom-fun-staging/unsloth-Qwen3.5-4B-loom:chat --output=Qwen3.5-4B
loom-serve --model=Qwen3.5-4B '--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.
pipx install "hrx-loom[hf]==0.3.0"
loom-fetch huggingface:loom-fun-staging/unsloth-Qwen3.5-4B-loom:chat-16gb --output=Qwen3.5-4B
loom-serve --model=Qwen3.5-4B '--device=amdgpu://?completion_spin_ns=4294967295' --memory_bytes=15000000000 --state_slab_bytes=4mib --weight_slab_bytes=64mib
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.--memory_bytessets the serving memory budget for this GPU.--state_slab_bytessets the allocation slab size for state memory.--weight_slab_bytessets the allocation slab size for weight memory.
On this GPU, --memory_bytes=15000000000 bounds the memory pool: this package serves up to 151,552 tokens per request (its native context is 262,144).
pipx install "hrx-loom[hf]==0.3.0"
loom-fetch huggingface:loom-fun-staging/unsloth-Qwen3.5-4B-loom:chat-gfx1150 --output=Qwen3.5-4B
loom-serve --model=Qwen3.5-4B '--device=amdgpu://?completion_spin_ns=4294967295' --memory_bytes=14000000000
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.--memory_bytessets the serving memory budget for this GPU.
On this GPU, --memory_bytes=14000000000 bounds the memory pool: this package serves up to 63,488 tokens per request (its native context is 262,144).
pipx install "hrx-loom[hf]==0.3.0"
loom-fetch huggingface:loom-fun-staging/unsloth-Qwen3.5-4B-loom:chat-gfx1152 --output=Qwen3.5-4B
loom-serve --model=Qwen3.5-4B '--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.
On this GPU, the package's preset sizes the memory pool (--pool_backing=fixed commits it up front): this package serves up to 40,960 tokens per request (its native context is 262,144).
Send a request
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": "Qwen/Qwen3.5-4B", "messages": [{"role": "user", "content": "Hello"}], "chat_template_kwargs": {"enable_thinking": false}}'
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 | 55.9 | 87.6 § | +57 % | 156.7 | 56 % | 49.9 |
| decode tok/s, 2k context | 58.8 | 84.2 § | +43 % | 178.3 | 47 % | 48.4 |
| decode tok/s, 32k context | 49.0 | 64.2 § | +31 % | 128.7 | 50 % | 31.9 |
| prefill tok/s, 1k document | 1681.3 | 2839.5 § | +69 % | 8188.4 | 35 % | 1361.5 |
| prefill tok/s, 2k document | 1776.6 | 2888.9 § | +63 % | 8114.6 | 36 % | 1436.9 |
| prefill tok/s, 8k document | 1761.1 | 2889.1 § | +64 % | 7698.3 | 38 % | 1453.6 |
| prefill tok/s, 16k document | 1614.1 | 2668.5 § | +65 % | 7205.4 | 37 % | 1356.8 |
| prefill tok/s, 32k document | 1352.6 | 2322.1 § | +72 % | 6387.4 | 36 % | 1152.6 |
| 4 streams, aggregate decode tok/s | 166.0 | 228.2 § | +37 % | 307.6 | 74 % | 160.5 |
| speculative decoding, drafted tokens accepted | — | 53 % § | — | 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 3 sessions (4 streams: median of 6); Loom is timed by the client, llama.cpp by its server. - llama.cpp measured on 2026-11-13 (DevLab Dispatch run 43400168275), Loom on 2026-11-17 (DevLab Dispatch run 44088715568): 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 (magnitudedev/Qwen3.5-4B-DFlash-GGUF / Qwen3.5-4B-DFlash-Q8_0.gguf) on both engines; draft depth: Loom 3, llama.cpp --spec-draft-n-max 7 (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 hf:AtomicChat/Qwen3.5-4B-DFlash-GGUF/Qwen3.5-4B-DFlash.Q8_0.gguf --spec-draft-n-max 7 -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 hf:AtomicChat/Qwen3.5-4B-DFlash-GGUF/Qwen3.5-4B-DFlash.Q8_0.gguf --spec-draft-n-max 7 -ngld 99 -c 36864 -np 1; 4 streams: -ngl 99 -cram 0 -c 147456 -np 4. - Not supported / not measured: llama.cpp ROCm: llama.cpp loads AtomicChat/Qwen3.5-4B-DFlash-GGUF (a conversion of the same z-lab/Qwen3.5-4B-DFlash drafter): the card's magnitudedev conversion fails to load in llama.cpp b1374/b12211; llama.cpp Vulkan: llama.cpp loads AtomicChat/Qwen3.5-4B-DFlash-GGUF (a conversion of the same z-lab/Qwen3.5-4B-DFlash drafter): the card's magnitudedev conversion fails to load in llama.cpp b1374/b12211.
- 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-11-17; device AMD Strix Halo (DevLab Dispatch runner X2-LA03-S01-D07), Linux; hrx-loom
0.2.0(hrx-system0cd370f, recovered); source: DevLab Dispatch run 44088715568. - llama.cpp Vulkan: measured 2026-11-13; source: DevLab Dispatch run 43400168275. Archive sha256
9759acd. - § Measured on SDK 0.2.0.
- 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 216 GB/s and 59 TFLOP/s, from loom-roofline
roofline.py(loom-skills8fef91d); 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 33 %, decode at 2k 44 %, decode at 32k 42 %; 4 streams run without drafting, so its ceiling is single-pass. - — 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 | 94.0 | 202.2 | +64 % | 224.5 | 90 % | 123.4 |
| decode tok/s, 2k context | 109.9 | 194.1 | +61 % | 219.3 | 89 % | 120.9 |
| decode tok/s, 32k context | 100.9 | 142.8 | +42 % | 162.2 | 88 % | 91.4 |
| prefill tok/s, 1k document | 4985.2 | 8221.7 | +65 % | 29700.4 | 28 % | 4154.3 |
| prefill tok/s, 2k document | 5555.1 | 8662.7 | +56 % | 29432.7 | 29 % | 4541.5 |
| prefill tok/s, 8k document | 5811.0 | 8828.2 | +52 % | 27922.6 | 32 % | 4650.6 |
| prefill tok/s, 16k document | 5496.7 | 8190.8 | +49 % | 26134.8 | 31 % | 4378.2 |
| prefill tok/s, 32k document | 4896.7 | 7128.3 | +46 % | 23167.9 | 31 % | 3855.0 |
| 4 streams, aggregate decode tok/s | 332.4 | 534.0 | +37 % | 888.4 | 60 % | 390.9 |
| speculative decoding, drafted tokens accepted | — | 1.15 per pass | — | 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 (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 12); Loom is timed by the client, llama.cpp by its server. - llama.cpp measured on 2026-11-14 (DevLab Dispatch run 43633451014), Loom on 2026-11-25 (DevLab Dispatch run 45549394252): 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 (magnitudedev/Qwen3.5-4B-DFlash-GGUF / Qwen3.5-4B-DFlash-Q8_0.gguf) on both engines; draft depth: Loom 3, llama.cpp --spec-draft-n-max 7 (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 hf:AtomicChat/Qwen3.5-4B-DFlash-GGUF/Qwen3.5-4B-DFlash.Q8_0.gguf --spec-draft-n-max 7 -ngld 99 -c 65536 -np 1. - llama.cpp Vulkan server arguments:
-ngl 99 -cram 0 --spec-type draft-dflash --spec-draft-model hf:AtomicChat/Qwen3.5-4B-DFlash-GGUF/Qwen3.5-4B-DFlash.Q8_0.gguf --spec-draft-n-max 7 -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-11-25; device DevLab Dispatch runner ephemeral-devlab-sm-01-02-r9700s-7-138985639981, AMD Radeon AI PRO R9700S (gfx1201), Linux; hrx-loom
0.3.0(hrx-systeme2c41a7); source: DevLab Dispatch run 45549394252. - llama.cpp Vulkan: measured 2026-11-14; source: DevLab Dispatch run 43633451014. Archive sha256
9759acd. - Drafted tokens accepted per verification pass during the measuring session's requests: accepted drafted tokens / verification passes, from loom-serve's counters (passes = decoded positions - accepted drafted tokens). hrx-loom 0.3.0 reports no drafter proposal count for this package's service ABI 1 controller (
proposed_tokensis null), so the share of proposals accepted is not measured; it is never derived from the configured draft depth, which is a ceiling. - 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-skills135e2f3); single-pass ceiling (no acceptance measured on this package) for decode, decode at 2k, decode at 32k; 4 streams run without drafting, so its ceiling is single-pass. - — not measured; n/a not applicable.
Radeon gfx1201, 16 GB (RX 9070 XT, RX 9070)
| metric | llama.cpp | Loom | margin vs best llama.cpp | roofline | Loom % of roofline |
|---|---|---|---|---|---|
| decode tok/s, short prompt | 94.6 | 202.5 § | +114 % | — | — |
| decode tok/s, 2k context | 107.6 | 197.7 § | +84 % | — | — |
| decode tok/s, 32k context | 101.1 | 146.3 § | +45 % | — | — |
| prefill tok/s, 1k document | 5134.4 | 8016.4 § | +56 % | — | — |
| prefill tok/s, 2k document | 5565.4 | 8526.0 § | +53 % | — | — |
| prefill tok/s, 8k document | 5804.9 | 8609.7 § | +48 % | — | — |
| prefill tok/s, 16k document | 5461.8 | 8073.1 § | +48 % | — | — |
| prefill tok/s, 32k document | 4850.8 | 6936.4 § | +43 % | — | — |
| 4 streams, aggregate decode tok/s | 333.5 | 542.2 § | +63 % | — | — |
| speculative decoding, drafted tokens accepted | — | — | — | n/a | n/a |
Methodology
- Compared: Loom against llama.cpp ROCm
llamacpp-rocm/b1375; the same GGUF, the same machine and session, the same prompts; Loom served with the active wait. Values are the median of 2 sessions (4 streams: median of 6); Loom is timed by the client, llama.cpp by its server. - 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 (magnitudedev/Qwen3.5-4B-DFlash-GGUF / Qwen3.5-4B-DFlash-Q8_0.gguf) on both engines; draft depth: Loom 3, llama.cpp --spec-draft-n-max 7 (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 hf:AtomicChat/Qwen3.5-4B-DFlash-GGUF/Qwen3.5-4B-DFlash.Q8_0.gguf --spec-draft-n-max 7 -ngld 99 -c 65536 -np 1. - Measured on AMD Ryzen 7 9800X3D 8-Core Processor, AMD Radeon RX 9070 XT, Ubuntu 26.04, a named machine (this GPU has no DevLab runner); both engines ran on it.
- 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-11-16; device AMD Ryzen 7 9800X3D 8-Core Processor, AMD Radeon RX 9070 XT, Ubuntu 26.04; hrx-loom
0.2.0(hrx-system0cd370f); source: named-machine run. - § Measured on SDK 0.2.0.
- Drafted tokens accepted: the share of the drafter's proposed tokens the model accepted during the
specgate's requests. - Roofline: not computed.
- — not measured; n/a not applicable.
Radeon 890M (gfx1150)
| metric | llama.cpp | Loom | margin vs best llama.cpp | roofline | Loom % of roofline | llama.cpp Vulkan |
|---|---|---|---|---|---|---|
| decode tok/s, short prompt | 21.7 | 31.1 † § | +43 % | 35.2 | 88 % | 21.1 |
| decode tok/s, 2k context | 24.0 | 28.2 † § | +18 % | 34.3 | 82 % | 21.2 |
| decode tok/s, 32k context | 17.2 | 22.4 † § | +30 % | 25.4 | 88 % | 14.5 |
| prefill tok/s, 1k document | 702.7 | 995.5 † § | +42 % | 3303.1 | 30 % | 608.0 |
| prefill tok/s, 2k document | 703.4 | 1016.4 † § | +44 % | 3273.4 | 31 % | 640.5 |
| prefill tok/s, 8k document | 624.7 | 1021.2 † § | +62 % | 3105.4 | 33 % | 631.5 |
| prefill tok/s, 16k document | 497.2 | 1040.7 † § | +78 % | 2906.6 | 36 % | 583.4 |
| prefill tok/s, 32k document | 356.8 | 929.2 † § | +88 % | 2576.6 | 36 % | 495.1 |
| 4 streams, aggregate decode tok/s | 74.4 | 82.3 † § | +11 % | 136.7 | 60 % | 69.4 |
| speculative decoding, drafted tokens accepted | — | 53 % † § | — | 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 machine and session, the same prompts; Loom served with the active wait. Values are the median of 1 sessions (a session's value is the median of its samples: 2 samples for decode, decode_2k, decode_32k, prefill_1k, prefill_2k, prefill_8k, prefill_16k, prefill_32k) (4 streams: median of 3); Loom is timed by the client, llama.cpp by its server. - 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 (magnitudedev/Qwen3.5-4B-DFlash-GGUF / Qwen3.5-4B-DFlash-Q8_0.gguf) on both engines; draft depth: Loom 3, llama.cpp --spec-draft-n-max 7 (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 hf:AtomicChat/Qwen3.5-4B-DFlash-GGUF/Qwen3.5-4B-DFlash.Q8_0.gguf --spec-draft-n-max 7 -ngld 99 -c 65536 -np 1. - llama.cpp Vulkan server arguments:
-ngl 99 -cram 0 --spec-type draft-dflash --spec-draft-model hf:AtomicChat/Qwen3.5-4B-DFlash-GGUF/Qwen3.5-4B-DFlash.Q8_0.gguf --spec-draft-n-max 7 -ngld 99 -c 36864 -np 1. - Measured on AMD Ryzen AI 9 HX 375 w/ Radeon 890M (HP OmniBook Ultra 14, 32 GB LPDDR5X-7500; local machine hp-omni-1, not a DevLab runner), AMD Radeon 890M Graphics (gfx1150), Ubuntu 26.04, Linux 7.0.0-43-generic, a named machine (this GPU has no DevLab runner); both engines ran on it.
- 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-11-16; device AMD Ryzen AI 9 HX 375 w/ Radeon 890M (HP OmniBook Ultra 14, 32 GB LPDDR5X-7500; local machine hp-omni-1, not a DevLab runner), AMD Radeon 890M Graphics (gfx1150), Ubuntu 26.04, Linux 7.0.0-43-generic; hrx-loom
0.2.0(hrx-system0cd370f); source: named-machine run. - llama.cpp Vulkan: measured 2026-11-16; source: named-machine run. Archive sha256
9759acd. - † Measured on programs other than this repository's (sha256
0d6ec6f, this repository's6a47f53): the value describes another build of the package until a session re-measures it. - § Measured on SDK 0.2.0.
- 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 890M (gfx1150) at 96 GB/s and 24 TFLOP/s, from loom-roofline
roofline.py(loom-skills0c53160); single-pass ceiling (no acceptance measured on this package) for decode, decode at 2k, decode at 32k; 4 streams run without drafting, so its ceiling is single-pass. - — not measured; n/a not applicable.
Radeon 860M (gfx1152)
| metric | llama.cpp | Loom | margin vs best llama.cpp | roofline | Loom % of roofline | llama.cpp Vulkan |
|---|---|---|---|---|---|---|
| decode tok/s, short prompt | 9.7 | 16.1 § | +66 % | 92.9 | 17 % | 7.8 |
| decode tok/s, 2k context | 10.6 | 11.5 § | +8 % | 98.1 | 12 % | 8.2 |
| decode tok/s, 32k context | 7.3 | 10.5 § | +44 % | 73.6 | 14 % | 5.6 |
| prefill tok/s, 1k document | 382.8 | 554.1 § | +45 % | 1705.4 | 32 % | 295.5 |
| prefill tok/s, 2k document | 389.9 | 557.4 § | +43 % | 1690.0 | 33 % | 298.7 |
| prefill tok/s, 8k document | 357.1 | 503.6 § | +41 % | 1603.3 | 31 % | 280.4 |
| prefill tok/s, 16k document | 318.2 | 476.6 § | +50 % | 1500.7 | 32 % | 244.8 |
| prefill tok/s, 32k document | 256.1 | 348.3 § | +36 % | 1330.3 | 26 % | 201.7 |
| 4 streams, aggregate decode tok/s | 24.9 | 48.0 § | +93 % | 185.5 | 26 % | 21.3 |
| speculative decoding, drafted tokens accepted | — | 57 % § | — | n/a | n/a | n/a |
Methodology
- Compared: Loom against llama.cpp ROCm
llamacpp-rocm/b1382, llama.cpp Vulkanllamacpp-vulkan/b12211; the same GGUF and prompt workloads, with matched measurements from the same XSJ lab run. 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. - 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 on both engines, using magnitudedev/Qwen3.5-4B-DFlash-GGUF / Qwen3.5-4B-DFlash-Q8_0.gguf in Loom and the drafter files listed in the llama.cpp server arguments; draft depth: Loom 3, llama.cpp --spec-draft-n-max 7 (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 --device ROCm0 --spec-type draft-dflash --spec-draft-model hf:AtomicChat/Qwen3.5-4B-DFlash-GGUF@56b80828981c35dff23affb49820e9ef816048f0/Qwen3.5-4B-DFlash.Q8_0.gguf --spec-draft-n-max 7 -ngld 99 -c 40960 -np 1. - llama.cpp Vulkan server arguments:
-ngl 99 -cram 0 --device Vulkan0 --spec-type draft-dflash --spec-draft-model hf:AtomicChat/Qwen3.5-4B-DFlash-GGUF@56b80828981c35dff23affb49820e9ef816048f0/Qwen3.5-4B-DFlash.Q8_0.gguf --spec-draft-n-max 7 -ngld 99 -c 36864 -np 1. - llama.cpp ROCm four-stream server arguments:
-ngl 99 -cram 0 --device ROCm0 -c 40960 -kvu -np 4. - Loom: A 40,882-token context probe completed, and the server did not cancel a separate admitted request within 60 seconds.
- llama.cpp Vulkan four-stream server arguments:
-ngl 99 -cram 0 --device Vulkan0 -c 147456 -np 4. - Measurement sources record the XSJ lab run ID and leased host.
- 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-11-20; device
amd-krk-1(gfx1152), AMD Ryzen AI 7 350 w/ Radeon 860M, AMD Radeon(TM) 860M Graphics, Windows 11 25H2, driver32.0.31041.1004; hrx-loom0.2.0(install fingerprint70833302d4fb265c); source: XSJ lab run 20261120-165434-x69y. - llama.cpp Vulkan: measured 2026-11-20; source: XSJ lab run 20261120-165434-x69y; device
amd-krk-1(gfx1152), AMD Ryzen AI 7 350 w/ Radeon 860M, AMD Radeon(TM) 860M Graphics, Windows 11 25H2, driver32.0.31041.1004; hrx-loom0.2.0(install fingerprint70833302d4fb265c). Archive sha25620954cb. - § Measured on SDK 0.2.0.
- 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 860M (gfx1152, LPDDR5X-8000 spec) at 128 GB/s and 12 TFLOP/s, from loom-roofline
roofline.py(loom-skills16cd651); 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 33 %, decode at 2k 38 %, decode at 32k 39 %; 4 streams run without drafting, so its ceiling is single-pass. - — 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 | ✅ | off by default; chat_template_kwargs: {"enable_thinking": true} turns it on |
| reasoning effort | — | not applicable |
| speculative decoding | ✅ | DFlash, depth 3, on by default; drafter magnitudedev/Qwen3.5-4B-DFlash-GGUF |
| image input | ✅ | OpenAI-style image_url parts; projector mmproj-F16.gguf |
| audio input / output | — | not applicable |
| sampling | ✅ | temperature, top_p, top_k, seed |
| context size | ✅ | 262,144 tokens per request; Radeon gfx1201 16 GB up to 151,552 (its memory); Radeon 890M up to 63,488 (its memory); Radeon 860M up to 40,960 (its memory) |
| concurrency | ✅ | 4 concurrent requests |
| max output tokens | ✅ | 4,096 (preset max_tokens) |
Correctness
| gate | description | Strix Halo | Radeon AI PRO R9700 | Radeon gfx1201 16 GB | Radeon 890M | Radeon 860M |
|---|---|---|---|---|---|---|
kernel_tests |
Unit tests of the generated kernels against reference implementations | ? pass (73/73), measured on SDK 0.2.0 ¹ | ✅ pass (112/112) ² | ❌ no evidence | ❌ no evidence | ❌ no evidence |
golden |
llama.cpp reference recorded on the same GGUF: greedy tokens and top-5 log-probs, short prompts and 1k-32k documents | ? pass, measured on SDK 0.2.0 ³ | ✅ pass ⁴ | ❌ no evidence | ? not re-run on this package (the last pass was on a previous build, sha256 0d6ec6f; the nightly gates re-run it) |
? pass, measured on SDK 0.2.0 ⁵ |
compare |
Greedy output vs the llama.cpp reference, token by token; every divergence is a near-tie | ? pass, measured on SDK 0.2.0 ³ | ✅ pass ⁴ | ❌ no evidence | ? not re-run on this package (the last pass was on a previous build, sha256 0d6ec6f; the nightly gates re-run it) |
? pass, measured on SDK 0.2.0 ⁵ |
vision |
Image input vs llama.cpp with the same projector: identical prompt tokens, replies equal up to near-ties | ? pass, measured on SDK 0.2.0 ³ | ✅ pass ⁴ | ❌ no evidence | ? not re-run on this package (the last pass was on a previous build, sha256 0d6ec6f; the nightly gates re-run it) |
? pass, measured on SDK 0.2.0 ⁵ |
consistency |
Concurrent requests give the same output as the same requests run alone | ? pass, measured on SDK 0.2.0 ³ | ✅ pass ⁴ | ❌ no evidence | ? not re-run on this package (the last pass was on a previous build, sha256 0d6ec6f; the nightly gates re-run it) |
? pass, measured on SDK 0.2.0 ⁵ |
spec |
Speculative decoding on gives exactly the output of speculative decoding off | ? pass, measured on SDK 0.2.0 ³ | ✅ pass ⁴ | ❌ no evidence | ? not re-run on this package (the last pass was on a previous build, sha256 0d6ec6f; the nightly gates re-run it) |
? pass, measured on SDK 0.2.0 ⁵ |
agent |
Multi-turn tool-calling loop: exact prompt rendering, history reuse, valid tool calls, output vs llama.cpp | ? pass, measured on SDK 0.2.0 ³ | ✅ pass ⁴ | ❌ no evidence | ? not re-run on this package (the last pass was on a previous build, sha256 0d6ec6f; the nightly gates re-run it) |
? pass, measured on SDK 0.2.0 ⁵ |
agent_think_off |
The tool-calling loop with thinking off | ? pass, measured on SDK 0.2.0 ³ | ✅ pass ⁴ | ❌ no evidence | ? not re-run on this package (the last pass was on a previous build, sha256 0d6ec6f; the nightly gates re-run it) |
? pass, measured on SDK 0.2.0 ⁵ |
sampling |
temperature, top_k and seed behave as specified; first-token distribution matches llama.cpp | ? pass, measured on SDK 0.2.0 ³ | ✅ pass ⁴ | ❌ no evidence | ? not re-run on this package (the last pass was on a previous build, sha256 0d6ec6f; the nightly gates re-run it) |
? pass, measured on SDK 0.2.0 ⁵ |
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 | ? not re-run on this package (the last pass was on a previous build, sha256 1b31c06; the nightly gates re-run it) |
? not re-run on this package (the last pass was on a previous build, sha256 1b31c06; the nightly gates re-run it) |
❌ no evidence | ❌ no evidence | ❌ no evidence |
decision |
Decision answers (choice, score, noul probabilities) vs llama.cpp on the same prompts | — not applicable | — not applicable | — not applicable | — not applicable | — not applicable |
- ¹ DevLab Dispatch run 44088715568, 2026-11-17; device AMD Strix Halo (DevLab Dispatch runner X2-LA03-S01-D07), Linux; hrx-loom
0.2.0(hrx-system0cd370f, recovered). - ² DevLab Dispatch run 45549394252, 2026-11-25; device DevLab Dispatch runner ephemeral-devlab-sm-01-02-r9700s-7-138985639981, AMD Radeon AI PRO R9700S (gfx1201), Linux; hrx-loom
0.3.0(hrx-systeme2c41a7). - ³ DevLab Dispatch run 44088715568, LEVEL=dev, 2026-11-17; device AMD Strix Halo (DevLab Dispatch runner X2-LA03-S01-D07), Linux; hrx-loom
0.2.0(hrx-system0cd370f, recovered). - ⁴ DevLab Dispatch run 45549394252, LEVEL=dev, 2026-11-25; device DevLab Dispatch runner ephemeral-devlab-sm-01-02-r9700s-7-138985639981, AMD Radeon AI PRO R9700S (gfx1201), Linux; hrx-loom
0.3.0(hrx-systeme2c41a7). - ⁵ XSJ lab run 20261120-165434-x69y, LEVEL=full, 2026-11-20; device
amd-krk-1(gfx1152), AMD Ryzen AI 7 350 w/ Radeon 860M, AMD Radeon(TM) 860M Graphics, Windows 11 25H2, driver32.0.31041.1004; hrx-loom0.2.0(install fingerprint70833302d4fb265c). - 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 none (generated by the loom-skills kit; the package records no generator commit); hrx-loom 0.3.0 (hrx-system e2c41a7); card generator 7d3c4a9.
Source files, fetched by loom-fetch from their own repositories:
- checkpoint: unsloth/Qwen3.5-4B-GGUF @
e87f176,Qwen3.5-4B-Q4_K_M.gguf - drafter: magnitudedev/Qwen3.5-4B-DFlash-GGUF @
0094e74,Qwen3.5-4B-DFlash-Q8_0.gguf - projector: unsloth/Qwen3.5-4B-GGUF @
e87f176,mmproj-F16.gguf