Skip to content

chore(golden-al): switch the Kimi K3.1 Pro DSpark curve to the released draft Inferact/Kimi-K3.1-Pro-DSpark - #5102

Merged
wzhao18 merged 1 commit into
mainfrom
wzhao/k31-dspark-release-golden-al
Nov 17, 2026
Merged

wzhao18 merged 1 commit into
mainfrom
wzhao/k31-dspark-release-golden-al

Conversation

@wzhao18

@wzhao18 wzhao18 commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Switches the Kimi K3.1 Pro DSpark golden AL curve from the preview draft to the released draft Inferact/Kimi-K3.1-Pro-DSpark (HF revision e4e6e626), which replaces Inferact/Kimi-K3.1-Pro-DSpark-preview. The values come from SpeedBench AL run 43908757976.

Changes:

  • kimi-k3.1-pro__dspark__kimi-k3.1-pro-dspark-preview__probabilistic-block.yaml becomes kimi-k3.1-pro__dspark__kimi-k3.1-pro-dspark__probabilistic-block.yaml, because the canonical name carries the draft repo. Its values are that run's speedbench-reference-al-kimik3.1 artifact, exactly as published, and source_run points to the run. The collection block is unchanged.
  • identities.yaml: the entry is renamed and its collection.draft names the new draft. The select block is unchanged, so every kimik3.1 DSpark point with probabilistic drafting keeps resolving to this one curve. That follows the README's rule of one golden AL per model, mode and draft length.
  • README.md, README_zh.md and docs/MODELS.md name the new file.
  • The collector that measured the curve, benchmarks/single_node/speedbench/kimik3.1_fp4_b300_vllm_probabilistic_sample_method_block_rejection_sample_method.sh, is added. The preview curve's collector only ever lived on a branch (bryan/kimik3.1-speedbench-al). This one is that collector with four changes:
    • the draft is pinned to Inferact/Kimi-K3.1-Pro-DSpark@e4e6e626;
    • the draft runs without the MLA attention_backend override, because the release draft is 5 GQA layers with a 2,048-token sliding window in speculators format, which vLLM resolves to Qwen3DSparkModel;
    • it uses the pinned SPEED-Bench prepare.py and Hugging Face stack of the other collectors;
    • it serves on a free port when another job holds the default one. Run 43906252703 failed before measuring because 127.0.0.1:8888 was held on dsxe-sa-b300-prd0-gpu-07.
num_speculative_tokens 1 2 3 4 5 6 7 8
previous: preview draft 6a2ef20a, run 42120504891 1.82 2.44 2.88 3.19 3.41 3.57 3.69 3.68
new: release draft e4e6e626, run 43908757976 1.86 2.56 3.08 3.46 3.81 4.00 4.16 —

Only the draft changed between the two collections. Both used:

  • the same image: vllm/vllm-openai:kimi-k31@sha256:904520f3…a99, vLLM 0.1.dev24216+g266e88c05;
  • the same target moonshotai/Kimi-K3.1-Pro on B300 TP8;
  • the same settings: coding category, output_len 4096, thinking on ({"thinking": true}, temperature 1.0, top_p 0.95), concurrency 64, probabilistic drafting with block rejection.

The release draft's block is 7 tokens, so there is no 8-token cell. No kimik3.1 recipe uses 8 draft tokens. The 7-token value (4.16) matches the draft card's SPEED-Bench coding figure (4.159).

Checks:

  • All 7 draft lengths completed with 80/80 successful requests and 0 failed in each cell. The job log has no tracebacks, and the draft resolved as Qwen3DSparkModel.
  • python -m infx.golden_al_distribution show kimi-k3.1-pro__dspark__kimi-k3.1-pro-dspark__probabilistic-block loads the new values. select_curve("kimik3.1", …) returns the new curve for both the preview and the release draft names.
  • infx/tests/golden_al_distribution passes. infx/tests/srt_slurm has the same 26 failures here as on unmodified main, all from the missing srtctl submodule in this checkout.

Effect: any AgentX point that sets synthetic acceptance from this curve uses the new values once this merges. For example, 3 draft tokens go from 2.88 to 3.08 and 7 from 3.69 to 4.16. Recipes that still serve the preview draft keep running, because the identity audit does not compare draft names. Their report-only AL gate would then compare the preview draft's real AL against the release curve.

🤖 Generated with Claude Code

Inferact/Kimi-K3.1-Pro-DSpark (e4e6e626) replaces Inferact/Kimi-K3.1-Pro-DSpark-preview. The curve
comes from SpeedBench AL run 43908757976 with the same image, target, client and sampling as the
preview curve; it is renamed for the new draft repo, its identity names the new draft, and the
collector that measured it is added.

Signed-off-by: Wei Zhao <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the contribution!

  • Review: If this PR changes files owned by someone other than a repository admin or @SemiAnalysisAI/core, ask one eligible CODEOWNER to complete the latest PR_REVIEW_CHECKLIST.md before contacting a core maintainer on Slack. Follow the template exactly, including As a PR reviewer and CODEOWNER, I have reviewed this and have, so sign-off verification triggers.
  • PR verification: Sweeps run only when the PR appends an inferencex-e2e/perf-changelog.yaml entry and carries exactly one primary label: full-sweep-fail-fast (strongly recommended; canary plus per-matrix fail-fast), full-sweep-enabled (canary; matrix jobs continue after a failure), or non-canary-full-sweep-enabled (no canary or fail-fast). The modifiers all-evals, evals-only, and agentx-fast require a primary label. On fork PRs, a maintainer applies the label. See sweep labels and reuse.
  • After merging: PR authors must ensure all GitHub Actions jobs pass. Transient failures often pass on rerun; see how to rerun failed jobs.
中文

感谢你的贡献!

  • **审阅:**如果 PR 修改的文件归属于仓库管理员及 @SemiAnalysisAI/core 之外的 CODEOWNER,请先联系一位有资格的 CODEOWNER 填写最新的 PR_REVIEW_CHECKLIST.md,再通过 Slack 联系核心维护者。必须严格遵循模板,并保留 As a PR reviewer and CODEOWNER, I have reviewed this and have,才能触发签核验证。
  • **PR 验证:**只有当 PR 在 inferencex-e2e/perf-changelog.yaml 末尾追加了条目,并且恰好带有一个主标签时,才会运行扫描:full-sweep-fail-fast(强烈推荐;canary 加逐矩阵 fail-fast)、full-sweep-enabled(有 canary;矩阵任务在失败后继续运行)或 non-canary-full-sweep-enabled(无 canary,也无 fail-fast)。修饰标签 all-evals、evals-only 和 agentx-fast 必须与主标签一起使用。fork PR 的标签由维护者添加。参见扫描标签与复用。
  • **合并后:**PR 作者必须确保所有 GitHub Actions 任务通过。临时性失败通常可以通过重新运行恢复;参见重新运行失败任务的说明。

@github-actions

Copy link
Copy Markdown
Contributor

inferencex-e2e/infx diff: +13 -14

Generally most InferenceX submissions don't need to add changes to the infx package. On the off chance they do, generally the diff is small. Please prompt your agent to clean your PR to keep your diff to only necessary & minimal changes too. We have an increased code quality bar for changes to the infx package.

中文

大多数 InferenceX 提交通常不需要修改 infx 包。即使确实需要,改动通常也很小。请让你的 agent 清理 PR,使改动只包含必要且最小的内容。infx 包的改动有更高的代码质量要求。

@wzhao18

wzhao18 commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator Author

@functionstackx @cquil11 Please take a look. Thanks!

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Findings marked 🟡 are optional suggestions and need no follow-up push.

Comment on lines +254 to +257
local bench_rc=$?
if [[ $bench_rc -ne 0 ]]; then
echo " -> benchmark client exited rc=$bench_rc (thinking=$mode dspark=$mtp); cell will be N/A"
fi

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 A cell whose benchmark client fails can still get a numeric golden AL, even though the log says the cell will be N/A. When bench_rc is non-zero, line 256 only echoes a message. The script then computes AL from the /metrics deltas of whatever requests finished. The sibling kimik3 collector sets N/A, calls cleanup_server and returns there; that branch was dropped. Fix: in the bench_rc -ne 0 branch, set AL_RESULT["${mode}_${mtp}"]="N/A", call cleanup_server and return, as the kimik3 collector does.

Why this was flagged

The trigger is a benchmark driver that exits non-zero partway through a cell, for example a client crash, timeout or failed requests, after the server has accepted some drafts. Lines 254-257 echo "cell will be N/A" and keep going. Lines 259-269 then read the spec_decode counters and write 1 + delta_acc/delta_drf from a partial, possibly skewed sample into AL_RESULT. That value goes into OUT_YAML, which speedbench-al.yml can open as a golden-curve PR. The MEASURED check at the end only catches matrices where every cell is N/A, so it does not stop this. The base sibling kimik3_fp4_b300_vllm_probabilistic_sample_method_block_rejection_sample_method.sh records N/A and returns in this branch. Only this new collector publishes a failed cell as a measured AL.

Verification: Trigger: the benchmark driver exits non-zero partway through a cell. Lines 254-257 only echo "cell will be N/A" and do not assign N/A, call cleanup_server or return. Lines 259-271 then write AL_RESULT["${mode}_${mtp}"]="$al" from a partial sample. kimik3_fp4_b300_vllm.sh:264-269 returns N/A here. The MEASURED guard (lines 319-329) fails only when every cell is N/A.

Comment on lines +131 to +135
kimi-k3.1-pro__dspark__kimi-k3.1-pro-dspark__probabilistic-block:
select: {model_prefixes: [kimik3.1], method: dspark, draft_sample: probabilistic}
collection:
engine: vllm
draft: Inferact/Kimi-K3.1-Pro-DSpark-preview
draft: Inferact/Kimi-K3.1-Pro-DSpark

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 AgentX throughput runs that still serve the preview draft will be forced to the release draft's higher AL, e.g. 4.16 instead of 3.69 at 7 tokens. The select block still matches every kimik3.1 probabilistic DSpark run without checking the draft model. About 30 recipes still name Inferact/Kimi-K3.1-Pro-DSpark-preview. Fix: in this PR, move those recipes to Inferact/Kimi-K3.1-Pro-DSpark, or keep the preview curve and select curves by draft so each run gets its own draft's measured AL.

Why this was flagged

The srt driver calls infx/srt_slurm/synthetic_acceptance.py for each recipe, and that picks the curve using only model_prefixes: [kimik3.1], method: dspark, draft_sample: probabilistic (identities.yaml:132). Many recipes still serve the preview draft. Examples are multi_node/.../gb300-fp4/agentx/agg-variants.yaml:182 (7 tokens), gb300 disagg-variants.yaml:453 (6), b200-fp4/agentx/agg-variants.yaml:83 (7), single_node/.../mi355x-fp4-mtp/agentic.yaml:118 (7) and b300-fp4-mtp/agentic.yaml:90 (4). On the base branch these runs get the preview curve (2.88, 3.19, 3.57, 3.69). After this change they get 3.08, 3.46, 4.00 and 4.16, which is 7-13% higher than the draft they serve actually achieves. Published throughput for those points goes up by the same amount. The PR description says preview-draft recipes 'keep running', but that does not fix this: no audit compares draft names, so nothing fails and the inflated AL is applied silently.

Verification: identities.yaml:132 keeps select: {model_prefixes: [kimik3.1], method: dspark, draft_sample: probabilistic}, which does not mention the draft. Only the key and collection.draft are renamed, at lines 131 and 135. spec_identity.py also never compares draft names, so nothing flags the mismatch. gb300-fp4/agentx/agg-variants.yaml:182 (7 tokens) now gets 4.16 instead of 3.69.

Comment on lines +12 to +18
1: 1.86
2: 2.56
3: 3.08
4: 3.46
5: 3.81
6: 4.00
7: 4.16

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Every kimik3.1 DSpark throughput point gets a new forced acceptance length, but no sweep or changelog record follows because perf-changelog.yaml has no entry. AGENTS.md requires an entry for any change that alters what a benchmark runs. Existing entries record the old forced values, for example "3.69 at 7 tokens, 3.41 at 5" at perf-changelog.yaml:12049. Fix: append one perf-changelog.yaml entry listing the kimik3.1 DSpark config keys whose synthetic AL changes, then sweep and /use it.

Why this was flagged

The srt connector (infx/srt_slurm/synthetic_acceptance.py) reads this curve and injects its value as synthetic acceptance for every kimik3.1 DSpark throughput run. The diff changes those values at lines 12-18: 3 tokens go from 2.88 to 3.08, 4 from 3.19 to 3.46, 5 from 3.41 to 3.81, and 7 from 3.69 to 4.16. The PR adds no perf-changelog.yaml entry, so no result collection is triggered. Published kimik3.1 results stay at the old forced AL, while the next unrelated sweep silently picks up the new one. Earlier entries name the forced AL explicitly (perf-changelog.yaml:12049, 12460, 12481, 12879, 12881), so the changelog record goes stale. python -m infx.matrix.changed does not see golden-curve changes, so CI does not flag the missing entry.

Verification: Trigger: any kimik3.1 DSpark AgentX throughput run after merge. This PR changes the forced acceptance length those runs use, and it adds no perf-changelog.yaml entry. The diff changes thinking_on from 2.88/3.19/3.41/3.69 to 3.08/3.46/3.81/4.16 at 3/4/5/7 tokens. AGENTS.md:87 requires an entry, and perf-changelog.yaml:12049 still records the old values.

Comment on lines +2 to +80
# Kimi-K3.1-Pro B300 vLLM SPEED-Bench AL matrix collector for the released DSpark draft
# Inferact/Kimi-K3.1-Pro-DSpark (5 GQA layers, 2,048-token sliding window; speculators format),
# with draft_sample_method=probabilistic and rejection_sample_method=block. It replaces the
# preview draft (5 MLA layers) the kimi-k3.1-pro__dspark__kimi-k3.1-pro-dspark-preview curve was
# measured with; everything else (image, target, client, sampling) matches that collection.
#
# Required collection settings come from speedbench-al.yml; dispatch with
# -f 'thinking-kwargs={"thinking": true}' -f 'thinking-modes=on'.

set -o pipefail
repo_root="$(cd "$(dirname "$0")/../../.." && pwd)"
source "$repo_root/benchmarks/check_env.sh"
check_env_vars \
CATEGORY CHAT_TEMPLATE_KWARGS_ON DP_ATTENTION EP_SIZE MODEL MODEL_PATH \
MTP_LIST OUT_YAML PORT SPEEDBENCH_OUTPUT_LEN THINKING_MODES TP

SERVE_MODEL="${MODEL_PATH}"
GPU_MEM_UTIL="0.90"
MAX_MODEL_LEN="16384"
MAX_NUM_SEQS="512"

DRAFT_MODEL="Inferact/Kimi-K3.1-Pro-DSpark"
DRAFT_REVISION="e4e6e6261e9f8b6d5f249f9627eb6b109d762d5f"

MODEL_KEY="$(basename "$SERVE_MODEL" | tr '[:upper:]' '[:lower:]')"
# AL is concurrency-independent (per-token accept/reject; no spec-disable-by-batch is
# set), so batch the SPEED-Bench pass to stay under the CI wall-time limit; conc=1
# blew the 8h budget on an earlier Kimi model.
CONCURRENCY="64"
TOP_P="0.95"
# The chat template thinks by default, so the off-cell kwargs disable it. speedbench-al.yml's
# thinking-kwargs default is the DSV4 value; dispatch with -f 'thinking-kwargs={"thinking": true}'.
CHAT_TEMPLATE_KWARGS_OFF='{"thinking": false}'

SPEEDBENCH_DIR="/workspace/speed_bench_data"
RESULTS_DIR="/workspace/speedbench_results"

export NCCL_DMABUF_ENABLE="0"
export VLLM_ALLREDUCE_USE_FLASHINFER="1"
export VLLM_USE_RUST_FRONTEND="1"
export VLLM_ENGINE_READY_TIMEOUT_S=3600

# `vllm bench serve` os.execv's the CLIENT into the Rust vllm-rs binary whenever the
# dataset (speed_bench qualifies) and backend are supported, with no opt-out. The
# Rust flag surface lacks --speed-bench-output-len, --save-detailed and
# --chat-template-kwargs, so every cell would die at argument parsing. Call the
# Python entrypoint directly (vllm.benchmarks.serve.main), as the CLI's own Python
# fallback does. The SERVER keeps the Rust frontend; AL is read from /metrics.
BENCH_DRIVER="$RESULTS_DIR/bench_serve_python.py"
mkdir -p "$RESULTS_DIR"
cat > "$BENCH_DRIVER" <<'PYEOF'
# Python-only `vllm bench serve`: bypasses the Rust os.execv delegation in
# vllm/entrypoints/cli/benchmark/serve.py by importing the benchmark directly.
from vllm.benchmarks.serve import add_cli_args, main

try: # import path moved in newer vLLM
from vllm.utils.argparse_utils import FlexibleArgumentParser
except ImportError:
from vllm.utils import FlexibleArgumentParser

parser = FlexibleArgumentParser(
description="vllm bench serve (Python entrypoint, no Rust delegation)"
)
add_cli_args(parser)
main(parser.parse_args())
PYEOF
# No `set -e` here, so a failed redirect would otherwise only surface later as a
# confusing "No such file" from the preflight.
if [[ ! -s "$BENCH_DRIVER" ]]; then
echo "CRITICAL: could not write the benchmark driver to $BENCH_DRIVER — aborting."
exit 1
fi

nvidia-smi

# Pyxis containers share the host network, so another job's listener on the node can hold the
# default port (dsxe-sa-b300-prd0-gpu-07 had 127.0.0.1:8888 taken in run 43906252703). Serve on a free
# port instead of failing; ss also catches a listener bound to a non-loopback address, /dev/tcp covers
# images without ss.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 (optional) The new collector breaks the mandatory AGENTS.md comment rules: it has a file header and history comments. Lines 2-9 describe the file and say it replaces the preview draft. Lines 27-28 cite a past budget overrun on an earlier Kimi model. Lines 77-80 cite run 43906252703 and host dsxe-sa-b300-prd0-gpu-07. Fix: delete the header and the run, host and past-result references, and keep one short technical line per block. For example, at line 76: 'host-network containers can share PORT with another job; pick a free port'.

Why this was flagged

AGENTS.md lines 56-57 apply to every file. They ban header comments that describe a file or config, and history comments about what code replaced, where it came from, or past results, because git and perf-changelog.yaml are the record. The new script opens with an 8-line header (lines 2-9) that describes the collector and says it replaces the preview draft. Lines 27-28 ('conc=1 blew the 8h budget on an earlier Kimi model') and lines 77-80 (run 43906252703, dsxe-sa-b300-prd0-gpu-07) are past-result and run-ID history. Maintainers get a file that breaks the repo rules, and these comments go stale once the runs and hosts change.

Verification: AGENTS.md:56 says "No header comments describing a file, topology, config, recipe, override, or section." AGENTS.md:57 says "No history: how code evolved, what it replaced, where it came from, or past results." Lines 2-9 are a file-describing header that also states history. Lines 77-80 cite a past run and host, which is history. Impact is small: comment-only, no runtime effect.

Comment on lines +97 to +98
DRAFT_DIR="/workspace/draft_models"
mkdir -p "$DRAFT_DIR"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 (optional) Each run of the new collector creates /workspace/draft_models and /workspace/speedbench_results, which the benchmark invariants forbid. Line 51 runs mkdir -p "$RESULTS_DIR" and line 98 runs mkdir -p "$DRAFT_DIR", both under /workspace. Fix: put the driver, logs and draft checkpoint in directories the job already provides, such as one passed in by the caller and checked with check_env_vars, not new top-level /workspace dirs.

Why this was flagged

AGENTS.md line 93 says benchmarks create no new directories under /workspace, and lists this as a non-negotiable benchmark invariant. The script sets RESULTS_DIR=/workspace/speedbench_results (line 37) and DRAFT_DIR=/workspace/draft_models (line 97), then creates both with mkdir -p (lines 50 and 98). It writes the Python driver, the server logs and a full draft checkpoint there. On a shared runner workspace these directories and the multi-GB draft download stay behind after the job. Older collectors (kimik3_fp4_b300_vllm.sh:100) do the same thing, but that is precedent, not an exemption, for a newly added active script.

Verification: nit. Trigger: every run of the new collector. AGENTS.md line 93 says: "Benchmarks create no new directories under /workspace, and root containers leave no root-owned files in shared AMD runner workspaces." Line 51 runs mkdir -p "$RESULTS_DIR", and line 98 runs mkdir -p "$DRAFT_DIR" for /workspace/draft_models.

@wzhao18
wzhao18 merged commit 5146af7 into main Nov 17, 2026
34 checks passed
@wzhao18
wzhao18 deleted the wzhao/k31-dspark-release-golden-al branch November 17, 2026 01:16
Yu-Zhewen added a commit to Yu-Zhewen/InferenceX that referenced this pull request Nov 17, 2026
Main renamed the Kimi K3.1 DSpark golden curve after the released
draft (SemiAnalysisAI#5102), so the TokenSpeed golden-acceptance test now writes its
curve under that name. perf-changelog.yaml keeps main's entries and
appends this PR's entry, now linked to SemiAnalysisAI#5101.

Signed-off-by: Zhewen Yu <[email protected]>
YukioZzz pushed a commit that referenced this pull request Nov 19, 2026
…#5102)

Inferact/Kimi-K3.1-Pro-DSpark (e4e6e626) replaces Inferact/Kimi-K3.1-Pro-DSpark-preview. The curve
comes from SpeedBench AL run 43908757976 with the same image, target, client and sampling as the
preview curve; it is renamed for the new draft repo, its identity names the new draft, and the
collector that measured it is added.

Signed-off-by: Wei Zhao <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
adibarra pushed a commit that referenced this pull request Nov 24, 2026
…eased DSpark draft, EPLB / [NV] Kimi-K3.1-Pro GB300 Dynamo+vLLM AgentX:kimi-k31-mc-f4c9618、正式版 DSpark 草稿模型、EPLB (#5109)

* Kimi-K3.1-Pro GB300 Dynamo+vLLM AgentX: new image, DEP32 c704/c960, 1P5D points

Move the dcp8-disagg and agg configs to kimi-k31-mc-dbbc9e3 (vLLM
0.1.dev25356+gdbbc9e310) and add a dep32-disagg config.

- DEP32 2P1D at c704 and c960: two DEP16 prefill workers and one DEP32
  decode, Mooncake scheduler lookups started on arrival, Mooncake store tail
  pruning, a 97.7 GB decode KV pool per rank, and the benchmark client on its
  own node.
- 1P5D at c44 and c56 replace c20 and c32 1P3D.
- Hybrid 2P1D moves from c192 to c256; both hybrid decodes run their MegaMoE
  layers on the DEP EpMoeLayer schedule and prune Mooncake store tails.
- TP8/DCP8 points: indexer logits bfloat16, deep_select top-k on prefill,
  Mooncake lookup_timeout_s 60, spawned workers with set_visible_devices.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Mi Sun Park <[email protected]>

* Fill in the perf-changelog PR link

Co-Authored-By: Claude Opus 5.5 <[email protected]>

Signed-off-by: Mi Sun Park <[email protected]>

* Kimi-K3.1-Pro GB300 dcp8-disagg: drop frontend session affinity

The one-second router-session-affinity-ttl-secs kept a share of 1P5D
decode picks on an engine that was already busy. Without it, c56 and c44
1P5D run at higher interactivity with the same throughput per GPU in our
runs on this image; the 2P1D and 3P1D hybrid points are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Mi Sun Park <[email protected]>

* Kimi-K3.1-Pro GB300 Dynamo+vLLM: pin Dynamo v1.7.0-kimi-k3.1-pro-dev.1

Install Dynamo from the v1.7.0-kimi-k3.1-pro-dev.1 tag (229be5cff1), the
release that registers the kimi_k31 model type, in the dcp8-disagg,
dep32-disagg and agg recipes and their nvidia-master router versions.
The B300 Kimi-K3.1-Pro Dynamo+vLLM recipe uses the same tag.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Mi Sun Park <[email protected]>

* Kimi-K3.1-Pro GB300 recipes: comment rules and changelog detail

Move the override header comments into short line comments, update a stale
draft-token comment, drop the no-op session affinity of the one-worker agg
frontend so it matches dcp8-disagg, and list the Dynamo pin, the Mooncake
lookup and tail-pruning settings, the bfloat16 indexer logits and the
deep_select prefill top-k in the changelog entry.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Mi Sun Park <[email protected]>

* Kimi-K3.1-Pro GB300: hybrid 3P1D at c448, DEP32 at c960, Mooncake lookups on arrival

Hybrid 3P1D moves from concurrency 384 to 448 and the DEP32 lane keeps
concurrency 960 only. The TP8/DCP8 Mooncake store connector starts
scheduler lookups when a request arrives (lookup_prefetch_limit 16,
lookup_prefetch_ttl_s 30), as the dep32-disagg presets already do.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Mi Sun Park <[email protected]>

* Kimi-K3.1-Pro GB300: released DSpark draft, prefix-match-unit at its KV block

Switch the dcp8-disagg and agg recipes from the
Inferact/Kimi-K3.1-Pro-DSpark-preview draft to the released
Inferact/Kimi-K3.1-Pro-DSpark draft, whose golden acceptance curve
replaced the preview curve in #5102.

The released draft attends over a 2048-token sliding window, and its KV
cache group needs block-aligned prefix lookups; vLLM also requires
prefix-match-unit to divide every KV cache group block. Set
prefix-match-unit to the draft group's KV block, which depends on the
parallel layout and the draft length, so prefix-cache hits stay
fine-grained: 1408 tokens on the TP8/DCP8 dcp8-disagg engines (four draft
tokens), 1536 on the hybrid 2P1D point (six) and 768 on the TP16/DCP16
agg point (seven).

dep32-disagg keeps the preview draft: on DEP32 every KV cache group
block of the released draft is 16384 tokens, so no prefix-match-unit
keeps its prefix-cache hits fine-grained.

The branch is stacked on #5069, so this PR's single changelog entry
covers #5069's changes as well.

Signed-off-by: Mi Sun Park <[email protected]>

* Kimi-K3.1-Pro GB300 dep32-disagg: released DSpark draft as well

Move dep32-disagg to the released Inferact/Kimi-K3.1-Pro-DSpark draft
too, so every config in this PR matches the golden acceptance curve.
With block-size 16384 every KV cache group block of the released draft
is 16384 tokens, and no prefix-match-unit keeps prefix-cache hits
fine-grained there; prefix-match-unit stays 128, which divides it.
Fill in the changelog pr-link.

Signed-off-by: Mi Sun Park <[email protected]>

* Kimi-K3.1-Pro GB300 Dynamo+vLLM AgentX: kimi-k31-mc-f4c9618, released DSpark draft, EPLB, six points

Move the dcp8-disagg, dep32-disagg and agg configs to vllm/vllm-openai:kimi-k31-mc-f4c9618
with Dynamo ec06c09e72 and the released DSpark draft (revision e4e6e626). Points: DEP32 2P1D c960,
hybrid 3P1D c448 and 2P1D c256 with expert-parallel load balancing, TP8/DCP8 1P5D c104 (4 drafts,
adaptive long-prefill threshold) and c44 (5 drafts), and aggregated TP16/DCP16 c1.

Signed-off-by: Mi Sun Park <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Kimi-K3.1-Pro GB300 dep32-disagg: evict 5% of the Mooncake store at a time

Raise the Mooncake master eviction high watermark from 0.95 to 0.98 and lower the eviction ratio from 0.10 to 0.05 on the c960 DEP32 2P1D config, so fewer cached prefixes are dropped per eviction and prefill recomputes less.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Mi Sun Park <[email protected]>

* Kimi-K3.1-Pro GB300 agg c1: drop K31_MK1; changelog: note the previous draft lengths

K31_MK1 is not read anywhere in kimi-k31-mc-f4c9618, so the c=1 recipe no longer sets it (no change in behavior). The changelog entry now states the draft lengths the c960, hybrid 3P1D and 1P5D c44 points used before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Mi Sun Park <[email protected]>

* Kimi-K3.1-Pro GB300 dep32-disagg c960: one DEP32 prefill engine instead of two DEP16

Serve the concurrency-960 point with one DEP32 prefill engine (data-parallel 32, 28 experts per rank, 85 GiB KV cache per rank) and the same DEP32 decode, on the same 16 nodes. Each prefill rank sees twice the tokens per expert, which raises prefill throughput at this saturated point.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Mi Sun Park <[email protected]>

* Kimi-K3.1-Pro GB300 dep32-disagg c960: 80 GiB prefill KV cache per rank

Lower the DEP32 prefill KV cache from 85 GiB to 80 GiB per rank. Throughput is the same within noise and each prefill rank keeps about 5 GiB more free memory for the transient buffers of partially cached prompts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Mi Sun Park <[email protected]>

* chore: refresh PR #5109 for sweep reuse [skip-sweep]

---------

Signed-off-by: Mi Sun Park <[email protected]>
Signed-off-by: Ankur Singh <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Cam Quilici <[email protected]>
Co-authored-by: Ankur Singh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants