Qwen3.8-27B Pi LoRA on One RX 7900 XTX: Same Score, 42.9% Fewer Tool Calls
- Companion video: https://www.youtube.com/watch?v=7gFhl2IylGw (YouTube @geeklab_ai)
- Official model card: https://huggingface.co/harness-hub/Qwen3.8-27B-pi-adapted
- Official GGUF adapter: https://huggingface.co/harness-hub/Qwen3.8-27B-pi-adapted-GGUF
A 319-megabyte adapter claims it lifts Qwen3.8-27B’s coding success by 25.5 percentage points. That number comes straight from the official Hugging Face model card, measured in BF16 on vLLM. I mounted the same adapter on my single AMD Radeon RX 7900 XTX, ran the same eight hardcore coding tasks on both sides, and the score didn’t move at all: base model 6/8, LoRA 6/8.
Did I just install 319MB of nothing? Not even close — but what actually changed is not what the leaderboard promises. I pulled all 17 raw Windows trace logs (SHA256-verified), and the real story is about behavior, not IQ.
The setup: one consumer GPU, everything else held constant
To make the comparison fair, the only variable is whether the LoRA is mounted:
| Component | Value |
|---|---|
| OS / CPU / RAM | Windows 11 Pro · Ryzen 7 3700X · 96 GB DDR4 |
| GPU | 1× AMD Radeon RX 7900 XTX 24GB (driver 32.0.32015.7029) |
| Base model | Qwen3.8-27B-UD-Q5_K_M.gguf (~18.4 GiB) |
| Adapter | Qwen3.8-27B-pi-lora-F16.gguf (318,802,304 bytes ≈ 319 MB) |
| Engine | llama-server 0.8.0-dev b12019, Vulkan backend |
| Agent | @earendil-works/pi-coding-agent v1.5.2 |
| Sampling | 32K context, temperature 0.8, top_p 1.0, thinking off |
Task Manager shows 20.9 / 24.0 GB of VRAM in use with the model loaded — and before trusting any result, I verified the adapter was actually alive, not silently skipped:
load_tensors: offloaded 66/66 layers to GPU
load_tensors: Vulkan0 model buffer size = 17828.31 MiB
llama_adapter_lora_init: loading lora adapter from '...Qwen3.8-27B-pi-lora-F16.gguf'
llama_adapter_lora_init_impl: loaded 512 tensors from lora file
llama_adapter_lora_init_impl: Vulkan0 LoRA buffer size = 304.00 MiB
adapter.lora.alpha = 64.0 · scale = 1.0
All 512 LoRA tensors loaded, a dedicated 304.00 MiB buffer alongside the 17.8 GB model buffer, alpha 64.0 active in the forward pass. The adapter was definitely doing its job.
Warm-up round: two completely different programmers appear
Before the hard suite, I ran two lighter tasks (a cross-module bug fix and multi-step terminal debugging). Both sides passed 7/7 — boring scoreboard, fascinating traces.
On the bug fix, the base model behaves like an insecure perfectionist: it probes the directory tree, reads seven files one by one, makes the edit, runs npm test — all green — and then refuses to trust itself, re-running the same boundary check five more times. Twelve steps, 16 tool calls, 164.94 seconds.
With the LoRA mounted, it turns into a decisive senior engineer: one merged ls -la && find maps the tree, five core files read in parallel in a single turn, one targeted edit, one npm test → 7/7 PASS, done. Five steps, 8 tool calls, 99.32 seconds — 39.8% faster with half the tool calls.
The terminal-debug task plays out the same way: the base stumbles on a missing xxd, detours through od and node, and burns 17 tool calls; the LoRA batches its queries and wraps up in 7.
Hard8: eight tasks with hidden tests, and a 5/1/1/1 twist
Easy wins don’t impress me, so I rolled out eight self-built engineering tasks with hidden tests — six minutes each, one shot to pass. Final score: base 6/8, LoRA 6/8. Exactly zero percentage points gained.
But the tie hides a 5/1/1/1 split:
| Task | Base 27B | +319MB LoRA | Verdict |
|---|---|---|---|
| 01 Stock orders | PASS | PASS | Both |
| 02 Cursor pagination | PASS | FAIL | Base only |
| 03 Shuffled payments | FAIL | PASS | LoRA only |
| 04 Routing rules | FAIL | FAIL | Both fail |
| 05 Rate limiter | PASS | PASS | Both |
| 06 DAG schedule | PASS | PASS | Both |
| 07 Release list | PASS | PASS | Both |
| 08 CSV dedup | PASS | PASS | Both |
Task 03 — the LoRA catches an edge case the base misses. The hidden test punishes same-timestamp payment events not sorted stably by event ID. The base fails it (9 steps, 13 tools, 134.71s); the LoRA reads all four files, fixes the sort once, and passes public + hidden tests (5 steps, 8 tools, 108.78s).
Task 02 — and then it backfires. Cursor pagination with hidden full-page-traversal and type-filter tests. The base is slow — 287.25 seconds of reading source line by line — but every hidden edge passes. The LoRA’s impatience bites: 6 steps, 6 tools, 112 seconds, ships without close reading, and fails both hidden pagination tests. Half the time, wrong answer.
Task 04 — fast does not mean correct. Case-insensitive header matching and fields that must not count as negative conditions defeat both sides: the base flails through 19 steps and 23 tool calls and fails; the LoRA fails faster (6 steps, 8 tool calls). The adapter never breaks the capability ceiling.
Settling the books on the five shared passes
Here is where you have to be careful with your own numbers. Across all eight tasks, time looks 35.7% lower with the LoRA — but that average mixes in tasks that quit early on failure. Quoting it is unfair.
Count only the five tasks where both sides delivered fully passing code, and the honest efficiency claim is:
| Metric (5 shared passes) | Base 27B | +319MB LoRA | Change |
|---|---|---|---|
| Agent steps | 42 | 26 | −38.1% |
| Tool calls | 63 | 36 | −42.9% |
| Generated tokens | 6,270 | 4,168 | −33.5% |
| End-to-end time | 586.30 s | 474.73 s | −19.0% |
Same perfect output, dramatically less busywork. And it’s not faster every single time: on task 05 (the sliding rate limiter) the LoRA actually took 93.95s — 3.01 seconds slower than the base. Single runs vary; never claim “every task gets faster.”
Where the time does NOT come from: decode speed is unchanged
I read the decode timings straight from llama_server_lora.daemon.log:
round170 L43: eval time = 4074.96 ms / 48 tok (86.70 ms/tok)
round171 L419: eval time = 2248.66 ms / 27 tok (86.49 ms/tok)
round171 L576: eval time = 28632.25 ms / 331 tok (86.76 ms/tok)
A steady 86–87 ms per token (~11.5 tokens/s) — the LoRA never made the RX 7900 XTX decode faster. Every saved second comes from fewer redundant steps (−38.1%) and less filler output (−33.5%): fewer detours, less chatter.
Why the official +25.5 points didn’t reproduce locally
Two tracks, two different worlds:
| Track A · official model card | Track B · my local probe | |
|---|---|---|
| Precision / engine | BF16, vLLM | Q5_K_M, llama.cpp (Vulkan) |
| Harness budget | 100-step | 6-minute cap |
| Tasks | SWE-bench Pro hard 51 · Terminal-Bench 2.1 (86 paired) | 8 self-built tasks, n=1 |
| SWE-bench Pro | 39.2% → 64.7% (+25.5 pts) | — |
| Terminal-Bench | 39.5% → 55.8% (+16.3 pts) | — |
| Local Hard8 | — | 6/8 → 6/8 (0.0 pts) |
Two things close the gap honestly. First, the official GGUF repo explicitly states the quantized weights were never re-benchmarked on GGUF + llama.cpp. Second, my setup is Q5 quantization, six minutes per task, single runs on an eight-task exploratory sample — all 17 raw logs were pulled and SHA256-verified, but that is still a small local sample. Neither result refutes the official boards, and you should not expect +25.5pp on your own rig.
Verdict
- If you build a Pi-style coding workflow on Qwen3.8-27B, spend the extra 300 MB of VRAM and mount this LoRA — on identical passing output it cuts tool calls by 42.9% and wall time by 19%.
- It won’t double your model’s IQ. What it trains is decisiveness: a hesitant, over-cautious agent that acts like a senior engineer.
- Watch the impatience. The faster it wraps up complex logic (task 02 is the cautionary tale), the more you still need full hidden tests and a human eye.
Frequently asked questions
Does the Pi LoRA make Qwen3.8-27B generate faster?
No. Per-token decode stayed at 86–87 ms (~11.5 tok/s) on the RX 7900 XTX. The savings are behavioral: fewer steps and fewer output tokens.
Did the official +25.5-point claim fail locally?
It wasn’t comparable. Official numbers are BF16 + vLLM on SWE-bench Pro’s 51 hard tasks; my probe is Q5 + llama.cpp on 8 self-built tasks, single runs. The official GGUF repo itself says the quantized version was never re-benchmarked.
Is 6/8 vs 6/8 a sign the adapter does nothing?
No — the wins and losses swap per task (03 flips to LoRA, 02 flips to base), and on the five shared passes tool calls drop 42.9%. The headline score is the least informative number.
Should I trust single-run results?
Treat them as exploratory. I verified every log with SHA256, but n=1 per task on eight tasks is a small sample — reproduce before you depend on it.
╔════════════════════════════════════════════════════════════════╗
║ GeekLab AI · local AI on consumer GPUs ║
╠════════════════════════════════════════════════════════════════╣
║ 📺 Companion video (YouTube @geeklab_ai): link below ║
║ 🤗 Model card: https://huggingface.co/harness-hub/Qwen3.8-27B-pi-adapted
║ 📦 GGUF adapter: https://huggingface.co/harness-hub/Qwen3.8-27B-pi-adapted-GGUF
║ 🧰 Engine: llama.cpp (Vulkan) + Pi coding agent 1.5.2
║ 🛡️ No hype policy: official vs local scopes kept separate,
║ counterexamples published, all raw logs SHA256-verified
╚════════════════════════════════════════════════════════════════╝
All measurements trace to fact IDs F01–F18 in the episode’s facts.json; the companion video (7:00) walks through the same evidence frame by frame.