license: other
license_name: kimi-k3.1-pro
license_link: LICENSE
pipeline_tag: image-text-to-text
base_model:
- moonshotai/Kimi-K3.1-Pro
- moeadham/Kimi-K3.1-Pro-abliterated
tags: - k31q
- vq
- exl3
- abliterated
- vllm
- cmp170hx
- speculative-decoding
Kimi K3.1 Pro Abliterated (k31q v1: 1.625-bit VQ MoE + 6-bit EXL3 Dense)
Hybrid vector-quantized (k31q v1) checkpoint of moonshotai/Kimi-K3.1-Pro incorporating the 111-tensor refusal-direction edit from moeadham/Kimi-K3.1-Pro-abliterated, built to serve 2.8T-parameter Kimi K3.1 Pro across unlocked 80 GB NVIDIA CMP 170HX (sm_80) and RTX PRO 6000 Blackwell (sm_120) GPUs.
Checkpoint Summary
| Component | Details |
|---|---|
| Base architecture | moonshotai/Kimi-K3.1-Pro (d9e99b0792a5e93b78ea9bea62a68167e36ddd9e): 2.8T total parameters, 93 decoder layers (layer 0 dense + 92 MoE layers with 896 routed experts, top-16 active, I=3072, plus 2 shared experts), 69 KDA linear-attention layers + 24 gated MLA sparse-attention layers, hidden size 7168, vocab 163,840, 27-layer vision tower |
| Abliteration edit | moeadham/Kimi-K3.1-Pro-abliterated: 111 BF16 tensors across layers 48 to 84 (self_attn.o_proj, block_sparse_moe.shared_experts.down_proj, block_sparse_moe.routed_expert_up_proj) applied before quantization |
| Routed MoE experts (layers 1 to 92) | vq_d2_b3 2D 3-bit vector quantization (dim=2, index_bits=3, 8-entry codebook in codebooks.safetensors, group_size=128 input-axis scales, 1.625 bpw all-in across w1, w2, w3) |
Dense projections (layers 0 to 92) + lm_head |
6-bit EXL3 (mul1 lattice codebook, ~35.2 dB SQNR) covering all KDA and MLA attention projections, shared experts, routed_expert_up_proj, routed_expert_down_proj, layer 0 dense MLP, and head.safetensors (lm_head) |
| Unquantized tensors | embed.safetensors (2.35 GB), vision.safetensors (895 MB, 168 tensors), RMSNorm weights, and MoE router gates in BF16 / FP32 |
| Total size on disk | 599.80 GB (558.61 GiB) across 97 .safetensors files (layer-000.safetensors to layer-092.safetensors, embed.safetensors, head.safetensors, vision.safetensors, codebooks.safetensors) |
| Companion speculative drafter | darkmaniac7/Kimi-K3.1-Pro-DSpark-EXL3-K6 (1.97 GB 6-bit EXL3 conversion of Inferact/Kimi-K3.1-Pro-DSpark) |
Serving Recipe and Hardware Fit
Full hardware topology, stage partitioning (TP2 x PP4 across 2x RTX PRO 6000 Blackwell + 6x 80 GB PCIe Gen4 x16 CMP 170HX over 100 GbE), speculative decoding flags, and benchmark numbers (105.0 structured / 77.9 code / 55.8 prose median tok/s single-stream at T=0, 58,735 KV tokens) are documented on the CMP 170HX wiki:
Note: loading the k31q format requires the custom k31q vLLM fork (sm_80 + sm_120 VQ MoE and EXL3 kernels, cross-stage DSpark hidden-state taps, and dynamic PipeSpec; public repository release pending). Standard upstream transformers or stock vllm builds do not natively parse k31q shards without those kernels.
File Verification
Every shard byte count, SHA-256 digest, codebook digest, and per-matrix SQNR measurement is recorded in k31q_manifest.json. Verify a local download with:
import hashlib, json
m = json.load(open("k31q_manifest.json"))
for name, info in m["other"].items():
h = hashlib.sha256(open(name, "rb").read()).hexdigest()
assert h == info["sha256"], f"Mismatch on {name}: {h} != {info['sha256']}"
for lid in range(93):
entry = m["layers"][str(lid)]
fn, want = entry["file"][0], entry["sha256"][0]
h = hashlib.sha256(open(fn, "rb").read()).hexdigest()
assert h == want, f"Mismatch on {fn}: {h} != {want}"
print("All 97 shards verified OK")
Credits and License
- Base model and license: moonshotai/Kimi-K3.1-Pro by Moonshot AI, distributed under the Kimi K3.1-Pro License.
- Refusal-direction abliteration edit: moeadham/Kimi-K3.1-Pro-abliterated by
moeadham. - Companion DSpark drafter upstream: Inferact/Kimi-K3.1-Pro-DSpark by Inferact and the Red Hat AI Speculators team.