Repository navigation
[NVIDIA][AgentX] Kimi-K3 B300 FP4 vLLM: DSpark 7/5/3 at conc 1-28 / [NVIDIA][AgentX] Kimi-K3 B300 FP4 vLLM:并发 1–28 使用 DSpark 7/5/3 - #4381
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: hshrivastava-droid <hshrivastava@nvidia.com>
|
Thanks for the contribution!
中文感谢你的贡献!
|
|
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 包的改动有更高的代码质量要求。 |
|
|
||
|
|
||
| def check_provider(container: Path, drivers: str) -> subprocess.CompletedProcess: | ||
| return b300_mooncake( | ||
| 'check_mooncake_verbs_provider; echo "$MOONCAKE_VERBS_PROVIDER"', | ||
| env={"RDMAV_DRIVERS": f"{container}{drivers}"}, | ||
| ) | ||
|
|
||
|
|
There was a problem hiding this comment.
🟡 (optional) The new provider test breaks the repo's test rules: it pins checked-in recipe contents instead of controlled inputs. Editing the mount or RDMAV_DRIVERS in the recipe then fails CI even when the script is correct. test_kimik3_b300_recipe_mount_resolves_the_host_mlx5_provider loads agentic.yaml and pulls extra_mount and RDMAV_DRIVERS from base. AGENTS.md forbids tests that read or pin recipe config. Fix: call check_provider with a literal mount spec and drivers path, as the sibling failure test already does.
Why this was flagged
The test at test_setup_scripts.py:149-157 calls yaml.safe_load(RECIPE.read_text())["base"] and iterates base["extra_mount"]. It also reads base["roles"]["agg"]["env"]["RDMAV_DRIVERS"] from the checked-in recipe at RECIPE (line 139). AGENTS.md "Test quality" item 4 forbids tests that pin checked-in config such as a recipe. Item 1 forbids tests that open a .yaml and assert on its contents. Today, a valid recipe change breaks this test: renaming the mount target, splitting extra_mount into two entries, or moving RDMAV_DRIVERS to another env block all raise KeyError or make the assertion fail, even though check_mooncake_verbs_provider behaves the same. The base branch had no such test. The provider-resolution branch can be covered with literal inputs, the way test_kimik3_b300_provider_check_fails_when_only_the_provider_directory_is_mounted already does.
Verification: nit. Trigger: any valid edit to the checked-in recipe's mounts or RDMAV_DRIVERS. The test's outcome depends on the recipe's contents, and the expected value hard-codes the recipe's mount target /host-usr-lib. This breaks AGENTS.md line 93, item 4: "Pins checked-in config or data." Nothing breaks at runtime; the cost is CI brittleness.
|
View unofficial run (performance): https://inferencex.semianalysis.com/inference?unofficialRun=41564645099 View unofficial run (accuracy): https://inferencex.semianalysis.com/evaluation?unofficialRun=41564645099 |
…4 vLLM AgentX:更新 DSpark 配置 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
| @@ -1,30 +1,57 @@ | |||
| #!/usr/bin/env bash | |||
There was a problem hiding this comment.
what is the point of this script? can this functionally be auto detected in mooncake or vllm instead?
There was a problem hiding this comment.
Hi Oren
I Don't think it's a suitable feature for vLLM, it's mostly a good UX script to identify devices on the fly vs specifying for the cluster of choice (which we already do in some of Bryans scripts). Usually the infrastructure people know best about them, than vLLM (which would be hard to consider all possible cases)
| # KDA recurrent state only (the DSpark draft is dense MLA). Leave the conv state at | ||
| # SD: FlashInfer's packed KDA spec decode rejects VLLM_SSM_CONV_STATE_LAYOUT=DS on SM10x. | ||
| mamba-ssm-cache-dtype: bfloat16 |
There was a problem hiding this comment.
doesnt this hurt long context evals signficiantly?
There was a problem hiding this comment.
it's been used in all submissions across the board ...
|
As a PR reviewer and CODEOWNER, I have reviewed this and have: Checklist items
Additional detail section:
中文
Signed: |
✅✅✅ Verdict: PASS ✅✅✅Passed and not applicable checks✅ Check 0 (CODEOWNER): PASS — ✅ Check 1 (Sweep on in-PR commit): PASS — the pinned head ✅ Check 2 (Evals): PASS — evals ran on ✅ Check 3 (Upstream recipe): PASS — the published recipes.vllm.ai Kimi-K3 ✅ Check 4 (Reuse command): PASS — ✅ Check 5 (Checklist template): PASS — all 20 items of the current ✅ Check 6 (Upstream image / provenance / ordering): PASS — the image is upstream ✅ Check 7 (Deprecated models): PASS — ✅ Check 8 (Benchmark hacks): PASS — there are no architecture overrides. The bf16 KDA recurrent-state cache is a precision change that the head evals cover. The NVIDIA path has no integer QuickReduce control. ✅ Check 9 (Chat template): PASS — the benchmark client is the unchanged AgentX trace replay, which replays chat conversations; this PR does not touch it. ✅ Check 10 (Engine patches): PASS — the setup script no longer installs anything. It only selects the rail, checks the host verbs provider, checks the bundled ✅ Check 11 (Golden AL): PASS — the connector injects ➖ Check 12 (Append-only): N/A — the new changelog entry has no ✅ Check 13 (Draft precision): PASS — the ✅ Check 14 (Pareto coverage): PASS — the single curve (kimik3 / agentic-coding / B300 vLLM / fp4 / run 41564645099, total tput/GPU vs p90 E2EL, latest attempts from ✅ Check 15 (PR description): PASS — the body's config key, concurrency list 1/4/8/12/14/16/24/28 and image digest match the pinned code. ✅ Check 16 (NVIDIA overview): PASS — Kimi-K3 has a vLLM checkmark in the Framework Recipes table of the NVIDIA overview. ➖ Check 17 (Metrics publication): N/A — direct vLLM serving with no Dynamo TRT-LLM workers. ✅ Check 18 (Recipe/image/sweep consistency): PASS — Assessed commit: |
|
/use 41564645099 |
|
@hshrivastava-droid staged run 41564645099. This run remains available across future |
functionstackx
left a comment
There was a problem hiding this comment.
left review comments in slack
|
As mentioned last week to everyone,we will deprecate it and not accept any more merges the moment k3.1 pro weights drop. this means existing open PRs will not be accepted anymore after k3.1 pro weights drops. The PR may not have been merged due to various factors:
|
Summary
kimik3-fp4-b300-vllm-agentic-dsparkvllm/vllm-openai@sha256:8c1434bfee7d7626eef78ef70600434ffba4a1b8813cb1d1c8707ad25f47035eAI model disclosure
claude-sonnet-5-5)PR checklist and change type
Type of Change
Checklist
python -m infx.matrix.changed --base origin/mainlists affected config keys, I have appended one new entry covering them to the physical end ofinferencex-e2e/perf-changelog.yaml; if it lists none, I have added none. I have not edited historical entriesinferencex-e2e/perf-changelog.yamlentry, it carries exactly one primary sweep label (a maintainer applies it on fork PRs):full-sweep-fail-fast(recommended),full-sweep-enabled, ornon-canary-full-sweep-enabled. Optional modifiersall-evals,evals-only, andagentx-fastrequire a primary label; the last two block reuse while applied.OWNER/MEMBER/COLLABORATOR) has commented/use <run_id>(or the legacy/reuse-sweep-run) on this PR. Do this only once there is a final full sweep that is all green with evals passing, since after this comment the primary sweep label will no longer automatically kick off new sweeps. Remove and re-add the primary sweep label to force a new sweep.中文
配置:
kimik3-fp4-b300-vllm-agentic-dspark;并发: 1、4、8、12、14、16、24、28;镜像:vllm/vllm-openai@sha256:8c1434bfee7d7626eef78ef70600434ffba4a1b8813cb1d1c8707ad25f47035e。AI 模型使用说明:Claude Sonnet 5.5(
claude-sonnet-5-5),负责准备此 PR。改动类型:配置变更。检查清单见上方,除合并前的/use复用评论外均已勾选。