First public trained recurrent-depth adapter for frozen Qwen3.8-Flash-Next (125B-A6B MoE + 51.2B PLE)
268 MB FP32 overlay (70.2M params = 0.056% of base) Β· Zero base-weight edits Β· Switchable depth T = 1 / 2 / 3 at runtime
Quick Start Β· Code (Strata + vLLM) Β· Uncensored GSQ-RCO Strata Kit Β· 64k Paired Eval Β· RTX 3090 Strata Β· Files & Credits
β‘ Recommended Base Weights & Quick Start
Because ckpt_final.safetensors is a pure 268 MB drop-in overlay, your base Qwen3.8-Flash-Next checkpoint stays 100% frozen. Pair it with any compatible weights below:
| Setup | Recommended Weights | What You Get |
|---|---|---|
| π Consumer GPU (Recommended Uncensored Kit) | alesha-pro/Qwen3.8-Flash-Next-abliterated-GSQ-RCO-Strata-GGUF |
GSQ-RCO quants (IQ3_S, IQ2_XS, IQ3_XXS, Q2_0) + 480 KB runtime refusal-projection vector. Stacks cleanly with --loop-adapter in Strata on 1Γ 24 GB GPU + RAM. |
π Consumer Benchmark Precision (RTX 3090 + DFlash2) |
unsloth/Qwen3.8-Flash-Next-GGUF (UD-IQ4_XS) |
High-precision 4-bit pack used for the 92.1 tok/s / 88.5% DFlash2 measurements below. |
π₯οΈ Datacenter FP8 (H200 / vLLM 0.34+) |
Qwen/Qwen3.8-Flash-Next-FP8 / Youssofal/Qwen3.8-Flash-Next-MTPLX-Optimized-Speed |
Full 64k evaluation target (85.7% LiveCodeBench v6, -34.2% tokens). |
1. Download the 268 MB Looped Adapter
hf download alesha-pro/Looped-Qwen3.8-Flash-Next ckpt_final.safetensors ckpt_final.json --local-dir ./looped-adapter
2. Run on a Single Consumer GPU (Strata CUDA Fork + Uncensored Kit)
# Build Strata fork with native --loop-adapter & cyclic multi-GPU split
git clone -b feat/looped-qwen4exp https://github.com/alesha-pro/Strata.git
cd Strata/engine
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DSTRATA_ENABLE_CUDA=ON -DSTRATA_BUILD_TESTS=OFF
cmake --build build --target strata --parallel
# Grab recommended Uncensored GSQ-RCO pack + 480 KB refusal direction
hf download alesha-pro/Qwen3.8-Flash-Next-abliterated-GSQ-RCO-Strata-GGUF \
IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf \
IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf \
Huihui-Qwen3.8-Flash-Next-refusal-direction-r.gguf \
--local-dir ./flash-next-ablit
# Launch Uncensored + Looped (T=2, 64 effective layers) on 1x RTX 3090 + RAM offload
./build/strata \
--pack /path/to/packs/iq3_s \
--native ./flash-next-ablit/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00001-of-00002.gguf \
--ple-gguf ./flash-next-ablit/IQ3_S/Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S-00002-of-00002.gguf \
--control-vector-scaled ./flash-next-ablit/Huihui-Qwen3.8-Flash-Next-refusal-direction-r.gguf:1.0 \
--control-vector-layer-range 4 44 --cvec-mode project --cvec-dir per-layer \
--expert-profile ../terminal/data/expert-profile.bin \
--expert-cache auto --prefill auto --max-context 32768 --kv int8 \
--loop-adapter ./looped-adapter/ckpt_final.safetensors --loop-passes 2 \
--tokens-file prompt.txt --max-new 512
More launch recipes: Unsloth UD-IQ4_XS + DFlash2 (92.1 tok/s) & vLLM 0.34+ FP8 (H200)
Consumer UD-IQ4_XS + stock DFlash2 speculative decoding (1Γ or 2Γ RTX 3090 with --gpu 0,1 --layer-split auto):
./build/strata \
--pack /path/to/packs/ud-iq4_xs \
--native /path/to/Qwen3.8-Flash-Next-UD-IQ4_XS-00001-of-00004.gguf \
--ple-gguf /path/to/Qwen3.8-Flash-Next-UD-IQ4_XS-00004-of-00004.gguf \
--expert-profile ../terminal/data/expert-profile.bin \
--expert-cache auto --prefill auto --max-context 32768 --kv int8 \
--mtp /path/to/mtp/rt --draft dflash2 --draft-model /path/to/qwen3.8-flash-next-dflash2.q4_0-selq4.pack \
--spec 4 --draft-conf 0.5 \
--loop-adapter ./looped-adapter/ckpt_final.safetensors --loop-passes 2 \
--tokens-file prompt.txt --max-new 512
Datacenter vLLM 0.34+ FP8 (H200):
pip install "git+https://github.com/alesha-pro/Strata.git@feat/looped-qwen4exp#subdirectory=vllm_looped_qwen38"
VLLM_LOOPED_CKPT=alesha-pro/Looped-Qwen3.8-Flash-Next:ckpt_final.safetensors \
VLLM_LOOPED_NUM_PASSES=2 \
VLLM_LOOPED_CD_OMEGA=0.0 \
vllm serve Qwen/Qwen3.8-Flash-Next-FP8 \
--hf-overrides '{"architectures": ["LoopedQwen4ExpForCausalLM"]}' \
--max-model-len 65536 --port 8000
(Tip: for non-thinking direct prompts, set --loop-passes 1 at runtime for exact stock T=1 behavior.)
π Benchmarks & Charts
Full 64k Paired Benchmark (vLLM 0.34.0 FP8 on H200, 731 items)
Paired evaluation of frozen Qwen/Qwen3.8-Flash-Next-FP8 (Stock T=1) vs. Stage 2 RLVR ckpt_final (Looped T=2, Ο=0.0), max_tokens = 65,536, official Qwen3.8 thinking sampling (temperature=1.0, top_p=0.95, top_k=20, greedy for EvalPlus Direct). All raw per-item outputs live in ./eval_flash_full/.
Benchmark (n, 64k cap) |
Stock T=1 |
Looped T=2 (Stage 2 RLVR) |
Score Delta | Token & Wall-Clock Delta |
|---|---|---|---|---|
LiveCodeBench v6 (175) |
77.71% (136/175, 26,265 tok, 30 caps, 7,504s) |
85.71% (150/175, 17,479 tok, 11 caps, 7,124s) |
+8.00 pp (+18/-4) |
-33.5% tok (-5.1% wall!) |
GPQA-Diamond (198) |
91.41% (181/198, 14,062 tok, 6 caps, 4,680s) |
91.41% (181/198, 8,818 tok, 4 caps, 4,495s) |
0.00 pp (+5/-5) |
-37.3% tok (-3.9% wall!) |
AIME 2025 (30) |
96.67% (29/30, 19,059 tok, 1 cap, 1,018s) |
93.33% (28/30, 12,790 tok, 1 cap, 1,122s) |
-3.34 pp (+0/-1) |
-32.9% tok |
HumanEval+ Think (164) |
82.32% (135/164, 648 tok, 0 caps) |
82.93% (136/164, 627 tok, 0 caps) |
+0.61 pp (+5/-4) |
-3.2% tok |
HumanEval+ Direct (164, no-think) |
84.15% (138/164, 252 tok, 0 caps) |
79.88% (131/164, 222 tok, 0 caps) |
-4.27 pp (+1/-8) |
-12.0% tok |
Total (All 5 Suites, 731 items) |
84.68% (619/731, 37 caps, 13,456s) |
85.64% (626/731, 16 caps, 13,175s) |
+0.96 pp (+29/-22) |
-34.2% tok (-2.1% wall!) |
Budget-Constrained 24k Reasoning Benchmark (Gate-2)
When reasoning token budgets are tight (max_tokens = 24,576), latent looping prevents truncation and yields large accuracy improvements:
Benchmark (n, 24k cap) |
Stock T=1 |
Looped T=2 |
Looped T=3 + LoopCD (Ο=0.15) |
Token Delta (T=2) |
|---|---|---|---|---|
LiveCodeBench v6 (40) |
57.5% (23/40) |
77.5% (31/40, +20.0 pp, +9/-1) |
82.5% (33/40, +25.0 pp, +10/-0) |
-30.7% tok |
GPQA-Diamond (50) |
90.0% (45/50) |
94.0% (47/50, +4.0 pp, +2/-0) |
β | -35.6% tok |
AIME 2025 (30) |
80.0% (24/30) |
90.0% (27/30, +10.0 pp, +3/-0) |
β | -23.5% tok |
HumanEval+ Direct (164) |
82.9% (136/164) |
81.7% (134/164) |
β | -9.5% tok |
π₯οΈ Consumer GPU Performance (Strata Fork + RAM Offload + DFlash2)
Measured on Qwen3.8-Flash-Next Unsloth UD-IQ4_XS (125B-A6B MoE + 51.2B PLE N-gram) with 8-channel host RAM expert arena, --expert-cache auto, --kv int8, and stock DFlash2 (--spec 4 --draft-conf 0.5), 512 generated tokens (greedy):
| Hardware & Mode | Prompt | Prefill | Decode | DFlash2 Accept |
VRAM Hit Rate |
|---|---|---|---|---|---|
1Γ RTX 3090 (24 GB) β Stock T=1 (48 layers) |
4.4K tok |
1,743 tok/s |
132.6 tok/s |
88.0% |
β |
1Γ RTX 3090 (24 GB) β Looped T=2 (64 layers) |
4.4K tok |
1,205 tok/s |
90.5β92.1 tok/s |
88.5β91.1% |
β |
2Γ RTX 3090 (--layer-split auto, K=24) β Stock T=1 |
17.3K tok |
3,390β3,508 tok/s |
171.5β193.4 tok/s |
83.7% |
98.2% |
2Γ RTX 3090 (Cyclic --layer-split auto, K=25) β Looped T=2 |
17.3K tok |
2,128β2,149 tok/s |
98β100 tok/s (+23% vs 1 GPU) |
β | 98.8% |
2Γ RTX 3090 (Cyclic --layer-split 24, balanced 32/32) β Looped T=2 |
17.3K tok |
2,077β2,149 tok/s |
98β101 tok/s (+23% vs 1 GPU) |
β | β |
π¦ Files, Training & Credits
Included Files & SHA-256 Checksums
| File | Size | Description | SHA-256 |
|---|---|---|---|
ckpt_final.safetensors |
268 MB |
Stage 2 GSPO RLVR adapter (70.2M FP32 params, gated_workspace, core [16..31], coda [32..39]) |
021b46c882468bd623b81a887ebd3ed2dcbc4c3a00a53e1ebb3b7c1d21230602 |
ckpt_final.json |
<1 KB |
Architecture & training config metadata | 18abd13b055cfa771783d9141380b9f27cd800b1da2613f620a1fd86eacaf8b7 |
SCOREBOARD.md & scoreboard.json |
~5 KB |
Full 64k paired eval summary (731 items across 5 suites) |
β |
eval_flash_full/*.jsonl |
~35 MB |
Raw per-item paired outputs (*_T1.jsonl & *_T2.jsonl) for all 731 prompts |
β |
- Architecture: Core layers
[16..31]executeT = 2(orT = 3+) recurrent passes wrapped by a 4-streamHCWorkspaceEntry, per-stepHCCrossPassMixer, pre-folded per-pass core LoRAs (GDN, QSA, MoE router, shared expert), and coda LoRAs on[32..39]. - Stage 1A + 1B:
1,200steps (600@2k+600@4k) onYoussofal/Qwen3.8-Flash-Next-MTPLX-Optimized-Speed+Jackrong/Qwen3.8-Flash-Next-Distill, with KL distillation + stop-guard (Ξ»_stop = 0.50) + DFlash2 bridge alignment (Ξ»_dflash = 0.02). - Stage 2 RLVR:
200steps of on-policy GSPO RLVR over verifiedT=2 / T=3rollouts generated withvLLMFP8. - Recurrent Core Architecture & Training Framework: Inspired by and adapted from
@jasontitus'sloopedqwen(MIT). - Consumer GPU RAM-Offload Engine: Built on top of
Niko1221/Strata(MIT). - Compute Sponsor: Huge thanks to Vast.ai for sponsoring this open-weights research with a
$500H200 compute grant that made full Stage 1, Stage 2 RLVR, and paired64kevaluation possible.
Model tree for alesha-pro/Looped-Qwen3.8-Flash-Next
Base model
Qwen/Qwen3.8-Flash-Next