Qwen2.5-Coder-7B-Instruct for AMD Loom (Strix Halo)
A Loom card (.loom programs + model.json) for the unmodified GGUF
Qwen/Qwen2.5-Coder-7B-Instruct-GGUF qwen2.5-coder-7b-instruct-q4_k_m.gguf at revision 13fb94bfda8c8cf22497dc57b78f391a9acb426a (sha256 509287f78cb4d4cf6b3843734733b914b2c158e43e22a7f4bf5e963800894d3c). The weights are not in
this repository; loom-fetch / your own download takes them from the upstream repo.
Programs derive from loom-fun/bartowski-Qwen2.5-7B-Instruct-loom@7a755e3f (checkpoint re-pointed). Credit: loom-fun (Jeremy Fowers, Daniel Holanda) for the cards and loom-skills, AMD's HRX and Loom developers for hrx-loom and hrx-loom-library. Licences: LICENSE-programs.md.
Quick start
pipx install "hrx-loom[hf]==0.2.0"
loom-fetch huggingface:1bit-MONSTER/Qwen2.5-Coder-7B-Instruct-GGUF-loom:chat --materialize=copy --output=Qwen2.5-Coder-7B-Instruct
loom-serve --model=Qwen2.5-Coder-7B-Instruct --preset=chat '--device=amdgpu://?completion_spin_ns=4294967295' --pool_backing=fixed
loom-fetch downloads the weights named in model.json / model.json.lock (the upstream repo at the pinned revision)
and checks their sha256. Gated on AMD Ryzen AI Max+ 395 "Strix Halo" (gfx1151) only (the loom-fun card it derives from also lists gfx1201 devices; not re-measured here).
Measured on AMD Ryzen AI Max+ 395 (gfx1151), 1bit OS appliance
| arm | TTFT ms | pp512 tok/s | tg128 tok/s | tg @4k tok/s |
|---|---|---|---|---|
| this card (loom-serve) | 43.74 (43.2-45.7) | 1515.4 (1502.7-1571.7) | 46.9 (44.2-47.0) | 43.34 (40.9-43.4) |
| 1bit engine llama.cpp-HRX route (reference) | 64.14 (43.8-85.6) | 1754.26 (1010.2-1949.2) | 46.26 (46.1-46.3) | 34.87 (33.1-35.3) |
Accuracy (engine#3158 gate: greedy, thinking off, 64 tokens x 8 prompts, same text as a CPU arbiter run on a separate machine; Loom returns no logprobs, so KLD on the Loom arm is not measured): this card 100.0 %, reference route 100.0 %. Gate: engine#3158 gate pass (balanced): accuracy split layout agree(loom,cpu) 100 = agree(fallback,cpu) 100, no divergences, no empty answers; prompt rendering Loom 40/40 = ours 40/40 (thinking off/on, speed ticket); speed through 1bit serve --loom-routes: prefill 2,138.9 vs 1,857.2 (long2k) and 1,298.4 vs 695.0 (short) tok/s beyond spread, short decode 47.3 vs 45.7 beyond spread, long decode even.
Method: each arm alone on the GPU, client-side streaming timing over /v1/chat/completions, 4 interleaved rounds; TTFT = short chat to
the first token; pp512 = prompt tokens / TTFT for a ~512-token prompt; tg128 = decode rate over 128 tokens; tg @4k = decode
after a ~4k-token prompt. Versions: hrx-loom 0.2.0, engine 1bit 0.0.1 (engine e697c40a0971 llama.cpp 9db01568b518 hrx-system 7f4236924aad built 2026-11-22T23:34:25Z), card revision port of loom-fun/bartowski-Qwen2.5-7B-Instruct-loom@7a755e3f50d67b6bf97487135d025c19cce0f14c. Command: IREE_HAL_AMDGPU_LIBHSA_PATH=<ROCm>/lib/libhsa-runtime64.so.1 loom-serve (hrx-loom 0.2.0) --model=<card>/model.json --preset=chat '--device=amdgpu://?completion_spin_ns=4294967295' --pool_backing=fixed --listen=127.0.0.1:18311 --heartbeat_ms=0 --parameter_mode=preload.
Gate speed row (engine#3158, 4 interleaved rounds, one server at a time)
| prompt | metric | llama.cpp route | Loom raw | Loom through 1bit serve |
|---|---|---|---|---|
| short | prefill tok/s | 695.0 [683.5-716.4] | 1344.8 [1305.3-1352.1] | 1298.4 [1285.2-1314.5] |
| short | decode tok/s (256) | 45.7 [38.1-45.8] | 47.4 [46.9-47.6] | 47.3 [46.7-47.6] |
| long2k | prefill tok/s | 1857.2 [1793.2-1877.3] | 2141.1 [2129.4-2163.7] | 2138.9 [2116.8-2154.3] |
| long2k | decode tok/s (256) | 44.9 [43.6-45.8] | 44.4 [43.4-44.6] | 44.5 [43.2-44.6] |
Versions: fallback: 1bit 0.0.1 (engine e697c40a0971 llama.cpp 9db01568b518 hrx-system 7f4236924aad built 2026-11-22T23:34:25Z); loom-proxy: 1bit 0.0.1 (engine d5f6acc4427c llama.cpp unknown hrx-system unknown built 2026-11-23T02:21:50Z) (98813286d098d728); 509287f78cb4d4cf6b3843734733b914b2c158e43e22a7f4bf5e963800894d3c qwen2.5-coder-7b-instruct-q4_k_m.gguf; 9debb17f04820aadddf8baaaae5791550b3ca87ac665c7ba18fc324972ebaae9 loom-serve (hrx-loom 0.2.0); 7.4.0-rc1-1bit
Prompt rendering check (Loom input_tokens vs the engine's template + tokenizer, thinking off/on): {"loom": {"thinking_off": 40, "thinking_on": 40}, "ours": {"thinking_off": 40, "thinking_on": 40}}
Model tree for 1bit-MONSTER/Qwen2.5-Coder-7B-Instruct-GGUF-loom
Base model
Qwen/Qwen2.5-7B