Qwen3.8-27B pi-adapted

by harness-hub · Model · Language & code models

An adapter of Qwen 3.8 by harness-hub

A small LoRA add-on that tunes a 27B open coding model to work better inside the pi agent, using fewer tool calls.

promising

Small add-on that makes Qwen3.8-27B leaner in pi; the big success gain is unconfirmed

Latest · Nov 25Thinking adapter keeps scores flat with 38% fewer output tokens

AccessOpen weightsMemory to run~0.6 GB (27B)Downloadabout 640 MB adapter, on top of the 55 GB baseSize27B parametersLicenseApache 2.0Commercial useyes

Who says what

Early days

harness-hub and Hugging Face, its makers

After correcting nine failed base runs, they report it lifts Qwen3.8-27B from 39.2% to 64.7% on the 51 hardest SWE-bench Pro tasks and from 39.5% to 55.8% on Terminal-Bench 2.1, with thinking off. With thinking at max effort the base matches it at 74.5%, so there the gain is mainly about 4.5x fewer tokens.

玩客笔记 (Tinkerer Notes), Fahd Mirza and NVIDIA forums: DGX Spark, who ran it on their own coding tasks

On their easier tasks, pass rates did not move: 6 of 8 for both at Q5_K_M, and 48/48 versus 47/48 on an NVFP4 base. The adapter did cut tool calls from 63 to 36 and full runs from 127.6 to 114.2 minutes, but Mirza saw more tokens and slower times on one task, and NVIDIA forums: DGX Spark found Qwen3.6-35B-A3B with goose 3.4x faster per correct result.

What would settle it. An independent BF16 run on the 51 hardest SWE-bench Pro tasks, plus a re-test of the quantized builds the card says were never checked.

Seen running on

MachineSpeedHowSeen by
5 runs on 24 GB: 11.5 tok/s
RX 7900 XTXno speed givenllama.cpp玩客笔记 (Tinkerer Notes)Chinese · Nov 19
RX 7900 XTX11.5 tok/s
20.9 GB used
27B · Q5_K_M · 32K context · llama.cpp玩客笔记 (Tinkerer Notes)Chinese · Nov 19
RX 7900 XTXno speed given27B · Q5_K_M · 32K context · llama.cpp玩客笔记 (Tinkerer Notes)Chinese · Nov 19
RX 7900 XTXno speed given
20.9 GB used
27B · Q5_K_M · 32K context · llama.cpp玩客笔记 (Tinkerer Notes)Chinese · Nov 19
RX 7900 XTXno speed givenllama.cpp玩客笔记 (Tinkerer Notes)Chinese · Nov 19
1 run on 80 GB: 26 tok/s
H10026 tok/s
78 GB used
27B · vLLMFahd Mirza · Nov 20
2 runs on 128 GB: 11.3 tok/s
DGX Spark11.3 tok/s27B · NVFP4 · vLLMCipherfox · Nov 22
DGX Spark
and 1 more build in the same post
no speed givenCipherfox · Nov 22

Evidence

  1. Nov 25
    Adapter solved 20 to 33 of the 51 hardest SWE-bench Pro tasks (39.2% to 64.7%)
    Earlier
    A small adapter trained inside pi lifted Qwen3.8-27B from 15 to 32 solves on the 51 hardest SWE-bench Pro tasks, with 55% fewer tool calls per task
    Maker's claimHugging FaceviaAINewsNov 18
  2. Nov 23
    Terminal-Bench 2.1 result rose by 16.3 points with the adapter
  3. Nov 23
    Small LoRA adapter for Qwen3.8-27B, trained with reinforcement learning to be the model behind the Pi coding agent
  4. Nov 23
    Only works with the Qwen3.8-27B base it was trained on
    Hands-on testFahd MirzaMaker's claimHugging FaceviaBeckon AI
  5. Nov 23
    On Terminal-Bench 2.1 the adapter without thinking is level with base at xhigh thinking: about 56% vs 54.2%
Show all 33
  1. Nov 23
    A LoRA adapter of 159,383,552 trainable numbers (about 0.6% of the 27B model), file about 640 MB, base about 55 GB
    Maker's claimHugging FaceviaBeckon AI
  2. Nov 23
    With thinking at max effort, base and adapter both reach 74.5% on SWE-bench Pro (hard 51); the adapter's gain is largely token savings
    Maker's claimHugging FaceviaBeckon AI
  3. Nov 22
    Per the model card, trained and evaluated on bf16; low-bit base models drift from the reported results
  4. Nov 22
    LoRA loaded on the mixed-precision NVFP4 base in vLLM on one DGX Spark; ready after 9.6 minutes including torch.compile
  5. Nov 22
    With the LoRA on the NVFP4 base, decode was 11.3 tok/s with MTP off, about 9% slower than the base's 12.4 tok/s
  6. Nov 22
    In 16 coding tasks over 3 rounds with pi 1.5.2, LoRA passed 48/48 versus 47/48 for base; 42 versus 36 passed without repair pass
  7. Nov 22
    Forced tool calls passed 6/6 for both base and LoRA; tasks were too easy to show the gain the model card reports
  8. Nov 22
    All test runs took 114.2 minutes with the LoRA versus 127.6 minutes for the base
  9. Nov 22
    On SWE-bench Pro, base Qwen3.8 27B with xhigh thinking scored 74.5% against 64.7% for the adapter without thinking; the card calls the gap not significant on 51 tasks.
    Maker's claimharness-hubviar/LocalLLaMA
  10. Nov 22
    Card caveats: numbers apply to the pi harness only, work only on Qwen3.8 27B, vision tower not served, and the GGUF build was not re-evaluated.
    Maker's claimharness-hubviar/LocalLLaMA
  11. Nov 20
    Model card says it beats the base model under Pi on its own benchmarks, with thinking off, and uses fewer turns per task.
    Maker's claimharness-hubviaFahd Mirza
  12. Nov 20
    Reported big gains on SWE-Bench Pro and Terminal-Bench under Pi, per the authors' shared data.
    Maker's claimharness-hubviaFahd Mirza
  13. Nov 20
    Model card reports large token savings against the base model with thinking turned on.
    Maker's claimharness-hubviaFahd Mirza
  14. Nov 20
    Simple parser bug fix, 3 runs each: both fixed it every time; adapter used about 4.7 model calls vs 6 and 450 tokens vs 519.
    Hands-on testFahd Mirza
  15. Nov 20
    Shopping-cart task, 5 bugs, 3 runs each: both fixed all; adapter used about 5.3 calls vs 6.7 (roughly 20% fewer), but more tokens (about 1090 vs 990) and was slower (41 s vs 33 s).
    Hands-on testFahd Mirza
  16. Nov 20
    Tested on only three runs of one small task; his results fit the card's claim of shorter reasoning per step but fewer steps.
    Hands-on testFahd Mirza
  17. Nov 20
    Served on one 80 GB H100 with vLLM on top of the base model, thinking off and tool calling on; about 78 GB of VRAM used, around 26 tok/s in his Pi runs including tool time.
    Hands-on testFahd Mirza
  18. Nov 19
    A 319MB LoRA for Qwen3.8-27B and the pi agent; official claim of a 25.5-point coding success gain
  19. Nov 19
    The official GGUF page says quantized versions have not been re-tested
  20. Nov 19
    On 8 hidden-test coding tasks (6 min each) at Q5_K_M, base and LoRA both passed 6 of 8; no success-rate gain
  21. Nov 19
    On the 5 tasks both passed, the LoRA cut tool calls 42.9% (63 to 36) and steps from 42 to 26
  22. Nov 19
    On the 5 common-pass tasks, generated tokens fell 33.5% (6270 to 4168) and total time 19% (586.3 s to 474.7 s)
  23. Nov 19
    On a warm-up bug-fix task the base model used 16 tool calls in 165 s; the LoRA used 8 calls in 99 s
  24. Nov 19
    On the cursor-pagination task the LoRA rushed (6 tool calls, 112 s) and failed both hidden tests; base took 287 s and passed
  25. Nov 19
    On the payment-event task with a hidden sort-by-ID trap, the LoRA passed in 8 tool calls while the base missed the detail
  26. Nov 19
    Decode speed was unchanged at 86-87 ms per token (about 11.5 tok/s); savings came from fewer steps, not faster generation
  27. Nov 19
    The F16 GGUF LoRA is 304 MiB; all 512 tensors loaded at weight 1.0, and total VRAM use was 20.9 of 24 GB
  28. Nov 19
    Reviewer recommends the adapter for Qwen3.8-27B coding with pi: cheap to add, trims wasted steps, but complex logic still needs full tests and manual review

Everything said about Qwen3.8-27B pi-adapted, on the wire

Cost to run

Alternatives

QwenFor daily fleet work, Qwen3.6-35B-A3B with goose was still 3.4x faster per correct result than the pi LoRA setup
Made for Qwen3.8-27B pi-adapted