Looped Qwen3.8 Flash-Next on an RTX 4090: LiveCodeBench 75.6% and the server setup

Looped Qwen3.8 Flash-Next on an RTX 4090: LiveCodeBench 75.6% and the server setup

The home box already served Qwen3.8-Flash-Next IQ3_S through Strata on a single RTX 4090. On 2 December 2026 we tried a small Looped adapter (two latent mid-layer passes). After the public A/B we restored stock MTP — that is current prod; model id unchanged: qwen3.8-flash-next-iq3_s.

Below: A/B numbers, a clear compare against the HF card, and the install details that actually hurt.

Numbers at a glance

Everything hit the local OpenAI-compatible :8080 endpoint. We only compared against published third-party tables.

BenchLooped T=2+DFlash2Stock MTP (A/B Dec 3)Plain reading
LiveCodeBench v5 (880)75.6% (665/880)76.6% (674/880)Main coding metric; stock +1.0 pp
↳ easy / medium / hard98.2 / 82.8 / 43.397.9 / 84.6 / 44.8Gap on hard; stock slightly better on medium
HumanEval (164)98.8% / 1303 s99.4% / 725 sSoft ceiling; stock ~1.8× faster wall
MMMU-subset (60)88.3% / 977 s90.0% / 360 sVision works; stock ~2.7× faster
Qualbench-40 / -5040/40 @ 351 s; 50/5039/40 @ 272 sOnly looped closed the SQL miss

On this box (IQ3_S / one 4090), Loop is not a good default: stock MTP is slightly better on score and clearly faster (LCB gen ~2.73 h vs ~3.48 h). Prod is stock MTP again. The narrow case for Loop is qualbench SQL 40/40 vs 39/40 at ~+30%…2.7× wall. This is not a pure loop-only A/B; looped also used DFlash2 instead of MTP. How that lines up with the HF card is in the section below.

On LiveCodeBench v5, public leaderboard snapshots put DeepSeek-R1 and Gemini 2.5 Pro near 74-75%, o3 high ~77%, o4-mini high ~81%. Older GPT-4o sits near 30% on the same board. Harnesses and sampling differ, so treat this as a neighborhood, not a lab-official ranking.

HumanEval near 99% alone is weak evidence; strong cloud models sit high there too. LiveCodeBench is what separates the field.

Our MMMU run is a 60-item stratified subset, not full val (~900). The same local harness previously scored 80% on FP8 Qwen3.6-35B; now 88%. Published full-val GPT-4o / Claude 3.5 figures around 65-69% are a different scale, useful only as a sanity check that images still work.

Looped in plain language

The base is a huge MoE Flash-Next (~125B parameters, few active). The adapter is a ~268 MB file, about 0.056% of the base. It does not rewrite base weights; it overlays them.

Instead of printing miles of thinking tokens, the model re-runs the mid stack (default T=2: depth 48→64 layers). Fewer tokens leave the model; the FP8 card often keeps wall steady. On our IQ3_S A/B, stock MTP was slightly more accurate and faster on suite wall, though looped decode tok/s still drops by roughly a third.

Loading PlantUML diagram...
View PlantUML source code
@startuml
!theme plain
skinparam backgroundColor #FFFFFF
skinparam shadowing false
skinparam defaultFontSize 13
skinparam ArrowColor #444444
skinparam ActivityBorderColor #333333
skinparam ActivityBackgroundColor #F7F7F7

title Stock T=1

start
:Prompt;
:Early layers;
:Core [16..31]\n**one** pass;
:#EEEEEE:No second pass\n(T=1);
:Coda / tail;
:Long visible thinking\n(many tokens out);
:Answer;
stop

@enduml
Loading PlantUML diagram...
View PlantUML source code
@startuml
!theme plain
skinparam backgroundColor #FFFFFF
skinparam shadowing false
skinparam defaultFontSize 13
skinparam ArrowColor #444444
skinparam ActivityBorderColor #333333
skinparam ActivityBackgroundColor #F7F7F7

title Looped T=2

start
:Prompt\n(same frozen base);
:Early layers;
:Core [16..31]\npass **1**;
:#FFF8E7:Core [16..31]\npass **2**\n<<loop-adapter ~268 MB>>;
:Coda [32..39] + LoRA;
:Short thinking\n(fewer tokens out);
:Answer;
stop

@enduml

The public adapter card measures quality on FP8 / H200 (not IQ3_S). Full “promise vs our measurement” is in the section below. Our path is consumer Strata + GGUF IQ3_S; loop is off in prod after the A/B. The card’s Direct/non-think-at-T=2 warning still applies.

Hardware that makes it fit

GPURTX 4090 24 GiB
RAM~125 GiB; IQ3_S experts offload to RAM (~50 GiB)
DiskGSQ-RCO IQ3_S weights already present; adapter + DFlash2 are small next to the base
CPUi9-class is fine; AVX-512 not required

Without fat system RAM, this MoE in IQ3_S will not serve long agent context the way we need on 24 GiB VRAM.

Install and cutover quirks

This is not “download a GGUF and run llama-server”. Short list of what differs from a tutorial.

1. Stock Strata has no loop

Vanilla Niko Strata v0.2.22 (engine 0.1.69) knows MTP and DFlash2, but not --loop-adapter / --loop-passes. You need the loop fork in a side tree, not an overwrite of the prod /…/Strata checkout.

Build with cmake/ninja + CUDA, without starting serve during compile. --help must list loop-adapter and loop-passes.

2. Adapter and draft are separate downloads

text
# shape only; keep secrets off the page
hf download …/Looped-Qwen3.8-Flash-Next ckpt_final.safetensors
# ~268 MB; verify SHA against the HF card

strata drafting fetch --mode dflash2 --if-needed
# draft pack; MTP was already on disk, DFlash2 is extra

We did not re-fetch the IQ3_S base: same GSQ-RCO shards, same pack, same vision mmproj.

3. A/B on a side port first

While chat still ran a Gemma window, we fetched adapter/fork/DFlash2 without downtime. After Strata returned, we compared stock MTP vs looped T=2 vs T=2+DFlash2 on fixed prompts. Production took T=2 + DFlash2.

Internal qualbench-40 after cutover: looped 40/40 @ 351 s vs stock MTP 39/40 @ 272 s, a bit slower suite wall but score not worse. Full qualbench-50 on looped: 50/50 @ 586 s.

4. Keep the model id

Clients and the gateway already expect qwen3.8-flash-next-iq3_s (via Bifrost as llm-88/…). A new id means editing everyone. Cutover kept the name; only binary and flags changed.

5. Flags you cannot “forget”

KnobWhy
--loop-adapter …/ckpt_final.safetensorsthe overlay itself
--loop-passes 2depth T=2
--draft dflash2 --spec 4speculative; otherwise looped decode feels grim
STRATA_ROUTE_TAIL_SKIP=0otherwise CUDA takes a fast/wrong routing path → worse code
parallel=1one long agent on 24 GiB; dual-slot is a separate story
--vision + mmprojimages; smoke an image request after cutover
32-128k context for agents262k + T=2: adapter author saw decode drop (~59 tok/s) from expert spill

Turbo on this 4090 previously hurt tool-calls, so we left it off.

6. Keep a rollback next door

Unit/json snapshot before cutover stays on disk. Rollback = Niko binary + config without --loop-adapter, same :8080. The Gemma window is a separate procedure (it masks Strata).

7. Auth and keys

The endpoint wants a Bearer token. Ambient OPENAI_API_KEY on the runner host is often not the Strata key. For benches set OPENAI_BASE_URL=http://…:8080/v1 and the host key explicitly. Do not put keys in git or tracked JSON.

How we measured on the public scale

  • MMMU: same stratified 60-item qualbench subset as last year’s 35B run.
  • HumanEval: chat completions generate → official human-eval execute.
  • LiveCodeBench: official runner, release_v5, n=1, temperature=0.2, OpenAI-compatible runner pointed at our base URL. Dataset from Hugging Face; heavy cache on a spare NVMe (root disk was ~95% full).

Bench harnesses execute model code locally; prefer a dedicated user/container without extra secrets in the environment.

HF card vs our stack (promise vs what we measured)

Promises come from alesha-pro/Looped-Qwen3.8-Flash-Next.
Current prod on .175: GSQ-RCO IQ3_S + stock Strata 0.1.69 + MTP, no loop (removed Dec 3 after the A/B).
This is not “the author is wrong” — it is “which card numbers belong to which hardware, and did they show up on IQ3_S/4090”.

First: the card mixes three stands

StandOn the cardHardware / quantWhat it shows
A. Quality scoreboardFull 64k / Budget 24k tablesFP8, vLLM 0.34, H200LCB v6 stock 77.7% → looped 85.7% (+8 pp), −34% tok, wall slightly better
B. Consumer tok/s3090 + DFlash2 tableUnsloth UD-IQ4_XS, 1×3090decode 133 → 90–92 tok/s at T=2 (−30%)
C. Recommended kitquick startGSQ-RCO IQ3_S + Strata forklaunch recipe; no paired IQ3_S quality table
D. Our boxthis postsame kit IQ3_S, 1×4090, LCB v5A/B stock MTP vs looped T=2+DFlash2

Do not merge A+B+C into “Loop on a 4090 gives +8 pp at nearly the same speed”: quality is FP8/H200/LCB v6, tok/s is IQ4 on a 3090, and kit C is our path without the author’s IQ3_S scoreboard.

Promise → check on our stack

Card promise (in plain words)Where on HFOur measurement (IQ3_S / 4090)Match?
Loop raises coding accuracyFP8 LCB v6: +8.0 pp (77.7→85.7)LCB v5 880: looped 75.6%, stock 76.6% → looped −1.0 ppNo (opposite sign)
Fewer thinking tokens → wall not worse / slightly betterFP8: −34% tok, wall −2…−5%Suite wall: HE 1.8×, MMMU 2.7×, LCB gen 1.27× slower on loopedNo
Decode drops ~one third; expectedUD-IQ4_XS 3090: ~133 → ~91 tok/sDecode plateau: stock ~135 → looped 102 (−24%)Yes, directionally
Tight budgets: loop saves truncationsBudget 24k LCB: +20…+25 ppWe did not run a 24k-cap harnessn/a
Direct / non-think at T=2 is worseHE+ Direct: −4.3 ppAgree: short answers stay at T=1Yes
IQ3_S kit fits 1×24 GBrecommended Uncensored kitThat is what we run; without the FP8 gainKit ok, gain no

Plain takeaway: on the card, Loop is a quality+wall upgrade in the FP8/H200 world. On the recommended consumer IQ3_S path, that gain did not show up: stock MTP was slightly more accurate and clearly faster. The decode tok/s drop is the one brochure claim that behaved as advertised.

Card numbers (FP8 / H200) — reference only, not our run

BenchmarkStock T=1Looped T=2Δ scoreΔ tokens / wall
LiveCodeBench v6 (175)77.71%85.71%+8.0 pp−33.5% tok / −5.1% wall
GPQA-Diamond (198)91.41%91.41%0−37.3% tok / −3.9% wall
AIME 2025 (30)96.67%93.33%−3.3 pp−32.9% tok
HumanEval+ Think (164)82.32%82.93%+0.6 pp−3.2% tok
HumanEval+ Direct (164)84.15%79.88%−4.3 pp−12% tok
All 5 suites (731)84.68%85.64%+1.0 pp−34% tok / −2.1% wall

Budget 24k on the card (where loop helps most): LCB v6 40 tasks 57.5% → 77.5% (T=2) → 82.5% (T=3+LoopCD). Different mode and N — do not confuse with our full LCB v5 880.

Speed: card (3090 / IQ4) vs our box (4090 / IQ3_S)

HF card: UD-IQ4_XS + DFlash2, 1×3090Our box: IQ3_S, 1×4090
Stock decode~132.6 tok/s (4.4k probe)MTP plateau ~135 mean
Looped T=2 decode~90.5–92.1 tok/sT=2+DFlash2 plateau ~102 mean
Prefill stock → looped~1743 → ~1205~2.3k → ~1.8k (different prompt lengths)
Chat UI (ours)—short turn ~74 tok/s (OpenCode)

Three different numbers on our box: ~74 tok/s in chat (short turn) ≠ ~100–135 long-gen decode plateau ≠ prefill ktok/s. Agents also care about s/task (HumanEval: looped ~7.9 s vs stock ~4.4 s).

Against Claude Sonnet

Sonnet and Opus figures come from third-party published tables (different harness; neighborhood only).

LiveCodeBench

Modelpass@1Source
this run (Looped IQ3_S)75.6%our LCB release_v5, 880 tasks
same host, stock MTP76.6%same harness, A/B 2026-12-03
Claude Sonnet 4.5~71-73%aggregators / Vals Thinking
Claude Sonnet 4 (thinking), official v5 snapshot~58%leaderboard v5 era
Claude Sonnet 4.6~82%Vals (different run)
Claude Opus 4.8~88%Vals

On our scale both arms sit above typical Sonnet 4.5, in the strong open/reasoning 2025 band, and below newer Sonnet 4.6 / Opus 4.8 on Vals.

HumanEval and vision

Looped (ours)Sonnet 4.5 (published)
HumanEval98.8%~95.8%
MMMU88% on a 60-item subset~78% full-val; not the same scale

Speed and money

Local IQ3_S in chat: about ~74 tok/s on a short turn (OpenCode); long-gen decode plateau ~135/102. No per-token bill. Sonnet is a cloud API. We did not wall-clock suites against Claude’s API.

Practical takeaway

We do not enable Loop by default on this box: see the public A/B and the “promise → check” table above. Prod is already stock MTP. The HF card is fair for its FP8/H200 stand; on IQ3_S/4090 the +8 pp / “wall not worse” claims did not reproduce.

ChoiceWhen
Default: stock MTP (as now)Speed and public metrics without a fork
Enable Loop T=2 on the sideYou need SQL 40/40 and accept the wall tax, or an experiment
Do not expectIQ3_S to replay the FP8 scoreboard, or T=2 to speed up long suites

Both arms sit near Sonnet 4.5 on third-party LCB tables; far from 4.6 / Opus 4.8 on Vals. Hard ~43-45%. Non-think Direct stays at T=1, not T=2.

Resources

Published on 12/3/2026

Loading tags...