Broot-65B-A6B: Zero-Shot Recurrent-Depth Looping & Loop-Aware Quantization on a 16 GB GPU
How we recovered an exact 48-layer router mapping (min_cos = 1.00000) to zero-shot transfer a T=2 recurrent-depth loop adapter onto pruned Groot-65B-A6B, designed a loop-aware dynamic IQ3_XXS quant, and hit 60–77 tok/s with 0% SSD paging on a single RTX 4070 Ti SUPER.
Broot-65B-A6B (Bob + Groot) is a local-first, loop-aware quantization of GrootTeam/Groot-65B-A6B-261023 paired with a zero-shot sliced T=2 recurrent-depth loop adapter from alesha-pro/Looped-Qwen3.8-Flash-Next.
- Download weights, loop adapter & recipe: thestashthai/Broot-65B-A6B-GGUF on Hugging Face
The goal was practical: get full-125B-class agentic reasoning, tool calling, and long-context synthesis inside a ~24 GiB MoE expert footprint on a single 16 GB VRAM consumer GPU + 64 GB RAM (with zero SSD paging), challenging smaller 35B-A3B and Inkling-class models while keeping the full 51B PLE n-gram table and 1.4B MTP speculative drafter.
1. The Zero-Shot 512 → 256 Router Discovery
Groot-65B-A6B-261023 is a 256-expert pruned sibling of Qwen3.8-Flash-Next (512 experts). Both share the exact qwen4_exp geometry:
- 48 transformer layers (
36Gated DeltaNet +12sparse attention QSA, full attention every 4th layer) N = 2560,hc = 4(hc_lr = 320),n_ff = 640,K = 10active experts per token- 51B PLE n-gram lookup table + 1.4B
blk.48Multi-Token Prediction (MTP) drafter
Because Groot was pruned from QFN with minimal post-training (< 0.1B tokens), we tested whether Groot’s mlp.gate.weight [256, 2560] rows could be matched 1-to-1 back to QFN’s [512, 2560] router rows using HTTP Range reads directly against both Hugging Face repos.
Result: Every single layer (L00 through L47) matched a unique 256-row subset of QFN’s 512 experts with a global min_cos = 1.00000 (rel_L2 = 0.0003–0.0005).
Using that exact 48-layer index map (groot256_expert_map.json), we performed a pure zero-shot slice of the recurrent-depth overlay:
- Loop Adapter (
ckpt_final.safetensors→ckpt_final_groot256.safetensors): Sliced all 24 router LoRA tensors (core_steps.*.layer.mlp.gate.lora_bandcoda.*.mlp.gate.lora_b) from[512, 16]→[256, 16]along the recovered per-layer indices. All other LoRA andgated_workspacehooks (210hooks across core[16, 32)and coda8layers) transferred unmodified. - Expert Hotness Profile (
qwen4exp-48x512.prof→qwen4exp-48x256.prof): Sliced and re-ranked the48×512expert frequency table into12,288ranked48×256pairs so the VRAM expert cache pins the hottest Groot experts first.
Zero retraining, zero base-weight edits.
2. Engine Port (Adamant, sm_89)
To run T=2 looping natively on Windows with a 16 GB RTX 4070 Ti SUPER (sm_89), we ported the full loop_adapter stack into Adamant, nixcat-dev’s Ada Lovelace / Ampere fork of Basalt (by Jesús Gulfo), which is itself a fork of Strata (by Niko1221), all MIT. The loop-adapter stack is our own patch set on top of Adamant:
- CUDA kernels & hooks: Ported
loop_adapter.{hpp,cu}and shared-expert hooks for both decode and prefill (gated_workspacemode,kQsaCommitMaxLayersbumped16 → 32for looped QSA commits). NE == 256router-LoRA decode path: Upstream’s fused decode router assumedNE == 512; we added a cleanNE != 512path (bf16_gemv_fp32_mmvf_multi+loop_lora_add(..., kMoeGate)+router_top10) so256-expert Groot runs with full LoRA-adjusted routing on every loop pass.- Bundled
-MTP.ggufsupport: Updated the converter and loader to cleanly skip trailingblk.48.*MTP tensors when packing standalone-MTP.gguffiles into.basaltcontainers.
3. Quantization Study: ISTA (GSQ-RCO) vs. Unsloth (UDv3.1) vs. Uniform FIQ
Before building our own quant, we inspected the per-layer tensor allocations of ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF, unsloth/Qwen3.8-Flash-Next-GGUF (UD-Q2_K_XL and UD-IQ3_XXS), and BoxyFit/Groot-65B-A6B-8V32D-FIQ.
Two findings shaped Broot LoopUD-IQ3_XXS:
- The
n_ff = 640block constraint:ffn_gate_expsandffn_up_exps(K = 2560 = 10 × 256) accept any 256-block i-quant (IQ2_S,IQ3_XXS,IQ3_S,IQ4_XS), whileffn_down_exps(K = 640, not divisible by 256) is restricted to block-32/64 types (Q2_0,IQ4_NL,Q5_0,Q8_0). - Exact overlap with our
T=2loop core: Both ISTA’s gradient-basedRCOand Unsloth’sUDv3.1independently flagL16–L31(our exactT=2recurrent-loop core) andL37–L47(ourT=2coda and final readout) as the most sensitive layers in the network, whileL08–L13are the least sensitive.
The LoopUD-IQ3_XXS Recipe
Starting from mradermacher’s lossless Q8_0 base (1,256 tensors) and calibrating with IsValorum’s 1.25M-token Groot importance matrix (927/927 entries, 611 chunks):
- Dense, Attention, Shared Experts, HyperConnections, SSM, Indexer, Embeddings, Output &
blk.48MTP: 100% bit-exactQ8_0(zero requantization loss; ~1.4 GiB total). - 51B PLE n-gram table (
per_layer_token_embd.weight):IQ4_NL(26.82 GiB). - MoE
gate/up(zeroIQ2_XXSanywhere):- 100% of the
T=2loop core (L16–L31) + sensitive early/coda layers (L14, L33, L35, L37–L38, L40–L42, L45–L46) →IQ3_XXS(26 layers) - Final readout (
L47) →IQ4_XS(1 layer) - Remaining insensitive layers →
IQ2_S(21 layers)
- 100% of the
- MoE
down:IQ4_NLon 45/48 layers;Q2_0only on the 3 least-sensitive layers (L08, L10, L13). - Final size:
56.81 GiBGGUF (23.66 GiBMoE experts,3.37 bpwaverage expert width).
4. Controlled T=1 vs. T=2 Ablation & BoB/Hermes Assistant Benchmarks
To isolate both (a) the zero-shot loop transfer gain (T=2 − T=1) and (b) the loop-aware quantization interaction (LoopUD vs. uniform IQ2_XXS), we ran a deterministic (temperature = 0) 2×4 matrix across 26 programmatically graded tasks on a single RTX 4070 Ti SUPER (16 GB VRAM) + Ryzen 9 9950X + 64 GB RAM:
- 10 Multi-Step Math & Combinatorics tasks (exact numeric grader)
- 8 Python Algorithmic Coding tasks (real subprocess hidden unit-test
pass@1) - 8 BoB / Hermes Assistant Harness tasks (parallel OpenAI tool calling, tool selection, multi-turn error recovery, BoB cited-claim discipline, surgical code patching, Hermes dependency scheduling, 6K-token needle extraction, and abstention)
| Model / Quant | Experts | T=1 Code | T=2 Code | Loop Gain (Δ) | T=1 Total | T=2 Total | T=1 tok/s | T=2 tok/s |
|---|---|---|---|---|---|---|---|---|
Uniform Groot 8V32D-FIQ (IQ2_XXS core) | 20.2 GiB | 4 / 8 (50%) | 6 / 8 (75%) | +2 (+25%) | 21 / 26 | 23 / 26 | 115.0 | 84.2 |
Fast: Broot LoopUD-Q2_K_XL | 21.3 GiB | 5 / 8 (62.5%) | 6 / 8 (75%) | +1 (+12.5%) | 22 / 26 | 22 / 26 | 108.0 | 74.9 |
Mid: Broot LoopUD-IQ3_XXS | 23.3 GiB | 3 / 8 (37.5%) | 7 / 8 (87.5%) | +4 (+50%) | 20 / 26 | 24 / 26 | 93.1 | 71.6 |
Flagship: Broot LoopUD-IQ4_XS | 29.0 GiB | 4 / 8 (50%) | 8 / 8 (100%) | +4 (+50%) | 21 / 26 | 25 / 26 | 82.4 | 58.4 |
Ref (125B): QFN UD-IQ2_XS (512 exp) | 38.8 GiB | 7 / 8 (87.5%) | 8 / 8 (100%) | +1 (+12.5%) | 25 / 26 | 26 / 26 | 101.8 | 74.3 |
WikiText-2 Perplexity & KL-Divergence (5,100 Scored Tokens, KLD vs. Broot IQ4_XS T=1)
| Model / Quant | T=1 PPL | T=2 PPL | T=1 KLD | T=2 KLD | T=1 Top-1 | T=2 Top-1 |
|---|---|---|---|---|---|---|
Flagship: Broot LoopUD-IQ4_XS | 7.226 ± 0.279 (ref) | 7.637 ± 0.298 | 0.000 | 0.307 | 100.0% | 78.4% |
Mid: Broot LoopUD-IQ3_XXS | 7.797 ± 0.304 | 8.126 ± 0.321 | 0.323 | 0.478 | 77.5% | 73.3% |
Uniform Groot 8V32D-FIQ | 8.675 ± 0.351 | 9.116 ± 0.370 | 0.540 | 0.656 | 72.3% | 69.0% |
Fast: Broot LoopUD-Q2_K_XL | 8.772 ± 0.352 | 9.180 ± 0.371 | 0.544 | 0.654 | 71.9% | 68.7% |
Ref (125B): QFN UD-IQ2_XS | 2.530 ± 0.066 | 2.742 ± 0.074 | — | — | — | — |
Broot LoopUD-IQ3_XXS cuts KL divergence by −40% (0.323 vs. 0.540) and improves WikiText-2 PPL by −0.88 to −0.99 over Uniform 8V32D-FIQ. Notably, pruning 50% of experts (512 → 256) increases raw Wikipedia prose PPL (2.53 → 7.23), yet flagship Broot LoopUD-IQ4_XS (T=2) ties unlooped 125B QFN T=1 overall (25/26) and beats it on unit-tested Python coding (8/8 vs. 7/8) in 10 GiB less RAM.
Two Key Findings
- Zero-shot
512 → 256loop transfer delivers a +34.4 pt average coding jump: Turning on our zero-shot slicedckpt_final_groot256.safetensorsraised unit-tested Pythonpass@1across all four Groot quants from 50.0% → 84.4% with zero retraining. - Loop-aware quantization doubles the recurrent-depth payoff: At
T=1(unlooped), uniform8V32D-FIQ(4/8),LoopUD-IQ3_XXS(3/8), andLoopUD-IQ4_XS(4/8) score nearly identically (20–21 / 26). UnderT=2looping, uniformIQ2_XXSonly gains +2 coding tasks, while loop-core-protectedLoopUD-IQ3_XXSandLoopUD-IQ4_XSgain +4 each (+50% absolute) — pushing flagshipLoopUD-IQ4_XSto 10/10 Math, 8/8 Coding, and 7/8 BoB/Hermes Harness (25/26), matching full 125B QFN on both Math and Coding in 29 GiB.
Live Agentic Web-Research Run (Unsloth Studio, T=2)
| Metric | Broot LoopUD-IQ3_XXS (T=2) | Groot 8V32D-FIQ (T=2) | Full QFN-125B UD-IQ2_XS (T=2) |
|---|---|---|---|
| MoE Expert Pool | 23.8 GiB (0% SSD) | 20.2 GiB (0% SSD) | 38.8 GiB (0% SSD) |
| Decode Speed | 60.4 – 77.1 tok/s | 76.9 – 97.6 tok/s | 60.4 – 84.2 tok/s |
| Peak Prefill | 2,388.5 tok/s (10.7K tok) | 1,776.8 tok/s (5.3K tok) | — |
| VRAM Expert Hit Rate | 72.1% – 74.6% (31.0% in VRAM) | 79.8% – 85.5% (36.4% in VRAM) | 67.5% – 72.9% |
| MTP Draft Acceptance | 67.8% (peak 82.9%) | 67.5% | 71.2% |
| Turn-1 Wall-Clock | 88.5 s (10 tool calls) | 128.4 s (16 tool calls) | 294.3 s (22 tool calls) |
| Free System RAM | 14.5 GB free / 64 GB | 25.6 GB free / 64 GB | 7.4 GB free / 64 GB |
5. Download & Credits
Everything — the 56.81 GiB standalone GGUF, the sliced ckpt_final_groot256.safetensors loop adapter, the 48-layer router index map, the 48×256 expert profile, and the exact llama-quantize recipe — is published at:
Built on work from GrootTeam, alesha-pro, IsValorum, mradermacher, Unsloth, and ISTA-DASLab.
License
- Weights, Adapters, Profiles, Recipes & Code: Licensed under the Apache License 2.0 (fully open source).
- Write-Up & Media: Licensed under CC BY 4.0 (free to share and adapt with attribution).