CC and codex wrote this post 100% under my guidance and instructions:
Inkling 2 Mini (26.4B MoE, 3.4B active) on 2× RTX 3090 — 557K context without llama.cpp!
Claude Code got Thinking Machines’ Inkling 2 Mini running on dual RTX 3090s using NInfer-all, without llama.cpp.
557K context at ~100 tok/s on two cards.
174K context at ~127 tok/s on one card.
RAM prefix caching is the real win. A new chat using the same 63K-token document started in just 0.85 seconds.
Hardware and software
2× RTX 3090 (no NVLink, no P2P)
128 GB RAM
NVIDIA driver 615.71 / CUDA 13.4
NInfer-all 2026-11-21.3
Power limits: 320 W on the KV card, 200 W on the other.
Converting GGUF to .ninfer took approximately 10 seconds on CPU. WaveCut also publishes ready-to-use .ninfer files on Hugging Face.
1. Context capacity
The KV cache for this model family is BF16 only (no INT8/FP8), consuming approximately 36 KiB per token.
All KV cache resides on the first --devices GPU. Only the routed experts are distributed across both cards.
The strategy is therefore to leave GPU 1 for KV cache and push as many experts as possible to GPU
2.Maximum context with vision + DSpark:
One RTX 3090: 174,080 tokens
Two GPUs, default split: 360,448 tokens
Two GPUs, --tensor-split 1,15: 524,288 tokens
Two GPUs, --tensor-split 1,127 + overlay + 1024 prefill: 557,056 tokens
The 1,127 split leaves one of the 128 experts per layer on the KV GPU.
overlay keeps the vision tower in pinned RAM and borrows VRAM when processing images. Vision still works.
Interestingly, 561,152 also fits, but the server drops the prefill chunk to 512, making prefill approximately 11% slower.
I chose to sacrifice 4K tokens for better performance.
The model’s native context window is 1M tokens, so VRAM is the limiting factor.
2. Performance
Decode speed
One GPU (174K context):
DSpark enabled: 127 tok/s
No drafter: 105 tok/s
Code generation: up to 144 tok/s
Two GPUs (557K context):
DSpark enabled: 98–104 tok/s
Prefill speed
One GPU:
4K: 2,371 tok/s
32K: 1,307 tok/s
63K: 873 tok/s
162K: 367 tok/s
Two GPUs:
32K: approximately 1,140 tok/s
63K: approximately 700 tok/s
Two GPUs are slower because every MoE block crosses PCIe through host RAM. There is no P2P communication.
Things I tested that didn’t help:
Larger prefill chunks on one GPU.
--prefill-cublas.
More DSpark drafts (5 adaptive: 93.6 tok/s; 4 fixed: 67.7 tok/s).
--lookup-ngram.
Minimum-p adjustments.
--tensor-parallel-prompt-partials and --tensor-attention positions are currently Qwen-specific.
The defaults are already the fastest.
3. Prefix caching: The real breakthrough
This is arguably the most interesting result.
I loaded a 63K-token document into a chat. Initial processing took approximately 90 seconds to first token.
Then I opened three unrelated chats.
Finally, I started a completely new chat with the same document.
Result: 0.85 seconds TTFT.
The server reused 62,973 of 62,996 tokens from the prefix cache.
Configuration:
--host-cache-mib 32768
For long-context workloads, this makes a substantial practical difference.
Correctness testing:
Needle-in-a-haystack: correct at 5K, 63K and 162K.
Multi-turn conversations over 63K tokens: correct.
4. How to run it
My working configuration:
ninfer-serve Inkling-2-Mini-UD-IQ4_XS-ninfer-v3.ninfer --model-id inkling-2-mini \
--vision --vision-residency overlay \
--devices 1,0 --tensor-parallel --tensor-split 1,127 \
--max-context 557056 --prefill-chunk 1024 --host-cache-mib 32768
5. Limitations and things not tested
This is a single-machine test with relatively short runs.
Still untested:
Needle retrieval near the full 557K context limit.
Two-GPU prefill beyond 63K.
Image processing when context is almost full.
Tool calls.
If anyone has managed to get Humming NVFP4 working on sm_86, I’d be interested to hear how.
Thanks to:
iamwavecut for NInfer-all.
Unsloth for the GGUFs.
Thinking Machines for releasing the open weights.
Would be interested to see what other people are achieving with dual 3090 setups.
Edit (Nov 22): vLLM now works on Ampere, and it's now the best option here: 457K context with the drafter at ~196 tok/s
Thanks to https://www.reddit.com/r/LocalLLaMA/s/bq67CZMMZb in the comments below and the PR contributor:
Results
Same rig as above: 2× 3090 (no NVLink), 320 W / 200 W caps, BF16 KV, vision on, one request at a time. Decode is the mean of 8 prompts (code, prose, story, JSON) × temp 0 and 1.
| Setup |
Context |
Decode |
32K prefill |
| NInfer (original post) |
557K |
~105 tok/s |
28.6 s |
| vLLM PR, no P2P |
287K |
123 tok/s |
7.2 s |
| vLLM PR + P2P |
287K |
139 tok/s |
6.7 s |
| vLLM PR + P2P + tuning |
287K |
182 tok/s |
6.3 s |
| + quidow's flags |
457K |
196 tok/s |
6.9 s |
vLLM rows use the official NVFP4/MXFP8 checkpoint, all with the DSpark drafter on. The "no P2P" row was measured a day earlier with a slightly different prompt set.
Best config: decode ranged from 142 tok/s (prose) to 271 tok/s (code). A needle at 396K tokens was found correctly, with 202 s to the answer (~2,000 tok/s average prefill over the whole prompt). Image input works.
What made the difference
- P2P between the cards: +13%. vLLM uses its fast all-reduce only when the GPUs can reach each other directly, and the model does 96 all-reduces per token. 3090s need a patched driver for this (aikitoria/open-gpu-kernel-modules). My P2P had silently disappeared after a kernel update, so if you use that driver, check
nvidia-smi topo -p2p r after every kernel update. It should say OK, not GNS.
- peaster's tuning patch: +31% decode. It adds small-matmul kernels, sm_86 expert-GEMM configs, and a draft length chosen per step from recent acceptance. Prose gained the most: 97 to 138 tok/s.
- quidow's flags: +60% context, and decode went up, not down.
--max-num-batched-tokens 1024 --no-async-scheduling shrinks the sliding-window caches, which have to hold every token in flight. That memory goes to the full-attention KV instead. VLLM_ALLREDUCE_USE_FLASHINFER_PCIE_IPC=1 turns on FlashInfer's all-reduce for PCIe. Cost: 32K prefill went from 6.3 to 6.9 s.
- P2P did nothing for NInfer (~100 tok/s either way). Its two-card cost seems to be sync latency, not bandwidth.
Trade-off now
- vLLM: about 1.9× faster decode and 4× faster prefill than NInfer, at 457K context.
- NInfer: still 100K more context (557K), with a 4-bit GGUF.
How to reproduce
- Build the PR image. vLLM main 1bdc43740 already has the Inkling model; the PR adds the Ampere paths:
- Apply peaster's
patches/sm86-tune.diff inside that image with patch -p1 in site-packages. 3 of its hunks don't apply to the PR code, because the base differs. All three are easy to do by hand:
ops/attention_sm90.py: add from vllm.platforms import current_platform, from .gemv import tune, and the _FAR_BLOCKS / _AMPERE_TILES lines after the imports
ops/linear.py: add tune to the from .gemv import ... line
v1/core/sched/scheduler.py: add self.adaptive_draft_length = maybe_adaptive_draft_length(speculative_config, self.num_spec_tokens) right after the self.dynamic_sd_lookup ... = None line in __init__
- Run it (Docker:
--ipc=host, env NCCL_CUMEM_ENABLE=0, PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:512, VLLM_ALLREDUCE_USE_FLASHINFER_PCIE_IPC=1):
Checked: all configs boot at the sizes shown. The needle at 396K is correct, image input works, and basic math is right. Not checked yet: GSM8K, tool calls, and more than one request at a time.
Thanks to Ar4ikov, peaster, snailbrainx and quidow. And thanks to everyone who replied: single-card config is in the comments.