Run this model with HF Jobs

Run WaveCut/Looped-Qwen3.8-27B-Adapter-NInfer-v3 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/WaveCut/Looped-Qwen3.8-27B-Adapter-NInfer-v3. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/WaveCut/Looped-Qwen3.8-27B-Adapter-NInfer-v3 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Looped Qwen3.8-27B adapter v3.1.2, NInfer v3 overlay

Jason Titus's Looped Qwen3.8-27B adapter, release v3.1.2 (v3.1/ckpt_200, 62.85M FP32 parameters), as an overlay for NInfer-all, the master branch of iamwavecut/ninfer-all. --loop-adapter attaches it at startup to a Qwen3.8-27B artifact of the same geometry, which then runs the core layers 24-39 three times a token: each pass after the first re-enters the core from what the last pass left and adds low-rank updates to its projections, and LoopCD-Hidden (arXiv:2610.02185) extrapolates the last pass from the one before it. The overlay needs NInfer-all 2026-11-30.2 or newer; stock NInfer and older releases do not read it.

The mathematics, the options and every measurement: Looped Qwen3.8-27B.

Bases

Artifact Weights Its drafters, kept with the loop
Official Qwen3.8-27B groupwise-int (Q4/Q5) Qwen3.8-27B's MTP head, z-lab's DFlash2, proposal head
Qwen3.8-27B GSQ-RCO IQ3_S ISTA-DASLab's GGUF blocks ISTA-DASLab's Q6_K MTP head, z-lab's DFlash2, proposal head
Ternary Bonsai 2.5 27B PTQ1_0 PrismML's PTQ1_0 blocks PrismML's MTP head, proposal head
Ternary Bonsai 2.5 27B PQ2_0 PrismML's PQ2_0 as t2_g128_fp16 PrismML's MTP head, proposal head
Ternary Bonsai 2 27B PrismML's PQ2_0 as t2_g128_fp16 ProCreations' MTP head and DFlash2, proposal head

The base artifact keeps its Vision tower, tokenizer, MTP head and drafters; without --loop-adapter it runs as the base model.

What is inside

component representation
loop adapter (loop): the entry and cross-pass mixers of rank 128, rank-16 LoRA updates (alpha 32) of the core layers' Gated DeltaNet qkv, a, b and output projections, attention q, k, v and output projections and MLP up and down, gated by pass, and ungated rank-16 updates of layers 40-51 689 FP32 tensors, every value as published; three passes and LoopCD-Hidden (omega 0.15 against the previous pass) by default

One .ninfer file of 251,566,080 bytes (0.23 GiB; SHA-256 8a0b891759ada19ae0b186b1e7fceac72c62e9cca91fc01c33cd7ba8c150b81a), next to its conversion report, SHA256SUMS and NOTICE. It holds no base weight and no tokenizer.

Conversion command, from the repository's tree (only the base checkpoint's config.json is read):

hf download Qwen/Qwen3.8-27B config.json --revision 37561816 --local-dir Qwen3.8-27B
hf download sliderforthewin/Looped-Qwen3.8-27B v3.1/ckpt_200.safetensors v3.1/ckpt_200.json \
  --revision 12176840 --local-dir loop
python3 -m tools.convert --model Qwen3.8-27B --recipe loop_adapter --components loop \
  --source loop=loop/v3.1/ckpt_200.safetensors --device cpu \
  --name Looped-Qwen3.8-27B-v3.1.2-adapter-ninfer-v3 --out Looped-Qwen3.8-27B-v3.1.2-adapter-ninfer-v3.ninfer

Running

A release build or the Docker image from 2026-11-30.2 on:

ninfer-serve neroued/Qwen3.8-27B-NInfer --loop-adapter WaveCut/Looped-Qwen3.8-27B-Adapter-NInfer-v3 \
  --model-id looped --spec dflash2 --draft-tokens 7

hf download neroued/Qwen3.8-27B-NInfer qwen3_8_27b.ninfer --local-dir models
hf download WaveCut/Looped-Qwen3.8-27B-Adapter-NInfer-v3 Looped-Qwen3.8-27B-v3.1.2-adapter-ninfer-v3.ninfer --local-dir models
docker run --rm --gpus all -p 8080:8080 --ulimit memlock=-1 -w / \
  -v "$PWD/models:/models" -v ninfer-cache:/cache ghcr.io/iamwavecut/ninfer-all:cuda13.4 \
  serve /models/qwen3_8_27b.ninfer --loop-adapter /models/Looped-Qwen3.8-27B-v3.1.2-adapter-ninfer-v3.ninfer \
  --model-id looped --spec dflash2 --draft-tokens 7

The server answers OpenAI and Anthropic requests on port 8080; ninfer and ninfer-perplexity take the same options.

Option Effect Default
--loop-adapter PATH|OWNER/REPO[:FILE] this overlay, a file or this repository none: the base model
--loop-passes N passes over the core, 1 to 8; 1 runs the base model 3
--loop-cd-omega X|auto LoopCD-Hidden's weight on the last pass; 0 turns it off auto: 0.15 with three or more passes
--loop-cd-ref prev|first LoopCD's reference: the pass before the last or the first prev

A request with thinking off runs without LoopCD, as the adapter's author evaluates it. The pass count is fixed at startup: each pass keeps keys, values and Gated DeltaNet states of its own, so at T = 3 a token keeps 1.5 times the keys and values of the base model. Everything else the base model does runs with the loop: one to 64 requests, every KV format, the context cache, images, every drafter, pipeline stages over several GPUs (cut at layer 24 or before, or at 40 or after) and tensor parallelism. Refused with the loop: --lora, control vectors and grafts, --tensor-attention positions.

Results

AIME 2025 under the release's protocol. The release's own protocol (scripts/vllm_eval_grid.py and scripts/eval_public_coding.py at 7c8cecca: its prompt, reasoning effort xhigh, temperature 1.0, top-p 0.95, top-k 20, at most 24,576 output tokens, seed base + i for problem i, its grader), all 30 problems at the seed bases 42, 1042, 2042 and 3042, November 30, 2026, on RTX PRO 6000 Blackwell cards (600 W): the release's vLLM plugin (vLLM 0.34.0) over the BF16 checkpoint, and NInfer-all with the official Q4/Q5 artifact and this overlay through ninfer-serve, eight requests at once with DFlash2's seven drafts. Both engines give each prompt the same token count. The release's grader also scores an answer cut off at the cap by the last number of its reasoning; "finished and correct" leaves those out, and "with 49K reruns" counts a capped answer whose rerun with at most 49,152 tokens finishes correct.

Engine, weights and arm Runs Release's grader, mean (range) Finished and correct With 49K reruns At the cap, mean Output tokens, mean
vLLM plugin, BF16, T = 3 with LoopCD 4 23.75 (21-25) 23.25 (21-24) 26.75 (25-28) 6.0 9,967
NInfer-all, Q4/Q5 with this overlay, T = 3 with LoopCD 4 24.75 (22-27) 24.50 (22-27) 25.25 (23-27) 4.0 9,001
vLLM plugin, BF16, T = 1 1 22 18 25 11 14,138
NInfer-all, Q4/Q5, T = 1 4 21.75 (21-24) 19.50 (16-21) 26.25 (25-27) 10.25 13,896

Runs of one engine differ by up to five problems, more than the engines differ. In NInfer-all the loop solves 5.0 problems more than T = 1 at the cap (finished and correct) with 35% fewer tokens; with 49,152 tokens T = 1 catches up (26.25 against 25.25). The release's own rows with this harness give 27 by its grader for T = 3 with LoopCD, of which 24 finished and correct, and 22 (19) for T = 1.

Against the release's vLLM plugin, mean NLL over the first 2,048 tokens of WikiText 00.txt and 512 tokens of the plugin's own reasoning on AIME 2025 I problem 1, BF16 KV:

Run WikiText, vLLM BF16 NInfer-all Q4/Q5 Reasoning, vLLM BF16 NInfer-all Q4/Q5
T = 1 1.598530 1.623464 0.404505 0.430001
T = 3, LoopCD 0.15, prev 1.594581 1.615317 0.394101 0.419052

More passes lower the NLL in both engines; the base model's Q4/Q5 weights account for the 0.019-0.026 nats a token between them at every pass count.

The same as a baked adapter. On each of the five bases this overlay gives the WikiText NLL, the greedy answers and the MTP drafts of the same adapter baked into that base's artifact, byte for byte.

Speed, the official artifact with this overlay, the code prompt, 384 tokens, greedy, thinking off, RTX PRO 6000 Blackwell Workstation Edition (600 W), release 2026-11-30.3 (the T = 1 DFlash2 row: 2026-11-30.2, whose T = 1 decodes at the same 88.5 tok/s):

Configuration Decode, tok/s Tokens a round
T = 1 88.5
T = 3 56.7
T = 3, Qwen3.8-27B's MTP head, 3 drafts 160.6 3.27
T = 3, DFlash2, 7 drafts 250.1 5.47
T = 1, DFlash2, 7 drafts 356.1 4.97

Credits and license

The loop adapter: Jason Titus, Looped Qwen3.8-27B, MIT License, whose notice is in NOTICE. This repository only re-encodes the adapter into NInfer's container.

Downloads last month
482
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for WaveCut/Looped-Qwen3.8-27B-Adapter-NInfer-v3

Base model

Qwen/Qwen3.8-27B
Finetuned
(1,134)
this model

Paper for WaveCut/Looped-Qwen3.8-27B-Adapter-NInfer-v3