qwen3.8-27b-Swift1.5-Uncensored-ATX-AI4-Looped-GGUF
Requires llamAmpere v0.8 or newer. Older releases and stock llama.cpp do not know the loop keys in this file.
A looped version of the 24 GB Qwen3.8 27B file qwen3.8-27b-Swift1.5-Uncensored-ATX-AI4. It is that exact file (same base weights, same MTP draft head) plus a small looped-core adapter (518 tensors, 133.8 MiB, F16). With the loop on, the middle layers 24 to 39 run more than once for every token: more computation per token without a bigger model.
Loop design by Jason Titus. The adapter is his
Looped Qwen3.8-27B v3.1 (checkpoint ckpt_200, MIT,
source: loopedqwen), converted to GGUF for llamAmpere.
Status: a capability, not an upgrade. Looping costs decode speed (about 40% at three passes, below) and we have not measured a quality gain from it yet. If you want the fastest 27B, use the plain AI4 file. His adapter was trained on stock Qwen3.8-27B; this base is Swift 1.5 Uncensored, so how much of his result carries over is untested here.
How the loop is set
The number of passes comes from the environment variable LLAMA_LOOP_PASSES. If it is not set, the file's default
applies: 3 passes.
LLAMA_LOOP_PASSES | What runs |
|---|---|
1 | the stock model: loop tensors are not loaded, output identical to the AI4 file |
2 | core layers 24 to 39 run twice (80 layer visits per token) |
3 (file default) | core layers 24 to 39 run three times (96 layer visits per token) |
Values 1, 2 and 3 are the ones we tested.
Run it
One 24 GB card (RTX 3090 / 3090 Ti). The context below (131,072 tokens) is the one we measured with three passes. Each extra pass adds 4 full-attention layers' worth of KV cache, so the 24dense preset's default 262,144 tokens was not tested with the loop on.
Linux
hf download jakeatx/qwen3.8-27b-Swift1.5-Uncensored-ATX-AI4-Looped-GGUF qwen3.8-27b-Swift1.5-Uncensored-ATX-AI4-Looped.gguf --local-dir models/qwen27b
LLAMA_LOOP_PASSES=3 llama-server --preset 24dense -c 131072 -m models/qwen27b/qwen3.8-27b-Swift1.5-Uncensored-ATX-AI4-Looped.gguf
Windows (PowerShell, from the unzipped llamAmpere v0.8 Windows release)
hf download jakeatx/qwen3.8-27b-Swift1.5-Uncensored-ATX-AI4-Looped-GGUF qwen3.8-27b-Swift1.5-Uncensored-ATX-AI4-Looped.gguf --local-dir models\qwen27b
$env:LLAMA_LOOP_PASSES = "3"
.\llama-server.exe --preset 24dense -c 131072 -m models\qwen27b\qwen3.8-27b-Swift1.5-Uncensored-ATX-AI4-Looped.gguf
The server listens on http://127.0.0.1:8080 (OpenAI-compatible API). --preset 24dense turns on the file's MTP draft
head, the 4-bit SJ-KVaRN KV cache and flash attention; any flag you pass explicitly overrides the preset. With three
passes the draft head reads the looped model's state, so drafting keeps working.
What we measured
Same output as the stock file at one pass. RTX 3090, 300 W, llamAmpere loop build: with LLAMA_LOOP_PASSES=1 the
greedy text (256 tokens on each of two prompts) is byte-identical to the AI4 file, the quantized log-probabilities are identical, and KL
divergence against the AI4 file is 0.000000 with the same top token 100% of the time (wiki text, 8 chunks of 1,024
tokens). Re-checked on the v0.8 release candidate build: 32 of 32 tokens and the top-5 log-probabilities match, and
three passes engage.
How far looping moves the output (same test, KL divergence against the stock AI4 file; this is a distance from the stock model, not a quality score):
| Passes | Mean KLD vs stock | Same top token |
|---|---|---|
| 1 | 0.000000 | 100% |
| 2 | 0.0089 | 95.6% |
| 3 | 0.0089 | 95.8% |
Speed (screen, 2 seeds per cell). One RTX 3090 limited to 300 W, --preset 24dense -c 131072, chat template,
temperature 1 (top-k 20, top-p 0.95), 5,120-token replies, a coding conversation cut at the given prompt length.
Decode tokens per second, mean of 2 seeds (each seed in brackets):
| Prompt | 1 pass | 3 passes | 3 passes vs 1 |
|---|---|---|---|
| 3K | 119.0 (126.4, 111.6) | 79.6 (86.4, 72.8) | 0.67x |
| 100K | 118.8 (109.8, 127.8) | 71.6 (73.3, 70.0) | 0.60x |
Draft acceptance stayed at 0.61 to 0.76 in every cell. The loop's layer count alone predicts 0.67x; the rest is the adapter's own work. This is a 2-seed screen, not a release gate.
One pass costs nothing (screen, 3 seeds). RTX 3090 Ti, 350 W, v0.8 release candidate build, 24dense preset, 100K
prompt: this file at LLAMA_LOOP_PASSES=1 decoded 120.9 tok/s mean (121.58, 126.46, 114.65) against 120.9 (121.53,
126.49, 114.62) for the AI4 file, with the same tokens per draft round and acceptance.
Quality. No quality benchmark has been run on this 24 GB file. On our 12 GB 27B file with the same adapter at two passes (AIME 2025 30 problems + LiveCodeBench 20 tasks, 16K token cap, one run), two passes scored 40 of 50 against 39 of 50 at one pass: no measurable gain. Two passes did write shorter answers there (AIME mean 6,923 vs 8,582 tokens).
File
| File | Bytes | SHA-256 |
|---|---|---|
qwen3.8-27b-Swift1.5-Uncensored-ATX-AI4-Looped.gguf | 14,556,747,712 (13.56 GiB) | c9f69a137810f201c41ace05995e25fef85f5bcf95e18ff9462a1f6e9aee1d20 |
Base: qwen3.8-27b-Swift1.5-Uncensored-ATX-AI4.gguf (SHA-256 1106accc...59744b3), tensor data and offsets
unchanged. Loop keys qwen35.loop.*: core layers [24, 40), 12 coda LoRA layers (40 to 51), default 3 passes,
LoopCD-hidden omega 0.15 (applied from three passes on). No vision tower.
Source and license
Base model: UkisAI's Swift 1.5, a Qwen3.8-27B derivative; an
uncensored, refusal-reduced version (see ABLITERATION.json). Swift Open License v1.0 for UkisAI's contribution
(LICENSE) and Apache 2.0 for Qwen3.8-27B (LICENSE-APACHE-2.0).
Loop adapter: Copyright (c) 2026 Jason Titus, MIT (LICENSE-MIT-loop-adapter). See NOTICE for all of it.
Run with llamAmpere (MIT), based on
llama.cpp.