sliderforthewin (code at GitHub jasontitus/loopedqwen) 11 27 upload: Borrowing the recurrent latent depth and native MTP approach from Inkling-2-Mini, this wraps Qwen3.8-27B's intermediate layers 24–39 into a gated workspace adapter with 62.8M parameters (240 MB), leaving the base weights untouched. At runtime, you can switch the loop count T=1 / 2 / 3: T=1 is bit-identical to the original, while T=2 and T=3 yield effective depths of 80 and 96 layers respectively; it also includes a calibrated BF16 MTP draft head (810 MB).
Why it matters The author claims that thinking tokens are reduced by more than half, and with calibrated MTP speculative decoding, single-stream speed remains largely unchanged. Plugins are available for both Mac and CUDA without modifying the engine.
Upvotes 74 · Likes 92 · Downloads 0
Reasons
- The author claims thinking tokens are reduced by 53%–69%, MTP accepts an average of 3.57 draft tokens per round, and single-stream speed matches the original (36.7 vs 37.1 tok/s on Apple M5 Max)
- The author claims LiveCodeBench v6 improves from 72.6% to 78.9% at T=3, but GPQA Diamond drops from 86.9% to 82.3% under a 80k budget; the table uses different checkpoints, budgets, and question counts for different rows, so they should be viewed separately
- The adapter can be directly attached to 8-bit, 4-bit, and Prism's 1.76-bit Ternary Bonsai quantized versions; the author claims peak memory usage for the Bonsai version is 12.5 GB on a Mac mini with 24GB RAM
Usage
- CUDA: pip install "git+https://github.com/jasontitus/loopedqwen.git#subdirectory=vllm_looped_qwen38", then vllm serve Qwen/Qwen3.8-27B --hf-overrides '{"architectures": ["LoopedQwen3_5ForCausalLM"]}' --dtype bfloat16 --max-model-len 81920; default is T=3 + LoopCD (ω=0.15), and the plugin automatically downloads the v3.1 checkpoint
- Apple Silicon: mlx-serve v26.11.4+ with the precompiled plugin liblooped_qwen38.dylib from the repository, which reuses the locally existing Qwen3.8-27B; after starting the service, use the OpenAI-compatible address http://127.0.0.1:11234/v1,可接 for Claude Code, Cursor, etc.
Risks
- All results are self-tested by the author; the table mixes multiple versions and different token budgets, with some entries having only 60 or 18 questions, making conclusions unstable; benchmarks like GPQA actually decline after looping
- The one-click installation is a curl … | bash script, and the Mac side requires loading a precompiled binary plugin, which should be reviewed before running; this entry has not been run