Llama-3.2-3B-Instruct (Q4_K_M) for AMD Loom

A Loom package (.loom programs and a model.json card) for the unmodified GGUF checkpoint unsloth/Llama-3.2-3B-Instruct-GGUF (Llama-3.2-3B-Instruct-Q4_K_M.gguf), for the AMD Ryzen AI Max+ 395 "Strix Halo", AMD Radeon AI PRO R9700 and AMD Radeon gfx1201 16 GB class (RX 9070 XT, RX 9070) 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.2.0"
loom-fetch huggingface:loom-fun/unsloth-Llama-3.2-3B-Instruct-loom:chat --materialize=copy --output=Llama-3.2-3B-Instruct
loom-serve --model=Llama-3.2-3B-Instruct '--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.
AMD Radeon AI PRO R9700 (gfx1201, 32 GB)
pipx install "hrx-loom[hf]==0.2.0"
loom-fetch huggingface:loom-fun/unsloth-Llama-3.2-3B-Instruct-loom:chat --materialize=copy --output=Llama-3.2-3B-Instruct
loom-serve --model=Llama-3.2-3B-Instruct '--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.
Radeon gfx1201, 16 GB (RX 9070 XT, RX 9070)
pipx install "hrx-loom[hf]==0.2.0"
loom-fetch huggingface:loom-fun/unsloth-Llama-3.2-3B-Instruct-loom:chat-16gb --materialize=copy --output=Llama-3.2-3B-Instruct
loom-serve --model=Llama-3.2-3B-Instruct '--device=amdgpu://?completion_spin_ns=4294967295' --memory_bytes=15000000000 --state_slab_bytes=4mib --weight_slab_bytes=64mib --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.
  • --memory_bytes sets the serving memory budget for this GPU.
  • --state_slab_bytes sets the allocation slab size for state memory.
  • --weight_slab_bytes sets the allocation slab size for weight memory.
  • --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, --memory_bytes=15000000000 bounds the memory pool: this package serves up to 104,448 tokens per request (its native context is 131,072).

Send a request

In another terminal:

curl http://127.0.0.1:8080/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{"model": "meta-llama/Llama-3.2-3B-Instruct", "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 90.2 97.1 +8 % 107.4 90 % 90.1
decode tok/s, 2k context 71.6 84.6 +7 % 96.4 88 % 79.3
decode tok/s, 32k context 16.5 37.1 +5 % 38.0 98 % 35.2
prefill tok/s, 1k document 2625.7 3884.3 +48 % 10156.3 38 % 2226.4
prefill tok/s, 2k document 2579.9 3881.0 +50 % 9864.2 39 % 2158.0
prefill tok/s, 8k document 2085.7 3396.6 +63 % 8412.5 40 % 1706.5
prefill tok/s, 16k document 1594.1 2394.0 +50 % 7032.5 34 % 1323.5
prefill tok/s, 32k document 1074.6 1810.4 +68 % 5295.2 34 % 920.2
4 streams, aggregate decode tok/s 254.6 353.9 +29 % 377.8 94 % 274.1
speculative decoding, drafted tokens accepted n/a n/a n/a n/a n/a n/a

Methodology

  • Compared: Loom against llama.cpp ROCm llamacpp-rocm/b1374, 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 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 43392598780), Loom on 2026-11-17 (DevLab Dispatch run 44088702163): 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). No tuning sweep on either engine.
  • Drafting, 1-stream rows (decode, decode_2k, decode_32k, prefill): no drafting on either engine (no MTP head in the GGUF and no drafter published for this exact model). 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 -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 -c 36864 -np 1; 4 streams: -ngl 99 -cram 0 -c 147456 -np 4.
  • Measured on AMD DevLab Dispatch Strix Halo runners (devlab-perf jobs); 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-D01), Linux; hrx-loom 0.2.0 (hrx-system 0cd370f, recovered); source: DevLab Dispatch run 44088702163.
  • llama.cpp Vulkan: measured 2026-11-13; source: DevLab Dispatch run 43392598780. Archive sha256 9759acd.
  • 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-skills b03c0be).
  • β€” 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 183.9 229.5 +9 % 304.7 75 % 211.1
decode tok/s, 2k context 172.1 194.2 +0 % 273.5 71 % 193.5
decode tok/s, 32k context 86.7 92.7 -1 % 107.9 86 % 93.8
prefill tok/s, 1k document 9319.8 12075.5 +30 % 36838.3 33 % 6493.8
prefill tok/s, 2k document 9264.4 13216.9 +43 % 35778.7 37 % 6786.1
prefill tok/s, 8k document 7446.6 11307.8 +52 % 30513.0 37 % 5869.1
prefill tok/s, 16k document 5738.8 8910.2 +55 % 25507.6 35 % 4736.2
prefill tok/s, 32k document 3908.4 5922.4 +52 % 19206.3 31 % 3409.2
4 streams, aggregate decode tok/s 510.6 836.2 +22 % 1072.2 78 % 684.9
speculative decoding, drafted tokens accepted n/a n/a n/a n/a n/a n/a

Methodology

  • Compared: Loom against llama.cpp ROCm 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 3 sessions (4 streams: median of 6); Loom is timed by the client, llama.cpp by its server.
  • llama.cpp measured on 2026-11-15 (DevLab Dispatch run 43655173096), Loom on 2026-11-17 (DevLab Dispatch run 43993251192): 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). No tuning sweep on either engine.
  • Drafting, 1-stream rows (decode, decode_2k, decode_32k, prefill): no drafting on either engine (no MTP head in the GGUF and no drafter published for this exact model). 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 -c 65536 -np 1.
  • llama.cpp Vulkan server arguments: -ngl 99 -cram 0 -c 36864 -np 1.
  • Measured on AMD DevLab Dispatch R9700 runners (devlab-perf jobs); 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 DevLab Dispatch runner ephemeral-devlab-sm-01-02-r9700s-2-133738799762, AMD Radeon AI PRO R9700S (gfx1201), Linux; hrx-loom 0.2.0 (hrx-system commit unknown, recovered); source: DevLab Dispatch run 43993251192.
  • llama.cpp Vulkan: measured 2026-11-15; source: DevLab Dispatch run 43655173096. Archive sha256 9759acd.
  • 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-skills 203cf33).
  • β€” not measured; n/a not applicable.

Radeon RX 9070 XT

metric llama.cpp Loom margin vs best llama.cpp roofline Loom % of roofline llama.cpp Vulkan
decode tok/s, short prompt 184.4 229.7 +7 % 318.2 72 % 214.0
decode tok/s, 2k context 171.3 191.9 -2 % 285.6 67 % 196.5
decode tok/s, 32k context 88.0 93.1 -2 % 112.6 83 % 94.7
prefill tok/s, 1k document 9219.3 11254.2 +22 % 33498.7 34 % 7856.2
prefill tok/s, 2k document 9223.7 12490.7 +35 % 32535.2 38 % 8315.9
prefill tok/s, 8k document 7349.3 10793.2 +47 % 27746.9 39 % 7146.3
prefill tok/s, 16k document 5564.3 8651.6 +50 % 23195.2 37 % 5763.1
prefill tok/s, 32k document 3834.4 5481.4 +33 % 17465.2 31 % 4135.3
4 streams, aggregate decode tok/s 510.2 829.3 +34 % 1119.5 74 % 617.0
speculative decoding, drafted tokens accepted n/a n/a n/a n/a n/a n/a

Methodology

  • Compared: Loom against llama.cpp ROCm llamacpp-rocm/b1375, llama.cpp Vulkan llamacpp-vulkan/b12211; the same GGUF, the same machine and session, 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.
  • 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). No tuning sweep on either engine.
  • Drafting, 1-stream rows (decode, decode_2k, decode_32k, prefill): no drafting on either engine (no MTP head in the GGUF and no drafter published for this exact model). 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 -c 65536 -np 1.
  • llama.cpp Vulkan server arguments: -ngl 99 -cram 0 -c 36864 -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-17; device AMD Ryzen 7 9800X3D 8-Core Processor, AMD Radeon RX 9070 XT, Ubuntu 26.04; hrx-loom 0.2.0 (hrx-system 0cd370f); source: named-machine run.
  • llama.cpp Vulkan: measured 2026-11-17; source: named-machine run. Archive sha256 9759acd.
  • Roofline: the hardware ceiling for this GGUF on AMD Radeon RX 9070 XT (gfx1201, 16 GB) at 640 GB/s and 195 TFLOP/s, from loom-roofline roofline.py (loom-skills 963ead9).
  • β€” 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 β€” not applicable
reasoning effort β€” not applicable
speculative decoding β€” not applicable
image input β€” not applicable
audio input / output β€” not applicable
sampling βœ… temperature, top_p, top_k, seed
context size βœ… 131,072 tokens per request; Radeon gfx1201 16 GB up to 104,448 (its memory)
concurrency βœ… 4 concurrent requests
max output tokens βœ… 4,096 (preset max_tokens)

Correctness

gate description Strix Halo Radeon AI PRO R9700 Radeon RX 9070 XT
kernel_tests Unit tests of the generated kernels against reference implementations βœ… pass (59/59) ΒΉ βœ… pass (59/59) Β² ❌ 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 Β³ βœ… pass ⁴ βœ… pass ⁡
compare Greedy output vs the llama.cpp reference, token by token; every divergence is a near-tie βœ… pass Β³ βœ… 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 β€” not applicable
consistency Concurrent requests give the same output as the same requests run alone βœ… pass Β³ βœ… pass ⁴ βœ… pass ⁡
spec Speculative decoding on gives exactly the output of speculative decoding off β€” not applicable β€” not applicable β€” not applicable
agent Multi-turn tool-calling loop: exact prompt rendering, history reuse, valid tool calls, output vs llama.cpp βœ… pass Β³ βœ… pass ⁴ βœ… pass ⁡
agent_think_off The tool-calling loop with thinking off β€” not applicable β€” not applicable β€” not applicable
sampling temperature, top_k and seed behave as specified; first-token distribution matches llama.cpp βœ… pass Β³ βœ… 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 ? not re-run on this package (the last pass was on a previous build, sha256 752eb5e; the nightly gates re-run it) ? not re-run on this package (the last pass was on a previous build, sha256 752eb5e; the nightly gates re-run it) ❌ no evidence
decision Decision answers (choice, score, noul probabilities) vs llama.cpp on the same prompts β€” not applicable β€” not applicable β€” not applicable
  • ΒΉ DevLab Dispatch run 44088702163, 2026-11-17; device AMD Strix Halo (DevLab Dispatch runner X2-LA03-S01-D01), Linux; hrx-loom 0.2.0 (hrx-system 0cd370f, recovered).
  • Β² DevLab Dispatch run 43993251192, 2026-11-17; device DevLab Dispatch runner ephemeral-devlab-sm-01-02-r9700s-2-133738799762, AMD Radeon AI PRO R9700S (gfx1201), Linux; hrx-loom 0.2.0 (hrx-system commit unknown, recovered).
  • Β³ DevLab Dispatch run 44088702163, LEVEL=dev, 2026-11-17; device AMD Strix Halo (DevLab Dispatch runner X2-LA03-S01-D01), Linux; hrx-loom 0.2.0 (hrx-system 0cd370f, recovered).
  • ⁴ DevLab Dispatch run 43993251192, LEVEL=dev, 2026-11-17; device DevLab Dispatch runner ephemeral-devlab-sm-01-02-r9700s-2-133738799762, AMD Radeon AI PRO R9700S (gfx1201), Linux; hrx-loom 0.2.0 (hrx-system commit unknown, recovered).
  • ⁡ named-machine run, LEVEL=dev, 2026-11-17; device AMD Ryzen 7 9800X3D 8-Core Processor, AMD Radeon RX 9070 XT, Ubuntu 26.04; hrx-loom 0.2.0 (hrx-system 0cd370f).
  • 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 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 926f475.

Source files, fetched by loom-fetch from their own repositories:

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for loom-fun/unsloth-Llama-3.2-3B-Instruct-loom

Finetuned
(3)
this model