Repository navigation
feat(config): add TokenSpeed Kimi K3.1 Pro MXFP4 MI355X AgentX with DSpark / feat(config): 新增 TokenSpeed Kimi K3.1 Pro MXFP4 MI355X AgentX(DSpark)配置 - #5144
Conversation
Accept TokenSpeed DSPARK speculation in the golden-AL connector. The spec reads the draft model from speculative-draft-model-path and the draft sampler from enable-speculative-sampling (probabilistic when true, else greedy), and the verifier is speculative-rejection-sample-method when the role sets it. Synthetic throughput keeps the golden length and the greedy sampler, and now also removes enable-speculative-sampling and speculative-rejection-sample-method, which greedy sampling and a synthetic length reject. Eval-only and fixed-sequence runs keep the recipe's own DSPARK verification; MTP still selects flashinfer. Signed-off-by: Yu-Zhewen <[email protected]>
…eed DCP tokenspeed-wheels-rocm.sh installs pinned TokenSpeed, kernel, kernel-amd, scheduler and engine wheels by URL with tokenspeed-smg at the master router version. It upgrades only what the wheels need from PyPI, so the runner image's ROCm torch stays, then checks torch is a ROCm build and runs pip check. The binder writes ROUTER_VERSION for it. Single-node binding now compares TokenSpeed's decode-context-parallel-size with the matrix dcp-size, so DCP points bind instead of failing as DCP 1. Signed-off-by: Yu-Zhewen <[email protected]>
…Spark Add kimik3.1-fp4-mi355x-tokenspeed-agentic-dspark: one TokenSpeed worker on eight MI355X GPUs with attention and MoE TP8 and EP1, the Inferact/Kimi-K3.1-Pro-DSpark-preview draft, FP8 KV cache with the MXFP4 DSA indexer key cache and a Host L2 KV store at kvstore-ratio 8, at concurrency 1, 4, 8, 16, 24, 32 and 48. Concurrency 8 and above use KV parallel 8 with DCP8; each point has its own running-request cap, decode graph sizes, DSpark draft count and prefill/decode scheduling. SMG gets the gateway settings ts serve applies. The recipe pins the runner image, tokenspeed-smg 1.15.0.post20261110, and the checkpoint and draft revisions. The TokenSpeed wheel URLs and versions and the gateway tokenizer path are TODO placeholders. Signed-off-by: Yu-Zhewen <[email protected]>
SMG, TokenSpeed's gateway, refuses any top_p but the one a model pins (Kimi K3 pins 0.95), so every GSM8K request with top_p=1 came back as HTTP 400. Temperature 0 decodes greedily without reading top_p, so TokenSpeed's requests now leave it unset; other frameworks still send top_p=1. Signed-off-by: Zhewen Yu <[email protected]>
Signed-off-by: Yu-Zhewen <[email protected]>
Signed-off-by: Yu-Zhewen <[email protected]>
Signed-off-by: Yu-Zhewen <[email protected]>
…iles The CI nodes' local Hugging Face cache holds the K3.1 weights but not every file of the revision (README.md, LICENSE, .gitattributes, ...). Under HF_HUB_OFFLINE=1, huggingface_hub rejects that snapshot as incomplete when TokenSpeed reads the model config, so the server never starts. With Hub access the missing files are fetched, as the SGLang K3.1 MI355X recipe already does; TokenSpeed retries Hub rate limits. Signed-off-by: Zhewen Yu <[email protected]>
lm-eval always runs at temperature 0, which decodes greedily, so top_p=1 has no effect. TokenSpeed's gateway (SMG) answers any top_p other than the value the Kimi K3 contract fixes (0.95) with HTTP 400, which failed TokenSpeed's GSM8K eval. Omitting top_p for every framework replaces the TokenSpeed-only special case. Signed-off-by: Zhewen Yu <[email protected]>
Main renamed the Kimi K3.1 DSpark golden curve after the released draft (#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 #5101. Signed-off-by: Zhewen Yu <[email protected]>
…al to 24 In same-node one-hour AgentX runs on MI355X, keeping at least 24 decode rounds after each prefill chunk instead of 16 traded 1.3% throughput for 7.6% interactivity at concurrency 24, and 1.9% for 7.9% at concurrency 32. Signed-off-by: Zhewen Yu <[email protected]>
Serve Inferact/Kimi-K3.1-Pro-DSpark at e4e6e626, the draft the committed golden curve was measured with, instead of the preview. It is a GQA stack, so it runs on TokenSpeed's MHA drafter backend. Concurrency 4 and 8 move to 7 drafts and 24 to 48 to 5. Signed-off-by: Zhewen Yu <[email protected]>
The November 18 nightly is the first to serve the released DSpark draft. Its TokenSpeed pins tokenspeed-smg 1.16.0.post20261117, and its engine 0.1.1 pairs with tokenspeed-scheduler 0.1.58. Signed-off-by: Zhewen Yu <[email protected]>
Signed-off-by: Zhewen Yu <[email protected]>
Signed-off-by: Zhewen Yu <[email protected]>
Signed-off-by: Zhewen Yu <[email protected]>
At concurrency 1 and 4 the GPU KV pool already holds the agent sessions' prefixes, so the Host L2 KV store served almost no hits, while pinning it delayed startup past the distributed timeout on one CPU socket's ranks. Both points now pass --disable-kvstore and run with kv-offloading none, like the vLLM and SGLang K3.1 recipes. Signed-off-by: Zhewen Yu <[email protected]>
Registering pageable memory pins the Host L2 page by page, after reclaiming the page cache that holds the checkpoint; at kvstore-ratio 8 it outlasted the distributed startup timeout on one CPU socket's ranks. HSA_USERPTR_FOR_PAGED_MEM=0 makes hipHostMalloc take the Host L2 from the amdgpu GTT pool instead, as the SGLang K3.1 recipe does. The GTT pool is about half the node's memory, too small for ratio 8, so concurrency 8 to 48 pin a fixed 128 GB per GPU (kvstore-size), about what ratio 4 gave, which held concurrency 32 throughput. Move to the November 19 nightly. Its TokenSpeed pins tokenspeed-smg 1.16.0.post20261118, and its gfx950 kernels run each MoE layer's post-attention work as one launch in single-request decode (lightseekorg/tokenspeed#3613). Signed-off-by: Zhewen Yu <[email protected]>
…ed-mi355x-dspark Signed-off-by: Zhewen Yu <[email protected]> # Conflicts: # inferencex-e2e/perf-changelog.yaml
Signed-off-by: Zhewen Yu <[email protected]>
|
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 包的改动有更高的代码质量要求。 |
There was a problem hiding this comment.
Findings marked 🟡 are optional suggestions and need no follow-up push.
Additional findings (outside the current diff — GitHub can't attach inline comments there):
-
🔴
inferencex-e2e/infx/srt_slurm/spec_identity.py— Running the documented matrix audit now fails with a ValueError once it reaches the new TokenSpeed DSPARK rows.spec_argumentsonly keeps args whose names start with aSPEC_ARGUMENTSprefix (spec_identity.py:33-36), so it dropsenable-speculative-sampling.spec_parametersnow reads that flag, so the audit sees greedy drafting and finds no curve. Fix: keep every argument thatspec_parametersandverifierread in the snapshot args, e.g. addenable-speculative-samplingtoSPEC_ARGUMENTS. [also at: inferencex-e2e/infx/srt_slurm/synthetic_acceptance.py:75 - The documented spec-identity audit of the sweep matrix (spec_identity snapshot) will crash on the new TokenSpeed DSPARK config, so it audits no config at all.]Why this was flagged
The README (golden_al_distribution/README.md:226-227) documents
python -m infx.srt_slurm.spec_identity snapshot matrix.json --root .over a full-sweep matrix that includes amd-master.yaml. The new rowkimik3.1-fp4-mi355x-tokenspeed-agentic-dsparkis agentic-coding withspec-decoding: mtp, sosnapshot(spec_identity.py:194-216) passes it tospec_arguments. That filter dropsenable-speculative-sampling: truefrom agentic.yaml.auditthen callsspec_parameters(synthetic_acceptance.py:70-75), which reportsdraft_sample_method: greedy.curve_name->select_curvematches no kimik3.1 dspark curve, because the only one selectsdraft_sample: probabilistic, and raises "No kimik3.1 dspark golden curve for draft model 'Inferact/Kimi-K3.1-Pro-DSpark', draft sampling 'greedy' and verify 'block'".snapshotdoes not catch the error, so the whole audit aborts. On the base branch TokenSpeed never read this flag, so the snapshot completes.Verification: This is triggered when the documented audit (golden_al_distribution/README.md:226-227) runs on a matrix that includes amd-master.yaml.
spec_arguments(spec_identity.py:187-191) keeps only keys wherek.startswith(SPEC_ARGUMENTS)(lines 33-36), so it dropsenable-speculative-sampling.select_curvethen raises at identity.py:255.snapshot/maindo not catch this, so the whole audit aborts.
Signed-off-by: Zhewen Yu <[email protected]>
|
As a PR reviewer and CODEOWNER, I have reviewed this and have Ignore missing checklist, review |
❌❌❌ REJECTED ❌❌❌@Oseltamivir the sign-off is not valid: it has no review checklist, and you are not a CODEOWNER of ❌ Check 0 (CODEOWNER): FAIL — The signer is not a CODEOWNER of a specific changed path. ❌ Check 5 (Latest checklist): FAIL — The sign-off is not the checklist. Its whole body is "As a PR reviewer and CODEOWNER, I have reviewed this and have / Ignore missing checklist, review". None of the 20 items in the current template is present or checked, and it has no additional detail section or
Passed and not applicable checks✅ Check 1 (Sweep on in-PR commit): PASS — The pinned head ✅ Check 2 (Evals): PASS — GSM8K em_strict is 0.9810 ± 0.0038 (n=1319) at the c48 TP8/DCP8 point, on the pinned runner image. The closest ingested cohort (kimik3.1 fp4 B300 dynamo-vllm, run 44024134778) scores 0.9788; the gap is -0.0023 against a threshold of 0.0109, so the eval is not weaker. The eval server log shows the changed real-verification path running ( ➖ Check 3 (Upstream recipe): N/A — The only affected config is ✅ Check 6 (Upstream images / ordering / provenance): PASS — (a) This is not a vLLM/SGLang entry. (b) A TokenSpeed entry lands after the existing open-source ✅ Check 7 (Deprecated models): PASS — ✅ Check 8 (Architecture hacks / integer all-reduce): PASS — There are no architecture overrides or accuracy-trading levers beyond the eval-covered FP8 KV cache and MXFP4 indexer key cache, both allowed by the K3.1 week-1 policy. Kimi K3.1 is not grandfathered, so the integer all-reduce rule applies. TokenSpeed@8080ba1 has no quick-reduce or integer all-reduce path: its Iris ROCm all-reduce reduces in FP32 into BF16. The recipe sets no ✅ Check 9 (Spec-decode chat template): PASS — AgentX trace replay drives SMG's chat-completions endpoint, and lm-eval uses ✅ Check 10 (Engine patches): PASS — Nothing patches the engine. ✅ Check 11 (Golden AL): PASS — The c1 run (7 drafts) set ➖ Check 12 (Append-only): N/A — The new changelog entry has no ✅ Check 13 (Draft precision): PASS — The draft is ✅ Check 14 (Pareto coverage): PASS — For the curve kimik3.1 / agentic-coding / mi355x_tokenspeed / fp4 / P90 E2EL in run 44563025886 ( ➖ Check 16 (NVIDIA overview): N/A — The only affected hardware is AMD MI355X. ➖ Check 17 (Metrics publication): N/A — There are no Dynamo TRT-LLM workers. TokenSpeed runs with ✅ Check 18 (Recipe consistency): PASS — Assessed commit: |
|
/use 44563025886 |
|
@Oseltamivir staged run 44563025886. This run remains available across future |
Signed-off-by: Zhewen Yu <[email protected]>
Signed-off-by: Zhewen Yu <[email protected]> # Conflicts: # inferencex-e2e/perf-changelog.yaml
3834e3e to
8db0dcc
Compare
|
@Oseltamivir staged run 44563025886. This run remains available across future |
|
Ingest report — ✅ Results ingested into the Ingest workflow · Merge Ingest run · Benchmark source run
benchmarkFiles 8, rawBenchmarkRows 14, coveredByPerJobFiles 7, purgedPoints 0, failedRunRows 0, runStatsNew 0, runStatsDuplicate 0, evalSamplesNew 1319, gpuMetricSamplesNew 269448, powerPublicationPoints 7, changelogEntriesWritten 1 Counts cover only this run. Rows: benchmark_results, eval_results, agentic rows linked to a trace, gpu_metrics series. This comment updates if the ingest is rerun. 中文Ingest 报告 — ✅ 结果已写入 上表仅统计本次运行写入的数据,各行单位依次为 benchmark_results 行、eval_results 行、已关联 trace 的 agentic 行和 gpu_metrics 序列。重新运行 ingest 时本评论会原地更新。 |
…0-agentx Main's #5144 added TokenSpeed DSPARK support to the golden-AL connector, so take main's connector, tests and golden-AL READMEs; this branch no longer changes inferencex-e2e/infx. perf-changelog.yaml is resolved with prepare_perf_changelog_merge: main's entries plus this PR's entry.
…ls on gfx950 (#3755) ## Summary Kimi-K3.1 decode at concurrency 1 on gfx950 now runs fewer and faster small kernels per step, which puts TokenSpeed ahead of vLLM at c1 on InferenceX AgentX. Everything except the top-k select and the absorb noted below writes bit for bit what the launches it replaces wrote. - **DSA decode front.** One launch, `_index_k_write_pack_query_mla_kernel`, now does what three did after the norm GEMV: the index-K LayerNorm, mxfp4 write and index-query pack; the NoPE prologue (q_pe into the query, the latent into the FP8 KV cache); and, for up to 64 rows, the W_UK query absorb. GLM5's DSA attention gets a NoPE-aware prologue for it; the earlier rope merge never ran for K3.1 because it has no `rotary_emb`. The absorb is one in-order MFMA chain over K, so it matches K3.1's TP8 `bmm` bit for bit on finite query rows. - **DSA index scorer.** A leaner decode-only path for mxfp4 index keys, and long spans split into equal runs of tiles across programs instead of whole chunks. Scores are unchanged. - **DSA top-k select.** The multi-CTA select's last CTA no longer spends most of its time in the compact gather, returning atomics and re-streaming the threshold bucket. The output order, data and coherence protocol are production's. - **DSA split reduce folded into W_UV.** A new op, `dsa_decode_projected_value`, merges the 32 key splits and runs the W_UV GEMM with its gate in one launch, for 12 heads and 1 to 31 rows without KVP or DCP. Attention backends advertise it through `projects_decode_values`. - **KDA output norm in the MoE tail.** The fused tail applies the KDA gated RMSNorm while staging o_proj's input, so `_rmsnorm_gated_kernel` no longer launches ahead of it. The tail's loads and stores are also reordered so it no longer waits on load order. - **GEMV.** The gfx950 GEMV's masked loads drop `other`, whose select waited on every load ahead of it. Shapes and platforms outside these conditions keep the current path. ## Results InferenceX AgentX at concurrency 1 on 8x MI355X, 3600 s, same recipe as [InferenceX#5144](SemiAnalysisAI/InferenceX#5144), one run per build: | c1 | Throughput per GPU | Interactivity p90 | TTFT p90 | |---|---:|---:|---:| | main | 2,458 tokens per second | 301.9 | 1.74 s | | This PR | 2,647 tokens per second | 334.3 | 1.53 s | | vLLM | 2,539 tokens per second | 328.9 | | Against main: throughput per GPU +7.7%, interactivity +10.7%. ## Test Plan On gfx950: - [x] `test_gluon_dsv41_index_topk.py`: the merged front launch against the separate launches, with and without the absorb, and the multi-CTA top-k selecting exactly `torch.topk`'s set for eight verify rows of one long request. - [x] `test_gluon_dsa_amd.py`: `dsa_decode_projected_value` against `dsa_decode` then `mla_project_value`, gated and ungated, across its block shapes. - [x] `test_kimi_k3_moe_tail_gfx950.py`: the tail with the KDA output norm against the norm then the plain tail on every rank. - [x] The 1-GPU CI tasks on MI350X in the runner image: import check, `ut-tokenspeed-kernel`, the AMD ops and gfx950 kernel parts, and both runtime parts. - [x] The 2-GPU kernel and runtime tasks in CI. - [x] The AgentX runs above. - Not run on NVIDIA; these paths are gfx950 only. --------- Signed-off-by: Zhewen Yu <[email protected]>
Summary
Moved from #5101 (fork branch) to a same-repository branch so the sweep runs through
run-sweep.yml.Add
kimik3.1-fp4-mi355x-tokenspeed-agentic-dspark: Kimi K3.1 Pro MXFP4 (moonshotai/Kimi-K3.1-Pro) AgentX on 8x MI355X with TokenSpeed behind the SMG gateway. Attention and MoE TP8 with EP1, the releasedInferact/Kimi-K3.1-Pro-DSparkdraft on TokenSpeed's MHA drafter backend (7 drafts at c1 to c8, 5 at c16 to c48), FP8 KV cache with the MXFP4 DSA indexer key cache, 1,048,560-token context and a 128 GB per GPU Host L2 KV store from c8 (kvstore-size: 128; c1 and c4 disable it). Concurrency 1, 4, 8, 16, 24, 32 and 48; KV parallel 8 with DCP8 from c8, and every point has its own running-request cap and prefill/decode intervals (recipe, README).0.1.1.post20261119, ROCm 7.2 kernel0.1.5.post20261119, kernel-amd0.1.4.post20261119and engine0.1.1.post20261119by release URL and SHA256; scheduler0.1.58andtokenspeed-smg1.16.0.post20261118from PyPI;lightseekorg/tokenspeed-runner-amd:rocm7.2.4-pytorch-2.14.0-gfx950by digest.tokenspeed-nightly-rocm.sh(the installer from feat(config): add TokenSpeed Muse Spark Open MXFP4 MI355X AgentX / feat(config): 新增 TokenSpeed Muse Spark Open MXFP4 MI355X AgentX 配置 #4962, unchanged) installs them and keeps the image's ROCm torch.d9e99b0792a5e93b78ea9bea62a68167e36ddd9e, DSpark drafte4e6e6261e9f8b6d5f249f9627eb6b109d762d5f(speculative-draft-model-revision), the draft the committed golden curve was measured with. It is a five-layer GQA stack, served as it ships (BF16) throughdrafter-attention-backend: mha.decode-context-parallel-sizebinds to the matrixdcp-size.top_p: every request runs at temperature 0, which decodes greedily, and SMG rejects anytop_pother than the one the model pins (0.95 for Kimi K3).Nightly: the pinned November 19 wheels all come from lightseekorg/tokenspeed@8080ba138, which includes lightseekorg/tokenspeed PR 3545, which the released draft needs. Installed in the pinned runner image by
tokenspeed-nightly-rocm.sh, they served the c1 (KVP1, 7 drafts) and c48 (KVP8/DCP8, 5 drafts) points through 10-minute AgentX runs with no failed requests apart from 1 one-token turn that SMG 1.16 returns as empty content (acceptance length 4.12 and 3.73).Overlap with #4962: this PR carries that PR's
tokenspeed-nightly-rocm.sh, itsworkload.pyentry and its test byte for byte, so those merge cleanly in either order. Both PRs extend the TokenSpeed golden-AL connector (DSPARK here, DFLASH there), sosynthetic_acceptance.py, its tests and the golden-AL READMEs need a small rebase in whichever PR lands second.Validated end to end on 8x MI355X outside CI, with a local harness that launches the worker and SMG with the recipe's flags and runs this branch's
infx.benchclients. With the preview draft and the November 16 wheels: wheel smoke tests in KVP1 and KVP8/DCP8, GSM8K 97.95% at the c48 point, and 10-minute AgentX runs at c8 with no failed scored requests. With the released draft, on TokenSpeed source with lightseekorg/tokenspeed PR 3545: acceptance length 4.08 (KVP1) and 4.14 (KVP8) at 7 drafts, GSM8K 98.0% and 98.1%, and 1-hour AgentX at every concurrency point with this recipe's settings and no errors.Validation details
pip check, then worker and SMG startup with real DSpark block verification, a short chat request and a 50K-input/64-output request, in both KVP1 and KVP8/DCP8. No runtime errors.infx.bench eval, lm-eval 5-shot, temperature 0, all 1,319 questions, c48 point, real verification, preview draft): 97.95% strict match, no rejected requests.infx.bench agentic, c8 point, 10 minutes, two runs, preview draft): 0 of 195 and 0 of 196 scored requests failed. SMG's prompt token count matched the client's on every request. SMG reads the tokenizer from the checkpoint, as under srtctl, with notokenizer-path.kimi_k3parser returns one-token warmup requests with empty content, so AIPerf logs about 40 warmup errors per run. Warmup is dropped before scoring.Additional detail
Inferact/Kimi-K3.1-Pro-DSparkate4e6e626:dtype: bfloat16, no quantization config); effective BF16 (no draft quantization flag; TokenSpeed's default handling).AI model disclosure
claude-opus-5-5(Cursor agent)claude-opus-5-5-max(delegated Cursor subagent)gpt-5.6-sol(Cursor agent)grok-4.7(Cursor agent)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./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.中文
本 PR 由 #5101(fork 分支)迁移至同仓库分支,以便通过
run-sweep.yml运行 sweep。新增
kimik3.1-fp4-mi355x-tokenspeed-agentic-dspark:在 8 张 MI355X 上用 TokenSpeed(通过 SMG 网关)运行 Kimi K3.1 Pro MXFP4(moonshotai/Kimi-K3.1-Pro)的 AgentX 配置。注意力和 MoE 均为 TP8、EP1,使用正式发布的Inferact/Kimi-K3.1-Pro-DSpark草稿模型,通过 TokenSpeed 的 MHA drafter 后端运行(c1 至 c8 为 7 个草稿 token,c16 至 c48 为 5 个),FP8 KV cache 配合 MXFP4 DSA indexer key cache,上下文长度 1,048,560 token,从 c8 起启用每 GPU 128 GB 的 Host L2 KV store(kvstore-size: 128;c1 和 c4 禁用)。并发 1、4、8、16、24、32、48;从 c8 起使用 KV 并行 8 和 DCP8,每个并发点设置各自的运行请求上限和 prefill/decode 间隔。0.1.1.post20261119、ROCm 7.2 kernel0.1.5.post20261119、kernel-amd0.1.4.post20261119、engine0.1.1.post20261119,均按 release URL 和 SHA256 固定;scheduler0.1.58与tokenspeed-smg1.16.0.post20261118从 PyPI 安装;runner 镜像lightseekorg/tokenspeed-runner-amd:rocm7.2.4-pytorch-2.14.0-gfx950按 digest 固定。tokenspeed-nightly-rocm.sh(即 feat(config): add TokenSpeed Muse Spark Open MXFP4 MI355X AgentX / feat(config): 新增 TokenSpeed Muse Spark Open MXFP4 MI355X AgentX 配置 #4962 中的安装脚本,未作改动)安装这些包并保留镜像自带的 ROCm torch。d9e99b0792a5e93b78ea9bea62a68167e36ddd9e,DSpark 草稿模型e4e6e6261e9f8b6d5f249f9627eb6b109d762d5f(speculative-draft-model-revision),即已提交 golden 曲线所用的草稿模型。它是 5 层 GQA 结构,按发布原样(BF16)通过drafter-attention-backend: mha运行。decode-context-parallel-size绑定到矩阵中的dcp-size。top_p:所有请求都使用 temperature 0(greedy 解码),而 SMG 会拒绝与模型固定值(Kimi K3 为 0.95)不同的top_p。Nightly: 固定的 11 月 19 日 wheel 均构建自 lightseekorg/tokenspeed@8080ba138,包含正式草稿模型所需的 lightseekorg/tokenspeed PR 3545。在固定的 runner 镜像中通过
tokenspeed-nightly-rocm.sh安装后,c1(KVP1,7 个草稿 token)和 c48(KVP8/DCP8,5 个草稿 token)配置各运行 10 分钟 AgentX,除 1 个被 SMG 1.16 返回为空内容的单 token 请求外无失败请求(接受长度 4.12 和 3.73)。与 #4962 重叠: 本 PR 原样包含该 PR 的
tokenspeed-nightly-rocm.sh、workload.py条目及其测试,因此这些文件无论哪一方先合入都不会冲突。两个 PR 都扩展了 TokenSpeed 的 golden-AL 连接器(本 PR 为 DSPARK,#4962 为 DFLASH),因此后合入的一方需要对synthetic_acceptance.py、相关测试和 golden-AL README 做少量 rebase。在 CI 之外于 8 张 MI355X 上完成端到端验证:本地脚本按 recipe 参数启动 worker 和 SMG,并运行本分支的
infx.bench客户端。使用 preview 草稿模型和 11 月 16 日 wheel:KVP1 和 KVP8/DCP8 的 wheel 冒烟测试通过;c48 配置下 GSM8K 为 97.95%;c8 配置下 10 分钟 AgentX 测试中计分请求无失败。使用正式草稿模型(基于包含 lightseekorg/tokenspeed PR 3545 的 TokenSpeed 源码):7 个草稿 token 时接受长度为 4.08(KVP1)和 4.14(KVP8),GSM8K 为 98.0% 和 98.1%,按本 recipe 设置在每个并发点运行 1 小时 AgentX,无错误。pip check,随后在 KVP1 和 KVP8/DCP8 两种模式下启动 worker 与 SMG(真实 DSpark block 验证),发送一个短对话请求和一个 50K 输入/64 输出的请求,无运行时错误。infx.bench eval,lm-eval 5-shot,temperature 0,全部 1,319 题,c48 配置,真实验证,preview 草稿模型):strict match 97.95%,无被拒请求。infx.bench agentic,c8 配置,10 分钟,两次运行,preview 草稿模型):195 个和 196 个计分请求均无失败;SMG 统计的 prompt token 数与客户端在每个请求上都一致。SMG 与 srtctl 下一样从 checkpoint 读取 tokenizer,不设置tokenizer-path。kimi_k3解析器对只要求一个输出 token 的预热请求返回空内容,因此 AIPerf 每次运行会记录约 40 个预热错误。预热请求在计分前被丢弃。Inferact/Kimi-K3.1-Pro-DSpark的e4e6e626:dtype: bfloat16,无量化配置),实际运行精度 BF16(未设置草稿量化参数,使用 TokenSpeed 默认处理)。AI 模型使用说明:
claude-opus-5-5(Cursor agent):主导起草会话并审阅委派的工作;之后让 SMG 从 checkpoint 读取 tokenizer,运行 GSM8K 和 AgentX 验证,完成 rebase 并撰写本说明;之后将 recipe 切换为正式草稿模型,重新调整草稿 token 数并更新本说明;之后改为固定 11 月 19 日 nightly 并对其 wheel 做冒烟测试。claude-opus-5-5-max(委派的 Cursor 子 agent):编写初版 recipe、master config 条目、安装脚本、连接器改动、测试和 README。gpt-5.6-sol(Cursor agent):将 recipe 切换为 11 月 16 日的 nightly wheel,运行 wheel 冒烟测试,并采用最新的 c48 设置。grok-4.7(Cursor agent):处理了起草会话中的一轮对话,无法确认该轮是否涉及本 PR。改动类型:Bug 修复、新功能、配置变更、文档更新。