{"slug":"kimi-k3-1-pro-6x-cmp-170hx-2x-rtx-pro-6000-blackwell-tp2xpp4","title":"Kimi K3.1 Pro 6x CMP 170HX 2x RTX PRO 6000 Blackwell TP2xPP4","summary":"Kimi-K3.1-Pro-abliterated-k31q (k31q v1: 1.625-bit vq_d2_b3 VQ MoE + 6-bit EXL3 dense, 1.72 bpw effective, 558.6 GiB, 93 layers) on a patched vLLM TP2xPP4 two-host (partition 28,22,22,21): stage 0: 2x RTX PRO 6000 Blackwell 96 GB; stages 1-3: 6x CMP 170HX over 100 GbE RoCE, PCIe P2P + custom allreduce. MODDED CARDS REQUIRED: every 170HX unlocked 64->80 GB via fb-geometry-80g.patch (darkmaniac7/cmp170hx-8gb-vfi-tools); unpatched 64 GB cards cannot run this layout. DSpark 6-bit EXL3 K6 drafter. Decode (author-reported, temp 0): 105.0/77.9/55.8 tok/s structured/code/prose (overall 75.0); no-spec 28.4-29.3. Context 131,072/req, KV pool 399,384. r2: +multimodal vision (8 img/prompt), prefix caching + 64 GiB host-RAM KV offload (~952K warm prefix, ~1.35M pool), allocator caps, alt co-resident layout (~1.09M pool).","license":"MIT (repo) + Apache-2.0 (patch); model Kimi K3.1-Pro License","tier":"community","beta":false,"revision":{"no":3,"commit_sha":"ee0a59defe9f751da736532f6092aa3ac74b3be2","content_hash":"bcfeb9a55709197a8e9be2113211df8b9c1f3ced","created_at":"2026-11-29 20:08:28.339669-07","notes":"Filed from lar-scout digest 2026-11-27 (Discord cmpunlocker guild #development-general 2026-11-26T04:17:43Z, @Darkmaniac7; author-reported perf, not site-measured). Engine re-peel authority: vllm-project/vllm@ef687f6179b752c028767e610addbda67ed36d03 per engine/UPSTREAM_COMMIT at recipe-repo HEAD r1 28c0c811f85a685c847ca406c4cd636230856e1e (patch engine/vllm-k31-sm80.patch applies over it; image vllm/vllm-openai:nightly-647a76866b4559a74e27d1c6b55fbffe85c07ce4 digest sha256:7a46a81f0539b4a1b407fe2c29abbe0b130eeee4e4597f4ed357863af9e36086; precompiled wheel wheels.vllm.ai/ef687f6179b752c028767e610addbda67ed36d03). HF revisions pinned (API-verified): target c31d148e9ecbb50bb2ed15bf38e8f2bf58dc11a4, drafter ec77cbc15fd1b4de438ac4641d5f728197c2febf (Inferact base 50f5a10c9385fb9a225c534dda8f7a1f5ae87110). MODDED HARDWARE: 6x CMP 170HX unlocked 64->80 GB via fb-geometry-80g.patch (darkmaniac7/cmp170hx-8gb-vfi-tools) is a hard prerequisite; hardware row reuses the cmp-170hx-x6 class profile (stock 64 GB) - the 80 GB figure is post-unlock only (owner decision t_7b650a59, precedent: DUFRelic 74-SM modded 2x170HX recipe). License: GitHub auto-detect is NOASSERTION on the author repo (dual LICENSE files); recorded from the README's own statement (MIT for launchers/tools/docs, Apache-2.0 for the vLLM patch) - not defaulted; checkpoints carry the Kimi K3.1-Pro License per HF cards. Drafting facts re-read at pinned HEAD, not the scout snapshot. Revision history r2 (2026-11-28): recipe repo drift r1 28c0c811 -> ec1e753 (1 commit, 2026-11-27T01:05-06:00, in the 2026-11-27 ingest window); ec1e753 adds multimodal vision, 64 GiB host-RAM KV offload, post-capture allocator caps, and the co-resident layout file; engine build unchanged (vllm@ef687f617 + image nightly-647a76866b digest sha256:7a46a81f..., engine/UPSTREAM_COMMIT zero diff at r1 and r2), so this is a launch-surface revision, not an engine-build bump. Published as revision r2 of this slug (owner decision: Option A - same-slug revision, coresident documented as the alternate layout; gated card t_f99fe5f7)."},"engine_source":{"type":"fork","git_url":"https://github.com/darkmaniac7/kimi-k31-cmp170hx-recipe","base_engine":"vllm","pip_package":null,"base_version":"vLLM 0.34.0rc1.dev1147+gef687f617 base","image_digest":"vllm/vllm-openai:nightly-647a76866b4559a74e27d1c6b55fbffe85c07ce4@sha256:7a46a81f0539b4a1b407fe2c29abbe0b130eeee4e4597f4ed357863af9e36086","install_note":"Not installable as written: both hosts run the pinned vllm/vllm-openai nightly image with a read-only engine tree built by engine/build-engine.sh from vllm-project/vllm@ef687f6179b752c028767e610addbda67ed36d03 + engine/vllm-k31-sm80.patch (re-peel authority = that upstream commit, recorded in engine/UPSTREAM_COMMIT at recipe HEAD ec1e753eea62718421b5ee068808b126e89f5b64), sm_80 + sm_120 fatbins, plus five standalone CUDA extension builders (_k31_vq_C, _k31_dense_C, _k31_glue_C, _k31_p2p_C, _exl3_C). Copy ./runtime/ to the second host so both mount the identical tree. Prereq: each CMP 170HX unlocked 64->80 GB via fb-geometry-80g.patch (darkmaniac7/cmp170hx-8gb-vfi-tools) and trained to PCIe Gen4 x16; TP2 pairs socket-local with TRAP31 PCIe P2P. Recipe HEAD r2 ec1e753: adds multimodal vision (+0.85 GiB stage 0), 64 GiB host-RAM KV offload (--kv-offloading-size 64; expandable_segments rejected) and post-capture allocator caps after CUDA-graph capture; engine build unchanged.","pinned_commit":"ec1e753eea62718421b5ee068808b126e89f5b64"},"credit":[{"name":"darkmaniac7","url":"https://github.com/darkmaniac7/kimi-k31-cmp170hx-recipe"},{"name":"moeadham (Kimi-K3.1-Pro-abliterated base)","url":"https://huggingface.co/moeadham/Kimi-K3.1-Pro-abliterated"},{"name":"Inferact / Red Hat AI Speculators (DSpark drafter)","url":"https://huggingface.co/Inferact/Kimi-K3.1-Pro-DSpark"},{"name":"Morrowmake (vllm-cmp170hx sm_80 + EXL3 foundation)","url":"https://github.com/Morrowmake/vllm-cmp170hx"},{"name":"amoghmunikote (cmpunlocker 170HX unlock)","url":"https://github.com/amoghmunikote/cmpunlocker"}],"author":{"name":"localai-recipes","isSite":false},"uploaded_by":"localai-recipes","config":{"launch":["docker","run","-d","--name","k31-prod-n0","--hostname","k31-prod-n0","--init","--gpus","\"device=0,1\"","--network","host","--ipc","host","--shm-size","32g","--pids-limit","8192","--memory","200g","--device","/dev/infiniband","--cap-add","IPC_LOCK","--ulimit","memlock=-1:-1","-e","VLLM_HOST_IP=$MY_IP","-e","NCCL_SOCKET_IFNAME=$IFNAME","-e","GLOO_SOCKET_IFNAME=$IFNAME","-e","VLLM_PP_LAYER_PARTITION=28,22,22,21","-e","NCCL_DEBUG=WARN","-e","HF_HUB_OFFLINE=1","-e","TRANSFORMERS_OFFLINE=1","-e","PYTHONPATH=/srv/k31-runtime/vllm-k31","-e","PYTHONDONTWRITEBYTECODE=1","-e","CUDA_HOME=/srv/k31-runtime/env/cuda13","-e","HOME=$CACHE/home","-e","VLLM_CACHE_ROOT=$CACHE/vllm","-e","TRITON_CACHE_DIR=$CACHE/triton","-e","TORCHINDUCTOR_CACHE_DIR=$CACHE/inductor","-e","CUDA_CACHE_PATH=$CACHE/cuda-jit","-e","CUDA_CACHE_MAXSIZE=4294967296","-e","NCCL_P2P_DISABLE=0","-e","NCCL_P2P_LEVEL=SYS","-e","NCCL_IB_DISABLE=0","-e","NCCL_IB_HCA=mlx5_0","-e","NCCL_NET_GDR_LEVEL=SYS","-e","NCCL_PROTO=LL,LL128,Simple","-e","CUDA_DEVICE_ORDER=PCI_BUS_ID","-e","PYTORCH_CUDA_ALLOC_CONF=garbage_collection_threshold:0.8","-e","VLLM_K31Q_DENSE_BACKEND=k31","-e","VLLM_DSPARK_EXL3_K6=1","-e","VLLM_K31Q_SHARD_ROUTED_UP=1","-e","VLLM_K31Q_MLA_FUSE_G_PROJ=1","-e","VLLM_K31_GLUE_ALL=1","-e","VLLM_K31_GLUE_FUSED_ROUTER=0","-e","VLLM_K31_GLUE_KDA_SPEC=1","-e","VLLM_K31_GLUE_KDA_RECORDS=0","-e","VLLM_K31_P2P_ALLREDUCE=0","-e","VLLM_CUSTOM_ALLREDUCE_PCIE_P2P=1","-e","VLLM_CUSTOM_ALLREDUCE_FLAGS=1","-e","VLLM_SM80_TARGET_SHARD_ARGMAX=1","-e","VLLM_SM80_TARGET_SHARD_ARGMAX_DIRECT=1","-e","VLLM_K31_FP32_HEAD=1","-e","VLLM_DSPARK_SHARD_ARGMAX=1","-e","VLLM_DSPARK_MARKOV_SHORTLIST=32","-e","VLLM_DSPARK_PER_K_WIDTH=0","-e","VLLM_INDEXER_DECODE_RAW_K=1","-e","VLLM_DSPARK_SUFFIX_HYBRID=1","-e","VLLM_DSPARK_SUFFIX_MIN_MATCH_LEN=5","-e","VLLM_PP_PACKED_HOP=1","-e","VLLM_PP_HOP_NO_METADATA=1","-e","VLLM_PP_HOP_CAT_PACK=1","-e","VLLM_PP_SPLIT_DRAFT_EVENT=1","-e","VLLM_PP_TRANSPORT=nccl","-e","VLLM_K31_STAGE_TIMING=64","-e","VLLM_K31_PIPESPEC=1","-e","VLLM_K31_PIPESPEC_BANK_FLIP=1","-e","VLLM_K31_PIPESPEC_DYNAMIC=1","-e","VLLM_K31_PIPESPEC_BONUS_CONF=1","-e","VLLM_K31_PIPESPEC_CKS=3,4,5","-e","VLLM_K31_PIPESPEC_MIN_CONF=0.28","-e","VLLM_K31_PIPESPEC_LOG=64","-e","VLLM_K31_STEP_COSTS={\"1\":38.5,\"2\":40.3,\"3\":42.9,\"4\":45.5,\"5\":48.2,\"6\":49.9,\"7\":51.7,\"8\":53.5,\"9\":55.4,\"10\":57.2,\"11\":59.0,\"ps_hit_extra\":10.0,\"ps_miss_extra\":4.2}","-v","/srv/k31-runtime/vllm-k31:/srv/k31-runtime/vllm-k31:ro","-v","/srv/k31-runtime/env:/srv/k31-runtime/env:ro","-v","/srv/views:/srv/views:ro","-v","/srv/models:/srv/models:ro","-v","$CACHE:$CACHE","-v","$LOGS:$LOGS","--entrypoint","bash","vllm/vllm-openai:nightly-647a76866b4559a74e27d1c6b55fbffe85c07ce4","-c","export VIRTUAL_ENV='/srv/k31-runtime/env/venv-gpu' PATH='/srv/k31-runtime/env/venv-gpu/bin:/srv/k31-runtime/env/cuda13/bin':\"$PATH\"; exec '/srv/k31-runtime/env/venv-gpu/bin/python' -m vllm.entrypoints.cli.main serve \"$@\"","k31","/srv/views/k31p28-s0","--served-model-name","kimi-k3.1","--load-format","k31q","--quantization","k31q","--kv-cache-dtype","bfloat16","--attention-backend","CUSTOM","--limit-mm-per-prompt","{\"image\":8}","--trust-remote-code","--tensor-parallel-size","2","--pipeline-parallel-size","4","--distributed-executor-backend","mp","--nnodes","4","--node-rank","0","--master-addr","$MASTER_IP","--master-port","29541","--max-model-len","131072","--gpu-memory-utilization","0.95","--kv-cache-memory-bytes","8482560409","--max-num-seqs","4","--max-num-batched-tokens","2048","--enable-prefix-caching","--kv-offloading-size","64","--compilation-config","{\"cudagraph_capture_sizes\":[1,2,3,4,5,6,8,10,12,16]}","--host","127.0.0.1","--port","8041","--speculative-config","{\"method\":\"dspark\",\"model\":\"/srv/models/Kimi-K3.1-Pro-DSpark-EXL3-K6\",\"kv_cache_dtype\":\"bfloat16\",\"num_speculative_tokens\":11,\"adaptive_k\":{\"tiers\":[1,2,3,4,5,7,9],\"confidence\":{\"thresholds\":[0.60,1.15,1.70,2.25,2.95,3.75],\"hysteresis\":0.12,\"accept_weight\":0.12,\"max_age\":2},\"log_interval\":64}}","--no-enable-flashinfer-autotune","--additional-config","{\"kda_prefill_backend\":\"triton\"}","--reasoning-parser","kimi_k3","--enable-auto-tool-choice","--tool-call-parser","kimi_k3"],"layouts":["tp","pp"],"runtime":{"env":"TP=2|PP=4|PART=28,22,22,21|KV_DTYPE=bfloat16|KVGIB_LIST=7.90,7.20,7.20,7.60|UTIL_STAGE0=0.95|UTIL_TAIL=0.97|MEM_STAGE0=200g|MEM_TAIL=120g|MAX_LEN=131072|MAX_SEQS=4|MAX_BATCHED_TOKENS=2048|PREFIX_CACHING=1|KV_OFFLOAD_GIB=64|VISION=1|VISION_MAX_IMAGES=8|CG_SIZES=1,2,3,4,5,6,8,10,12,16|SPEC=dspark|SPEC_NUM_TOKENS=11|TAG=prod|VTAG=k31p28","notes":"multinode/up.sh multinode/layouts/tp2_pp4_2bw_6cmp.env starts 4 ranks via multinode/node.sh: rank 0 (shown in launch) on the RTX PRO 6000 host GPUs 0,1 (stage 0, layers 0-27, API 127.0.0.1:8041); ranks 1-3 on the CMP 170HX host (GPU pairs 6,7 / 0,2 / 1,4, socket-local TP2 pairs, NUMA-1 pair first for the 100 GbE NIC) launch the same command headless with UTIL 0.97, MEM 120g, views k31p28-s1/s2/s3 and kv-cache-memory-bytes 7730941132/7730941132/8160437862 (KVGIB 7.20/7.20/7.60). host.env sets MASTER_IP/MASTER_PORT 29541, IMG, NODES placement per multinode/host.env.example. Co-resident variant (r1 text, superseded by the Layouts r2 paragraph below): KVGIB_LIST=2.80,2.70,2.60,2.75 gave 143,408-token KV pool leaving 4.5-6.6 GiB free per GPU. fp8_ds_mla KV reader exists for SPEC=none only (DSpark shares the BF16 BLHNC pool). Layouts r2 (recipe repo HEAD ec1e753): multinode/up.sh multinode/layouts/tp2_pp4_2bw_6cmp.env is the DEDICATED production layout - 399,384 GPU HBM tokens + ~952K warm host-RAM prefix tokens via --enable-prefix-caching --kv-offloading-size 64 (OffloadingConnector, 8.56 GB/rank mmap in /dev/shm, ~17.2 GB stage 0 + ~51.4 GB CMP host), VISION=1 --limit-mm-per-prompt {\"image\":8}, PYTORCH_CUDA_ALLOC_CONF=garbage_collection_threshold:0.8, allocator caps 0 by default. ALTERNATE co-resident layout multinode/layouts/tp2_pp4_2bw_6cmp_coresident.env (NEW r2): KVGIB_LIST=2.60,2.70,2.60,2.75 = ~135.5K HBM + ~952K host = ~1.09M pool, MAX_BATCHED_TOKENS=1024, post-capture caps VLLM_CUDA_MEMORY_FRACTION_STAGE0=0.955 / VLLM_CUDA_MEMORY_FRACTION_CMP=0.925 applied after CUDA-graph capture, holding 3.9-5.5 GiB free per GPU across 90K+ prefills; expandable_segments:True rejected by OffloadingConnector. Author-measured: async GPU_to_CPU DMA 18.1 GB/s (1.68 GB in 92.7 ms, <1 s paging); turn-2 cached TTFT 22.72 s -> 5.82 s warm (14.3K prompt) and 128.4 s -> 5.03 s warm on 90,163 tokens (~25x)."},"kv_pool_tokens":399384,"max_context_len":131072,"storage_requirements":{"note":"558.6 GiB target + 1.83 GiB DSpark drafter on local NVMe per host (tools/verify_weights.py, then k31q_views.py builds per-stage views); cold NVMe startup to /health 4-5 min","nvme_gb":560.5}},"models":[{"slug":"kimi-k3-1-pro-abliterated-k31q","name":"Kimi-K3.1-Pro-abliterated-k31q","hf_repo":"darkmaniac7/Kimi-K3.1-Pro-abliterated-k31q","quant":"k31q-1-625bpw-vq-moe-6bit-exl3-dense"}],"hardware":[{"slug":"cmp-170hx-x6","vendor":"nvidia","card":"cmp-170hx","card_family":"170hx","vram_gb":64,"device_count":6},{"slug":"nvidia-rtx-pro-6000-blackwell-max-qx2","vendor":"nvidia","card":"RTX PRO 6000 Blackwell Max-Q","card_family":"rtx-pro-6000-blackwell","vram_gb":96,"device_count":2}],"generation":"blackwell","tags":["abliterated","dspark","exl3","k31q","modded-hardware","multi-node","speculative-decoding","vq"],"tasks":["chat","code"],"aa":null,"performance":[{"claimed_by":"submitter","metrics":"{\"notes\": \"Author-reported (darkmaniac7): README + docs/outcomes.md at pinned commits 28c0c811 (measured 2026-11-25) and ec1e753 (measured 2026-11-26) and Discord cmpunlocker #development-general 2026-11-26 @Darkmaniac7 ('80tok/s on Code, 55 on prose, 1.72bpw effective'). Own 18-prompt harness tools/bench_multi.py + tools/prompts_decode_multi.jsonl (6 structured / 6 code / 6 prose), single-stream, temperature 0, max_tokens 512; never reproduced by localairecipes or any third party - T0 claim, not site-measured. Headline tok_s = code bucket median 77.93. All points WITH DSpark speculation unless noted; context_len values are tuple markers 131072+offset (see per-point notes). r2 offload/prefix-caching rows author-reported at ec1e753.\", \"tok_s\": 77.900000000000005684341886080801486968994140625, \"context_len\": 131072}"}],"perf_points":[{"id":13413,"context_len":58746,"prefill_tok_s":717,"decode_tok_s":null,"ttft_ms":null,"concurrency":null,"claimed_by":"submitter","notes":"Cold prefill unique prompt, prefix caching off: 354/585/596/668/717 tok/s at 3.8k/15.4k/17k/32.6k/58.7k tokens. Concurrency omitted: prefill row."},{"id":13414,"context_len":131072,"prefill_tok_s":null,"decode_tok_s":75,"ttft_ms":null,"concurrency":1,"claimed_by":"submitter","notes":"All-18 median decode (pooled 72.44, mean 78.05, 40.95 ms/step, 3.02 tok/step). Marker 131072."},{"id":13415,"context_len":131073,"prefill_tok_s":null,"decode_tok_s":105,"ttft_ms":null,"concurrency":1,"claimed_by":"submitter","notes":"Structured bucket median n=6 (JSON/YAML/SQL; pooled 96.87, 39.42 ms/step, 3.88 tok/step). Marker 131072+1."},{"id":13416,"context_len":131074,"prefill_tok_s":null,"decode_tok_s":77.900000000000005684341886080801486968994140625,"ttft_ms":null,"concurrency":1,"claimed_by":"submitter","notes":"Code bucket median n=6 (pooled 78.18, 40.82 ms/step, 3.22 tok/step). Marker 131072+2."},{"id":13417,"context_len":131075,"prefill_tok_s":null,"decode_tok_s":55.7999999999999971578290569595992565155029296875,"ttft_ms":null,"concurrency":1,"claimed_by":"submitter","notes":"Prose bucket median n=6 (pooled 54.65, 42.75 ms/step, 2.35 tok/step). Marker 131072+3."},{"id":13418,"context_len":131076,"prefill_tok_s":null,"decode_tok_s":28.89999999999999857891452847979962825775146484375,"ttft_ms":null,"concurrency":1,"claimed_by":"submitter","notes":"SPEC=none baseline: 28.4-29.3 tok/s single-stream (34.2-35.2 ms/token); 55.7 agg at 2 streams, 87.6 at 4. Marker 131072+4."},{"id":13419,"context_len":131077,"prefill_tok_s":null,"decode_tok_s":null,"ttft_ms":5030,"concurrency":1,"claimed_by":"submitter","notes":"r2 author-reported: turn-2 cached TTFT with prefix caching + 64 GiB host-RAM KV offload - 90,163-token prompt 128.4 s cold -> 5.03 s warm (~25x); 14.3K prompt 22.72 s -> 5.82 s. Marker 131072+5."}],"agent":{"prompt":"Fetch https://localairecipes.com/api/v1/recipes/kimi-k3-1-pro-6x-cmp-170hx-2x-rtx-pro-6000-blackwell-tp2xpp4.json and apply the inference recipe it describes (engine flags, model, quant, context) to my setup. Ask before overwriting any existing config.","curl":"curl -fsSL https://localairecipes.com/api/v1/recipes/kimi-k3-1-pro-6x-cmp-170hx-2x-rtx-pro-6000-blackwell-tp2xpp4.json"},"requirements":null,"artifacts":[{"kind":"model_weights","pointer_type":"url","pointer":"https://huggingface.co/darkmaniac7/Kimi-K3.1-Pro-abliterated-k31q","pin":"c31d148e9ecbb50bb2ed15bf38e8f2bf58dc11a4"},{"kind":"drafter","pointer_type":"url","pointer":"https://huggingface.co/darkmaniac7/Kimi-K3.1-Pro-DSpark-EXL3-K6","pin":"ec77cbc15fd1b4de438ac4641d5f728197c2febf"},{"kind":"reference","pointer_type":"url","pointer":"https://github.com/darkmaniac7/kimi-k31-cmp170hx-recipe","pin":"ec1e753eea62718421b5ee068808b126e89f5b64"},{"kind":"other","pointer_type":"url","pointer":"https://github.com/darkmaniac7/cmp170hx-8gb-vfi-tools","pin":"fb-geometry-80g.patch (80 GB unlock prerequisite; unpatched 170HX = 64 GB cannot run)"}],"links":{"self":"/api/v1/recipes/kimi-k3-1-pro-6x-cmp-170hx-2x-rtx-pro-6000-blackwell-tp2xpp4.json","alternate":"/r/kimi-k3-1-pro-6x-cmp-170hx-2x-rtx-pro-6000-blackwell-tp2xpp4","describedby":"/openapi.json"},"updated_at":"2026-12-02 23:22:59.577169-07","created_at":"2026-11-27 21:03:28.011635-07","speeds":{"decode_tok_s":75,"prefill_tok_s":717,"leaderboard":"/api/v1/leaderboard.json"}}