qwen3.8-27b-Swift1.5-Uncensored-ATX-12GB-3.0bpw-Looped-GGUF
Requires llamAmpere v0.8.0.1 or newer. Older releases cannot keep the full context with more than one loop pass, and stock llama.cpp does not know the loop keys.
A looped version of the 12 GB Qwen3.8 27B file qwen3.8-27b-Swift1.5-Uncensored-ATX-AI3 (3.0 bits per weight). It is that exact file 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.
How the loop is set
The number of passes comes from LLAMA_LOOP_PASSES. If it is not set, the file's default applies: 3 passes.
LLAMA_LOOP_PASSES | What runs | Decode vs 1 pass |
|---|---|---|
1 | the stock model: output identical to the 12 GB AI3 file | 1.00x |
2 | core layers 24 to 39 run twice | 0.71x to 0.77x |
3 (file default) | core layers 24 to 39 run three times | 0.54x to 0.58x |
Run it (12 GB card)
Keep lsa-qwen38-27b-d2048.gguf (the LSA index map, in this repo) in the same folder as the model. Set
LLAMA_LOOP_LSA=1: the extra passes then use LSA like the layers they repeat and the 12dense preset keeps its full
262,144-token context. Without it, 3 passes do not fit that context on a 12 GB card.
Linux
hf download jakeatx/qwen3.8-27b-Swift1.5-Uncensored-ATX-12GB-3.0bpw-Looped-GGUF --local-dir models/qwen27b-12gb-looped
LLAMA_LOOP_LSA=1 ./llama-server --preset 12dense -m models/qwen27b-12gb-looped/qwen3.8-27b-Swift1.5-Uncensored-ATX-12GB-3.0bpw-Looped.gguf
Windows (PowerShell, from the unzipped llamAmpere v0.8.0.1 Windows release)
hf download jakeatx/qwen3.8-27b-Swift1.5-Uncensored-ATX-12GB-3.0bpw-Looped-GGUF --local-dir models\qwen27b-12gb-looped
$env:LLAMA_LOOP_LSA = "1"
.\llama-server.exe --preset 12dense -m models\qwen27b-12gb-looped\qwen3.8-27b-Swift1.5-Uncensored-ATX-12GB-3.0bpw-Looped.gguf
Add LLAMA_LOOP_PASSES=1 or 2 to trade loop passes for speed. The server listens on http://127.0.0.1:8080
(OpenAI-compatible API).
What we measured
Same output as the stock file at one pass. RTX 3090, 300 W: with LLAMA_LOOP_PASSES=1 the greedy text is
byte-identical to the 12 GB AI3 file and the quantized log-probabilities are identical.
How far looping moves the output (KL divergence against the stock 12 GB file on wiki text; a distance from the stock model, not a quality score): 2 passes 0.0094, 3 passes 0.0097.
Context and speed on a 12 GB budget. One RTX 3090 Ti at 350 W with usable memory capped to 12,288 MiB,
--preset 12dense, LLAMA_LOOP_LSA=1, chat template, temperature 1, 5,120-token replies, an agentic chat of ~96K
prompt tokens, one run per row:
| Passes | Context | Peak VRAM (in the cap) | Decode tok/s | vs 1 pass |
|---|---|---|---|---|
| 1 | 262,144 | ~10,300 MiB | 95.3 | 1.00x |
| 2 | 262,144 | ~10,700 MiB | 67.6 | 0.71x |
| 3 (default) | 262,144 | ~10,950 MiB | 51.6 | 0.54x |
An earlier run on an RTX 3090 at 300 W (coding chat, ~99K prompt) gave 74.6 tok/s at 1 pass and 57.4 at 2 passes (0.77x); on 8 and 10 GB budgets 2 passes cost 0.76x to 0.77x and 3 passes 0.58x.
Quality. On this 12 GB file 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 wrote shorter answers (AIME mean 6,923 vs 8,582 tokens).
File
| File | Bytes | SHA-256 |
|---|---|---|
qwen3.8-27b-Swift1.5-Uncensored-ATX-12GB-3.0bpw-Looped.gguf | 11,382,478,112 (10.60 GiB) | 731d9ef58b2fce78408698563df508d15e5189e0e4547342aeddde73a9f8a98f |
lsa-qwen38-27b-d2048.gguf | 8,390,624 | 5489a4f2f6e9169c57db7344afdebdca243c3d438d8e70197c52a6c95244aa68 |
Base: qwen3.8-27b-Swift1.5-Uncensored-ATX-AI3.gguf (SHA-256 d28a3c00f53ce955...). Loop keys qwen35.loop.*: core
layers [24, 40), 12 coda LoRA layers, default 3 passes, omega 0.15. 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.