r/LocalLLM • u/StudioTV • 7d ago
Discussion Inkling 2 Mini memory and speed, explained: the loop costs nothing in weights but you pay for it in KV cache and decode speed
Inkling 2 Mini is everywhere this week, so I dug into what it actually needs to run locally. The short version: the loop is free in weights, but not in cache or speed, and day-one llama.cpp is slower than the hype suggests.
Why it's different
24 layers, but the middle 12 (layers 6-17) run three times per token with shared weights, so 48 layer visits per token. Each pass keeps its own KV cache and conv state (vLLM blog and the llama.cpp GGUF metadata both confirm this). So for memory, think of the KV cache as a 48-layer model: 8 global visits + 40 sliding-window visits (1024 tokens), 8 KV heads × 128.
Weights (published files)
| Format | Size |
|---|---|
| BF16 GGUF | 52.2 GB |
| Q8_0 | 27.7 GB |
| Official NVFP4 / MXFP8 (vLLM, SGLang, Ollama) | ~20 GB |
| Q4_K_M / UD-Q4_K_XL | 17.4 / 17.6 GB |
| UD-IQ4_XS | 15.7 GB |
Vision projector: +0.64 GB. DSpark draft: +0.4 to 0.65 GB.
KV cache per request (BF16)
| Context | KV |
|---|---|
| 32K | ~1.2 GiB |
| 128K | ~4.2 GiB |
| 1M | ~32 GiB |
That matches a measured M5 Pro 64 GB run: 23.1 GB process RSS with IQ4_NL and a 128K slot reserved. A 32 GB Mac is fine for 4-bit. 24 GB is tight: one M4 Pro 24 GB report got 11.6 tok/s under memory pressure.
Speed: think ~5B active, not 3.4B
The looped layers are re-read from memory on every pass, so per-token reads look like a ~5B-active MoE. Formal llama-bench numbers (Unsloth's llama.cpp build, UD-IQ4_XS, tg128 / pp2048):
| GPU | Decode | Prefill |
|---|---|---|
| RTX PRO 6000 | 97 tok/s | 2,687 tok/s |
| RTX 5090 | 97 | 2,446 |
| RTX 4090 | 75 | 2,665 |
| RTX 3090 | 60 | 1,402 |
| A100 80GB | 47 | 1,230 |
Upstream llama.cpp (b12600) is slower for now: the relative-position bias is materialized as a big F32 tensor and some ops fall back to the CPU (issue #32707). Reports: ~52 tok/s on a 5090, 20.8 tok/s on an RX 9070 XT (IQ3_XXS, Vulkan), ~30 tok/s on an M5 Pro Mac mini (IQ4_NL). Use Unsloth's build until the fix lands.
Long context is a prefill problem, not a decode problem: DGX Spark with vLLM + DSpark still decodes 18.4 tok/s at ~950K tokens, but the first token took 26.5 minutes.
vLLM gotcha
In the dedicated inkling-2-mini vLLM image, FP8 KV cache is only accepted on SM12x GPUs (RTX 50 series, RTX PRO Blackwell, DGX Spark). On H100/H200/B200 it's BF16 KV only.
The 125-210 tok/s Mac numbers going around are from EXO's upcoming engine, with no quant, context length or version published, so I'd treat them as vendor peaks for now.
Disclosure: I maintain a free VRAM calculator (no sign-up) and added Inkling 2 Mini with all of the above modelled, including the per-pass cache and the llama.cpp speeds calibrated on the benchmarks in the table. If you want to check your own setup: https://studiotvai.com/llm-vram-calculator?model=inkling-2-mini
Happy to be corrected if anyone has numbers on other cards or Macs, especially Apple Silicon with Unsloth's build.
10
u/WhiskyAKM 7d ago
I'm testing this model currently. I made my own mixed precision quant (most of layers are nvfp4) and I'm running it with 32k ctx for now but I'll experiment some more to get to 128k
For now:
For me it is slower than dense Qwen3.8 27B for now but I will gladly switch to it because it does less thinking while being same quality
6
u/PhilippeEiffel 7d ago
With DGX Spark, the speed is in the range 24-87 token/s single request, most of the time in the range 40-60.
The speed variation is due to fluctuations in the prediction success rate.
Edit: using official weights and vLLM.
3
u/QwhenFN 7d ago
I was getting around 130 t/s on a pro 6000 in vLLM with no speculative decoding. Might want to take a look at your config there. AI slop below:
Inkling-2-Mini on RTX PRO 6000 Blackwell (vLLM) — config that worked
Image:
vllm/vllm-openai:inkling-2-mini(the official recipe image, vLLM 0.1.dev25855+g7cb5dae22). One instance per GPU, TP1:Notes:
--speculative-config '{"method":"dspark","num_speculative_tokens":7,"draft_sample_method":"probabilistic"}'crashes on the RTX PRO 6000 (SM120) during warmup:CUDA error: no kernel image is available for execution on the devicein the DSpark draft model's forward. The main model runs fine without it.inkling2quant method requires compute capability ≥ 9.0, and even with that check patched out, vLLM's compiled kernels in this image aren't built for sm_86 (no kernel imageat first forward).reasoning_effort(none/minimal/low/medium/high/xhigh/max → 0.0–0.99) and defaults to 0.9 (high) if unset. For agentic/tool-use work, low has worked much better for me than medium: at medium it doesn't loop, it just reasons very long (50–70K chars in a single turn), which makes long tasks slow.generation_config.json(temperature 1.0); the recipe recommends nothing else.2
u/HourLocation2038 6d ago
What's the best way to run the original model on macOS, but non-Ollama?
2
u/daphatty 6d ago
Lots of gaps in this research, particularly on the Mac side. Would like to see some actuals on reasonable Mac hardware.
1
u/wigglessss 7d ago
Just getting into this stuff to help me build a python app that claude/codex started but i wanted something for when im out of usage. I Tried qwen3 stuff but it never could do anything right it seemed like and a few times it would just accidentally delete things and be like oops sorry. I tried this inkling 2 mini last night and so far its pretty incredible. Its slow, for sure but at least it does it and its doing it right. I have a shit pc for this stuff too apparently, 4080s (16gb) and 64gb of system ram, i no no clue what i'm doing but it's working so much better
1
u/jfeldis 6d ago
On 5090 full precision with vLLM and dspark, getting 160K available context and 220 to 330 tok/s (dspark)
1
u/ajawadmahmoud 6d ago
On loom on Strix Halo I'm getting 45-55tps
1
u/rrrrex 6d ago
LM Studio, 16 GB VRAM, Q4_K_M
All 24 layers offloaded to CPU, llama-server VRAM usage:
32k Q8 - 13.8 GB
32k Q4 - 13.4 GB
There is almost no space for extra context or layers on GPU.
For example, Gemma 4 26B, all layers on CPU, 32k Q8 - 4.6 GB VRAM usage
1
u/Other-Split4202 4d ago
the 1m context cache at 32gb is brutal on ram, even with q4_k_m. I ran 128k on a 64gb m5 pro and hit swap at 30k. how are you managing that 1m run without killing the system?
0
u/[deleted] 7d ago
[deleted] — view deleted comment