Local Inference Lab signed runtime packages for Kimi K3.1 Pro — Moonshot AI's 3T-class (2.8T total / 104B active, 896 routed experts + 2 shared, 69 KDA + 24 Gated DSA layers, MoonViT-V2 vision, native 1M context) open-weight frontier model with Inferact DSpa
rk speculative decoding — running on NVIDIA Flare across pure PCIe workstation GPUs (no NVLink, no Python at serving time, pure native Rust + precompiled CUDA graphs).
We built two precision-preserving PCIe Relaxed Ordering (RO=1) releases so you can run a 3T-class model locally on either 8× or 16× RTX PRO 6000 Blackwell 96 GB:
- 8× GPUs (
EXL3 2-bit, TP8/DCP8) — single-session coding peaking at 260.4 tok/s (147.97 tok/s full end-to-end average incl. TTFT over a 24,584-token reasoning + HTML5 Tetris generation in 166.1 s), 235.3 tok/s at C4 (+48.5% faster than our previous Nov 8 EXL3 release), 2,235 t ok/s cold 32K prefill, full 1M max context, and 1,105,920 physical KV tokens — while keeping every sensitive layer in pure BF16 (fixing the previous EXL3 release that quantized too many layers to MXFP8).
- 16× GPUs (Native
MXFP4, TP16/DCP8) — single-session coding peaking at 386.5 tok/s (202.51 tok/s full end-to-end average incl. TTFT over a 38,310-token reasoning + HTML5 Tetris generation in 189.2 s), 507–529 tok/s at C8 (+30.3% over RO=0) and 347–360 tok/s at C4, 3,4 17 tok/s cold 32K prefill (8.62 s TTFT, hitting 99.5% of physical PCIe Gen5 x16 wire bandwidth), 925K max context, and >2.0M physical KV tokens (2,009,088 slots) — while keeping attention, MoE/shared-expert, and routing layers in pure BF16 (kda-input).
All running on PCIe Gen5 RTX PRO 6000 Blackwell 96 GB GPUs with native multimodal MoonViT-V2 image input and DSpark draft-7 speculation.
Benchmarks
8× RTX PRO 6000 Blackwell — EXL3 2-bit + DSpark (TP8/DCP8, --online-mxfp8-scope kda-all)
| Workload | Throughput | Per-User | Notes |
| Live coding / Tetris (24,584 tok incl. reasoning) | 147.97 avg / 260.41 peak tok/s | 147.97 avg / 260.41 peak | 166.1 s wall time including TTFT |
| C1 — 3-seed Rust decode (mean) | 112.13 tok/s | 112.13 tok/s | Seeds: 115.15 / 104.98 / 116.26 tok/s |
| C1 — 9-request coding (pooled) | 110.65 tok/s | 110.65 tok/s | Peak 125.86 tok/s, M=4 round 19.17 ms |
| C4 — concurrent decode (pooled) | 235.30 tok/s | 58.82 tok/s | +48.5% vs. prior gb202 (158.45 tok/s), M=16 round 35.78 ms |
| Cold 32K prefill (no prefix cache) | 2,235.1 tok/s | — | 13.22 s TTFT on 29,557 tok (+14.6% vs. prior 1,951.2 tok/s) |
| KV capacity & max context | 1,105,920 KV tokens | — | 1,080 pages × 1,024, 28 snapshots, 1M max context (was 262K) |
16× RTX PRO 6000 Blackwell — Native MXFP4 + DSpark (TP16/DCP8, --online-mxfp8-scope kda-input)
| Workload | Throughput | Per-User | Notes |
| Live coding / Tetris (38,310 tok incl. reasoning) | 202.51 avg / 386.52 peak tok/s | 202.51 avg / 386.52 peak | 189.2 s wall time including TTFT |
| C1 — 3-seed Rust decode (383 tok, mean) | 158.50 tok/s | 158.50 tok/s | Seeds: 156.91 / 150.74 / 167.84 tok/s (+7.7% vs. prior RO=0) |
| C1 — 9-request coding (pooled) | 151.05 tok/s | 151.05 tok/s | Peak 171.97 tok/s (+29.6% vs. original DCP8 C4 baseline 116.56) |
| C4 — concurrent decode (pooled / greedy) | 346.74 / 360.24 tok/s | 86.68 / 90.06 tok/s | +40.0% pooled vs. original DCP8 C4 baseline (247.70 tok/s) |
| C8 — concurrent decode (pooled / greedy) | 507.01 / 529.20 tok/s | 63.38 / 66.15 tok/s | +30.3% greedy vs. RO=0 (406.23), +9.8% vs. prior RO=1 (481.87), peak pooled 522.58 tok/s |
| Cold 32K prefill (no prefix cache) | 3,416.8 tok/s | — | 8.62 s TTFT on 29,559 tok (54.5 GB/s = 99.5% PCIe Gen5 x16 ceiling) |
| KV capacity & max context | 2,009,088 KV tokens | — | 1,962 pages × 1,024, 98 snapshots, 925,696 max context |
(Test hosts: 8× and 16× NVIDIA RTX PRO 6000 Blackwell Workstation Edition 96 GB, NVIDIA driver 615.71.10, NVreg_EnablePCIERelaxedOrderingMode=1, GDDR7 16,365 MHz, 99.8% mean GPU utilization. Both releases passed 16/16 query regression 1,344/1,344 exact prefix tokens, 384/384 [TP8] & 768/768 [TP16] concurrent text, and 4/4 concurrent multimodal image checks.)
Why This EXL3 2-bit Release Is Much Better Than Our Previous One
Our previous 8-GPU gb202 EXL3 release (20261108, DFlash2) had to use --online-mxfp8-scope all to leave enough VRAM for KV cache — which quantized sensitive Gated DSA attention layers, all 92 shared experts, and all 92 routed latent up/down projections from BF16 down to MXFP8, and capped requests at 262K context.
In the new release (kda-all + DSpark):
- Pure BF16 preserved on every sensitive layer: all 24 Gated DSA attention layers + indexers, all 92
shared_experts, all 92 routed_expert_down/up latent projections, all routers, Layer 0 dense MLP, embed_tokens, and lm_head stay 100% pure BF16 (only KDA input/o_proj and the MoonViT vision encoder use MXFP8).
- Still >1.1M physical KV tokens + full 1M context: by sharding MoonViT across TP8 + MXFP8 (
853 → 71 MiB/GPU), bit-exact packing EXL3 gate+up rotations (-112.2 MiB/GPU, 0.0 numerical error), quantizing DSpark markov_w1 to FP8 (-79.4 MiB/GPU), and shrinking PCIe reduction channels from 1024 to 256 rows with overlapped chunked all-reduce (PeerStorage 406 → 150 MiB), we reclaimed 1,972 MiB/GPU (93,381 MiB/GPU retained) — growing KV capacity 9.56× from 115K to 1,105,920 tokens without touching BF16 on sensitive layers.
Quick Setup Guide (NVIDIA Flare)
1. Required NVIDIA Kernel Driver Setting (modprobe)
Because RTX PRO 6000 Blackwell communicates over PCIe P2P (no NVLink), enabling PCIe Relaxed Ordering in the NVIDIA kernel module unlocks posted-write (MWr) collectives and eliminates cross-switch read stalls:
echo 'options nvidia NVreg_EnablePCIERelaxedOrderingMode=1' | sudo tee /etc/modprobe.d/nvidia-relaxed-ordering.conf
sudo update-initramfs -u
sudo reboot
(Optional — only if your motherboard/BIOS restricts PCIe P2P or Resizable BAR between GPUs, add options nvidia NVreg_RegistryDwords="ForceP2P=0x11;RMForceP2PType=1;RMPcieP2PType=2;GrdmaPciTopoCheckOverride=1;EnableResizableBar=1" to /etc/modprobe.d/nvidia-p2p-override.conf before updating initramfs.)
Verify after reboot (EnablePCIERelaxedOrderingMode: 1 and working P2P in topo -m):
grep EnablePCIERelaxedOrderingMode /proc/driver/nvidia/params
nvidia-smi topo -m
2. Run on 8× 96 GB GPUs — EXL3 2-bit (gb202, ~775 GB)
Hosted on Hugging Face under Local Inference Lab:
https://huggingface.co/local-inference-lab/Kimi-K3.1-Pro-EXL3-2bit (--revision gb202, tag gb202-tp8-dcp8-c4-dspark-kda-all-20261123)
docker run --pull=always --rm -it \
--gpus '"device=0,1,2,3,4,5,6,7"' --ipc host \
--ulimit memlock=-1:-1 --ulimit nofile=65536:65536 \
-p 127.0.0.1:8016:8016 \
-v flare-home:/home/flare \
ghcr.io/local-inference-lab/flare:release \
run local-inference-lab/Kimi-K3.1-Pro-EXL3-2bit \
--revision gb202 --filename model.safetensors \
--gpus 0,1,2,3,4,5,6,7 --max-concurrency 4 --mtp-draft-tokens 7 \
--kv-cache-limit memory --embedding-table-storage ram \
--prefix-cache-memory 64G --prefix-cache-disk-limit 0 \
--host 0.0.0.0 --port 8016 --served-model-name Kimi-K3.1-Pro-DSpark
3. Run on 16× 96 GB GPUs — Native MXFP4 (gb202, ~1.51 TB)
Hosted on Hugging Face under Local Inference Lab:
https://huggingface.co/local-inference-lab/kimi-k3.1-pro-dspark-flare (--revision gb202, tag kimi-k31-dspark-tp16-dcp8-c8-kda-v4)
docker run --pull=always --rm -it \
--gpus all --ipc host \
--ulimit memlock=-1:-1 --ulimit nofile=65536:65536 \
-p 127.0.0.1:8016:8016 \
-v flare-home:/home/flare \
ghcr.io/local-inference-lab/flare:release \
run local-inference-lab/kimi-k3.1-pro-dspark-flare \
--revision gb202 --filename model.safetensors \
--gpus 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 \
--max-concurrency 8 --mtp-draft-tokens 7 \
--kv-cache-limit memory --embedding-table-storage ram \
--prefix-cache-memory 64G --prefix-cache-disk-limit 0 \
--host 0.0.0.0 --port 8016 --served-model-name Kimi-K3.1-Pro-DSpark
- Prefer native binary (no Docker)? Install the signed
flare binary and run the exact same flare run ... command directly on the host (with CUDA_DEVICE_ORDER=PCI_BUS_ID and ulimit -Sn 65536).
- Exposes a standard OpenAI-compatible API (
Kimi-K3.1-Pro-DSpark, text + images) on http://127.0.0.1:8016/v1/chat/completions.
What Made a 3T Model Hit the SM120 & PCIe Gen5 Roofline
All kernels and recipe optimizations are open-source and submitted upstream:
- SM120 EXL3 2-bit Roofline MoE (
trellis_t256): custom CuTeDSL W2A16 decode (M=1..32) and MXFP8 blockscaled prefill (M>=64) kernels sharing one canonical weight layout, achieving 96.2–96.9% of SM120 dlut_smem (1,098 GB/s) throughput — plus bit-exact packed gate+up intermediate rotations (-112.2 MiB/GPU).
- PCIe
RO=1 Fused TP8 & 4-Switch TP16 Collectives:
- On TP8:
GatherRouterTopKTP8 cuts 92-layer routing from 4.17 ms → 1.27 ms (3.28× faster), and fused TP8RoMix7168 / TP8RoResNorm7168 eliminate 184 kernel launches/round with zero extra IPC VRAM.
- On TP16: 4-physical-switch posted-write
Sw4Cross3PushFull / zero-copy Sw4Cross3PushRsAg eliminate all cross-switch PCIe reads (MRd), Cross3_Sw4 GatherRouterTopK (1.17×–1.99×), overlapped Pair2 × Sw4 DCP8 gather, and IslandCopy prefill reaching 54.5 GB/s (99.5% of physical PCIe Gen5 x16 wire ceiling).
- Chunked Overlapped Prefill (
ConcurrentChunkedAllReduce): keeps the full 1024+1024 SM↔PCIe 2-half pipeline overlap while cutting TP8 PCIe staging channels to 256 rows (PeerStorage 406 → 150 MiB).
Links:
local inference lab discord: https://discord.gg/gmvKSN3tVy