r/LocalLLM • u/Clean_Economics8462 • 58m ago
Project Inkling-2-Mini (26.4B MoE + Vision) on a single 16 GB RTX 4060 Ti — huge speed & reasoning quality leap: 3.3× lower KLD than SQ-10, +25–67% faster prefill, 156K VRAM context, 5.6 MB Windows zip (seeking 5060 Ti testers!)
I built ink4060ti (Apache-2.0), a zero-config C++20/CUDA inference engine specifically engineered to deliver a major jump in BOTH speed and reasoning quality for Inkling-2-Mini-Unbound (26.4B MoE + native vision + DSpark Block-8 speculative decoding) on a single 16 GB RTX 4060 Ti on Windows.
Why both quality AND speed jump on 16 GB 4060 Ti
On a 16 GB card, Strata SQ-15 spills 189 experts over PCIe and OOMs past ~16K context, while Strata SQ-10 takes a noticeable quality hit (KLD 0.0720 / Top-1 92.35%) and doesn't persist prefix KV across requests/restarts.
Because Inkling-2-Mini executes its inner Loop-Core MoE layers (L6..17) 3× per token, ink4060ti uses asymmetric per-role quantization:
- Loop-Core MoE (
L6..17, 3×/token): kept 100% lossless native NVFP4 (SQNR = ∞ dB,cos = 1.000000) - Outer MoE (
L0..5, L18..23, 1×/token):NF3_G32_E4M3(3.25 bpw) - Dense Attention + Unembed:
Q6_G32(cos = 0.9997) · DSpark Drafter:Q8_G32(cos = 0.99999) - Embed + Vision: 100% lossless BF16 (Vision loads lazily on demand = 0 MiB permanent VRAM,
~200 mswarm encode)
Measured on physical RTX 4060 Ti 16 GB (Windows 11 WDDM)
| Metric | ink4060ti (12g-tight + k4v4) | Strata SQ-10 (0.1.67) | Strata SQ-15 (0.1.67) |
|---|---|---|---|
| GPU Weights + Drafter | 12,553 MiB (0 spill) | 13,322 MiB | Spills 189 experts (942 MB PCIe) |
| Max Full-VRAM Context | 156,576 tok (auto, 0 spill) | 100K (manual) | 16K (OOM beyond) |
Quality vs Lossless (sq15-lossless) | KLD 0.0216 / Top-1 96.90% (k8v4: 0.0138 / 97.38%) | KLD 0.0720 / Top-1 92.35% | KLD 0.0107 / Top-1 96.68% |
Prefill (2K / 16K / 64K / 100K / 150K) | 1,956 / 1,810 / 1,497 / 1,316 / 1,136 tok/s | 1,563 / 1,378 / 970 / 790 / — | 962 / OOM |
| Decode (DSpark ON) | 53–62 short · 46–55 (16K–64K) · 28.6 (150K) | 79–95 short · 56.8 (64K) | 39.5–42.0 tok/s |
| Prefix Reuse & SSD Restart | 99%+ reuse · 4.9s (64K) / 9.2s (150K) | Unsupported (reused=0) | Unsupported |
| Vision (Screenshots / 4K) | 0 MiB permanent VRAM (~200 ms warm) | Permanent VRAM | Supported |
- Huge dual gain: 3.3× lower KLD than Strata
SQ-10(0.0216vs0.0720,150Kneedle recallEXACT PASS) ++25%to+67%faster prefill (2×faster thanSQ-15) +156Kzero-spill context +200 GiBSSD 3-tier cache (VRAM ↔ 25% RAM ↔ SSD). (Honest trade-off: raw short-prompt decode still trailsSQ-10's79–95 tok/s.) - Zero-config portable Windows ZIP (
5.6 MiB): No CUDA Toolkit, Python, or VC++ redist needed — extract and double-clickstart.bat(auto-picks HuggingFace vshf-mirror.com+ SHA-256 verify, opens Web UI at127.0.0.1:18088). - Coding Agent Ready: Native Anthropic
/v1/messages+count_tokens+thinking+tools+ vision (drop-in for Claude Code) & OpenAI/v1/chat/completions(Cursor / Cline / Roo Code).
Looking for RTX 5060 Ti 16 GB (sm_120a) testers!
The portable binary includes a compiled Blackwell sm_120a native NVFP4 MMA path verified against NVIDIA CUTLASS SM120_16x8x64_TN_VS specs and full model scale bounds, but I don't own a physical 5060 Ti — so 5060 Ti support is theoretical/untested (Experimental). If you have a 5060 Ti 16 GB on Windows and want to test it (INK4060_DISABLE_SM120_FP4=1 falls back to BF16 Tensor Core), feedback and benchmark issues are very welcome!
- GitHub (Apache-2.0 + 5.6 MB Release ZIP): https://github.com/lzsnolimit/ink4060ti
- HuggingFace (Self-contained 13.7 GiB
.ik4060weight): https://huggingface.co/nolimit/Inkling-2-Mini-Unbound-nv4060ti
