Hacked-up Qwen3-0.6B with 3× layer looping and 512M Engram memory cuts 8K PPL 17.6%
amuhak · reddit · 2026-12-05
Reddit user amuhak open-sourced a heavily modified Qwen3-0.6B-Base: middle 20 layers looped up to 3× per token (68 effective layers), a 512M 2/3-gram Engram lookup memory, 10.7× compressed cross-loop core KV (CSA2+FP4), and a native llama.cpp port.
Key results (20B training tokens)
- 8K val PPL 2.96 vs 3.60 for a matched standard Qwen3-0.6B (−17.6%)
- HumanEval 47.6% (+8.5), MBPP 48.6% (+7.4)
- Early-exit runs 2.55× faster than fixed 3-loop on H200 (1.22 avg loops/token) with slightly better GSM8K (51.6%)
- Passes 8K/16K NIAH under 10.7× FP4 KV; multi-key RULER degrades past 8K, MMLU-Redux dips 3 pts
Quantization findings (34 GGUFs benchmarked)
- Best all-rounder: Q4KM-imatrix-compact (0.72 GB, 95.2% BF16 recovery)
- Imatrix matters hugely on looped weights: Q4KM KL nearly halved (0.0667→0.0377), Q2K +23.4 pts
- Local KV via -ctk q80 -ctv q40: 805 MB total at 16K context
The author calls it a proof-of-concept and discloses AI assistance. GGUFs, BF16 weights, the llama.cpp fork, and training code are all public.
More from Infra
- 91% of yubot users' model calls go through private models, claims full-stack encryption — markjeffrey · 2026-12-06
- Local 32GB dual RTX 5060 Ti benchmark round done: Qwen 3.8 27B wins SWE-bench but takes 132 hours — Careful-Report6526 · 2026-12-06
- China's CXMT to invest $135M for 20% stake in ASR's custom edge AI chip unit — pstAsiatech · 2026-12-06
- MiniMax shares soar 42% after M4 model debuts with Huawei Ascend chip support — pstAsiatech · 2026-12-06
- Open-source inference engine Flyx impresses: ~50MB binary, 256K context, 365 tok/s on one GPU — Old-Sherbert-4495 · 2026-12-06
- Open-source ZeroHook claims up to 34% FPS boost by blocking overlay DLLs and vendor bloat — Promptmethus · 2026-12-06