Inkling-2-Mini-UD-Q3_K_XL (Split Per-Layer MoE Top-k GGUFs)

Per-layer asymmetric MoE routing builds of unsloth/Inkling-2-Mini-GGUF (UD-Q3_K_XL) that match active MoE expert counts (expert_used_count) to your GPU VRAM vs CPU DDR4 memory tiers โ€” running natively in stock llama.cpp / Unsloth -mix builds with zero C++ recompilation.

Credits: Base model by Thinking Machines Lab; Dynamic 3-bit quantization (UD-Q3_K_XL) by Unsloth. These files only change the inkling2_loop.expert_used_count metadata key from a global scalar 8 to a 24-element UINT32 array; all tensor weights remain bit-for-bit identical to Unsloth's UD-Q3_K_XL.


Why Split Top-k?

On 8 GB GPUs (e.g., RTX 4060 Laptop + 16 GB DDR4), the middle 3ร— looped core sits in fast VRAM (~256 GB/s), while outer layers spill to slow CPU DDR4 (~25โ€“40 GB/s).

Global --override-kv ...expert_used_count=int:5 slows down real tasks because starving the 3ร— looped core causes rambling (+28% token bloat), while global k=6 still leaves CPU DDR4 bandwidth on the table. Setting expert_used_count per layer inside the GGUF header fixes both:

File blk.0โ€“5 (CPU) blk.6 (Loop Edge) blk.7โ€“17 (3ร— GPU Core) blk.18โ€“23 (CPU) WikiText-2 PPL (8,192 tok) Best For
Unsloth UD-Q3_K_XL (k=8) 8 8 8 8 8.2201 Baseline lossless
Global k=6 (--override-kv) 6 6 6 6 8.4247 Untouched GGUF
Inkling-2-Mini-UD-Q3_K_XL-split4684.gguf 4 6 8 4 8.6100 (better than global k=5 8.6439) 8 GB GPUs at 32kโ€“64k ctx (blk.6 on CPU via -ot [0-6])
Inkling-2-Mini-UD-Q3_K_XL-split585.gguf 5 8 8 5 8.3989 (beats global k=6!) 8 GB GPUs at 4kโ€“8k ctx (-ot [0-5]) or 10โ€“12 GB+ GPUs

Recommended llama-server Command (8 GB RTX 4060, 32k Context)

Important: Do NOT pass --override-kv inkling2_loop.expert_used_count=... โ€” that would overwrite the per-layer GGUF array back to a scalar!

llama-server -m Inkling-2-Mini-UD-Q3_K_XL-split4684.gguf \
  --jinja --ctx-size 32768 --parallel 1 \
  --cache-type-k q4_0 --cache-type-v q4_0 \
  --temp 1.0 --top-p 1.0 --top-k 0 --min-p 0.0 \
  -ub 64 -ngl 99 -fit off -fa on -t 6 -tb 12 \
  --no-op-offload --load-mode none \
  -ot "blk\.([0-6]|1[89]|2[0-3])\.ffn_.*_exps.*=CPU" \
  --chat-template-kwargs '{"reasoning_effort":0.3}'
  • Measured on RTX 4060 Laptop (8 GB) + 16 GB DDR4 (32,768 ctx, q4_0 KV, Unsloth b12651-mix):
    • Clean 3.2k prompt: 154.44 t/s prefill ยท 30.46 t/s decode (+28% pp / +7% tg vs global k=6, +81% pp / +34% tg vs k=8).
    • 11,374-token summarization while screen recording: 114.92 t/s prefill ยท 25.71 t/s decode.

For 4kโ€“8k max speed with Inkling-2-Mini-UD-Q3_K_XL-split585.gguf, change --ctx-size 8192 and [0-6] โ†’ [0-5] (puts blk.6 on GPU at k=8).


Already Have Unsloth's GGUF? Patch Locally in < 1s

Use patch_split_k.py included in this repo instead of re-downloading 12.7 GiB:

# Write a patched copy:
python patch_split_k.py --gguf Inkling-2-Mini-UD-Q3_K_XL.gguf --preset 4684 --out Inkling-2-Mini-UD-Q3_K_XL-split4684.gguf

# Or patch in-place (<1s, 0 GB extra disk, saves 12 MB header backup):
python patch_split_k.py --gguf Inkling-2-Mini-UD-Q3_K_XL.gguf --preset 4684 --in-place
python patch_split_k.py --gguf Inkling-2-Mini-UD-Q3_K_XL.gguf --restore
Downloads last month
217
GGUF
Model size
26B params
Architecture
inkling2_loop
Hardware compatibility
Log In to add your hardware

3-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for analogalok/Inkling-2-Mini-SplitK-GGUF

Quantized
(350)
this model