Skip to content

Kimi K3.1 Pro + DSpark TP16/DCP8 C4 PR stack and merge guide #398

Open

Description

@voipmonitor

This issue tracks the complete set of PRs required to prepare and serve Kimi K3.1 Pro with the Inferact DSpark speculative draft at TP16/DCP8 (4 concurrent requests) on 16× NVIDIA RTX PRO 6000 Blackwell (SM120) GPUs.

All PRs across both repositories have been rebased onto current upstream main, carry Signed-off-by, are mutually disjoint, and compose cleanly with zero merge conflicts in either forward or reverse merge order.

Merge Order

Step 1 — Merge local-inference-lab/flashinfer PRs first

Base main: 1d76585b14. All six PRs are mutually disjoint and can be merged in any order.

PR Scope
local-inference-lab/flashinfer#120 Direct caller-owned lse_output binding for dense MLA
local-inference-lab/flashinfer#123 Switch-4 × Cross-Root PCIe collectives, GatherRouterTopK v9, XOR gathers, 8-barrier IslandCopy
local-inference-lab/flashinfer#124 Fused CuTeDSL row reductions (IslandRS v4, Norm3584, ResNorm7168, standalone _island_v4_mix rows 1..32)
local-inference-lab/flashinfer#125 Owner-local top-k slots (World 4/8/16, rows 1..32) and vectorized peer_record_gather
local-inference-lab/flashinfer#126 SM120a MXFP8MultiRowTCGemv, strided BF16 MultiRowTCGemv, multi-row UE8M0 dequant
local-inference-lab/flashinfer#127 W4A16TopKSum 14×64t, CsfRoutePack 512-route, Opt4CTA FusedVerify KDA, MoE/Draft tuning

Combined verification commit: voipmonitor/flashinfer@5fa43f2b (176 passed, 3 skipped, 0 failed CPU pytest).


Step 2 — Merge NVIDIA/hyperflare-inference PRs

Base main: 25b49519cd. None of these PRs modify pyproject.toml or uv.lock; upstream main already tracks local-inference-lab/flashinfer:main.

Independent infrastructure / Helios runtime PRs (can merge in any order, no FlashInfer dependency):

PR Scope
#371 Raise aggregate selected-rank prepared-weight metadata cap to 1 GiB (helios, docs, tests)
#383 Distribute matching local tuning races across unequal TP catalogs (ignition/preparation, 2-rank Gloo CPU test)
#388 Replace cuda.bindings.driver.CUstream with _Unavailable during AOT forward_metadata pickling
#391 Single-host Linux VMM handle compaction (cache_memory.rs, early stop under budget, explicit shortfall error)
#393 Skip redundant chmod on already read-only hardlinked cache payloads during publication

FlashInfer-dependent recipe & component PRs (merge after Step 1):

PR Depends on FlashInfer Scope
#378 local-inference-lab/flashinfer#120 Bind dense MLA lse_output directly without trailing copy fallback
#441 local-inference-lab/flashinfer#123, #127 Sliding-window DSpark draft, fused Tensor-Core FP8 Markov sampling, bounded vocabulary proposals
#442 local-inference-lab/flashinfer#123, #125 Sparse prefill bounded staging, owner-local top-k slots (World 4/8/16), fused FP8 indexer, concurrent query retention
#443 local-inference-lab/flashinfer#123, #124, #126, #127 Fused row reductions (V4Mix7168 rows 1..32, Norm3584/ResNorm7168), 2-half 1024+1024 prefill SM/PCIe pipeline, route MAX_ROWS=32, KDA verify

Combined verification commit: voipmonitor/flare@ca362dc3 (126 passed, 33 skipped, 0 failed Python CPU pytest; 26/26 Rust Helios unit tests passing).


Verified Native Results & Published Checkpoint

  • Hugging Face checkpoint: local-inference-lab/kimi-k3.1-pro-dspark-flare (main and gb202, core 9814b731ecc9ebbe9b3fee19615ed0ba546701f280f52469f0cc471700d5b9b8)
  • Hardware: 16× 96 GB NVIDIA RTX PRO 6000 Blackwell Workstation (SM120), 4 physical PCIe switches × 4 GPUs, CUDA 13.2, driver 615.71.10, GDDR7 16,365 MHz
  • 4-request concurrent decode (pooled): 356.95 tok/s (89.24 tok/s/req, +44.11% vs 247.70 tok/s DCP8 C4 baseline)
  • Single-request decode: 158.71 tok/s (3-seed Rust C1 mean) · 156.54 tok/s (9-request coding C1 pooled, +34.30%)
  • 32K uncached prefill (mean): 3,304.73 tok/s
  • KV capacity: 2,958 pages / 3,028,992 token slots / 149 snapshots (+57 pages vs baseline 2,901)
  • Quality gates: verify_peer_groups PASS (reader_groups=[[0..7], [8..15]]) · query_regression 16/16 (1,344/1,344 prefix tokens) · four_text 384/384 (peak=4) · four_image 4/4 (peak=4)

Discord: festr

Activity

  1. changed the title [-]Track Kimi K3.1 Pro DSpark preparation and native serving on 16 GB202 GPUs[/-] [+]Kimi K3.1 Pro + DSpark TP16/DCP8 C4 PR stack and merge guide[/+] on Nov 21, 2026
  2. voipmonitor commented on Nov 22, 2026

    @voipmonitor
    CollaboratorAuthor

    Wave 17 Composable PR Stack (TP16/DCP8 C8, --online-mxfp8-scope kda-input)

    All Wave 15 PRs (local-inference-lab/flashinfer #120, #123–#127; NVIDIA/hyperflare-inference #371, #378, #383, #391, #393, #441–#443) are now merged on upstream main. The Wave 17 optimization stack is cleanly decomposed on top of latest upstream main with zero overlapping files and verified identical trees in forward and reverse merge order (all non-draft, Signed-off-by, zero pyproject.toml/uv.lock edits):

    local-inference-lab/flashinfer (base main 39aab603, integration voipmonitor/flashinfer@integration/kimi-k31-wave17)

    NVIDIA/hyperflare-inference (base main 6b586398, integration voipmonitor/flare@integration/kimi-k31-wave17)

    Qualified & Published Release (16× RTX PRO 6000 Blackwell, 16,365 MHz, kda-input)

    • Signed HF release: local-inference-lab/kimi-k3.1-pro-dspark-flare (main / gb202 / tag kimi-k31-dspark-tp16-dcp8-c8-kda-v3, commit c952e95f59918f079063ab11a693d97bbfb6e685, signed core 8cfdefa203adf7cef9dc1f4f4c683a147ae6719f3a2a46ebd57545fa82bcfde3)
    • C8 pooled decode: 458.39 tok/s (57.30/req, peak 478.53); C4 pooled: 330.90 tok/s (82.72/req); C1 Rust mean: 147.14 tok/s (greedy T=0: 182.80 C1 / 335.81 C4 / 406.23 C8); 32K prefill: 3,394.18 tok/s (8.71 s); KV capacity: 1,934 pages / 1,980,416 slots / 97 snapshots; gates: 16/16 QR, 768/768 8-text, 4/4 4-image.
  3. added
    area:kernels
    enhancement
    model:kimi-k3.1
    performance
    on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:kernelsenhancementmodel:kimi-k3.1performance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions