Repository navigation
Select golden AL curves by verifier and add SPEED-Bench collectors / 按验证器选择黄金 AL 曲线并新增 SPEED-Bench 收集脚本 - #4663
Merged
Merged
Conversation
Contributor
|
Thanks for the contribution!
中文感谢你的贡献!
|
Contributor
|
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 包的改动有更高的代码质量要求。 |
Ankur-singh
requested review from
1am9trash,
RohitNagraj,
billishyahao,
chunfangamd,
kedarpotdar-nv,
nvpohanh,
seungrokj,
wzhao18 and
zijiecode
as code owners
November 2, 2026 17:53
cquil11
force-pushed
the
standardize-golden-al-curves
branch
from
November 4, 2026 19:33
7ebc1dd to
cd8624d
Compare
…tors A curve's select block may now name a verifier (standard, block or relaxed). curve_name picks the most specific matching curve, so a verifier-specific curve wins over a general one, and a run whose verifier is unknown (ATOM, TileRT) keeps the general curve. The launcher, the audit, lookup and signoff_facts read the run's verifier the same way. No committed curve sets verify yet, so every config selects the same curve and golden AL as before. Add collectors for the curves the verifier mismatches need: Kimi-K3 DSpark probabilistic with standard verification, MiniMax-M3 EAGLE3 GQA with block verification, DSV4-Pro-0813 DSpark probabilistic with block verification, and GLM-5.3 NVFP4 MTP on SGLang.
…collector / DSV4 DSpark 收集脚本改用 20ebb28 镜像的注意力配置 The vllm/vllm-openai nightly-dev 20ebb28 image rejects --attention_config.use_fp4_indexer_cache, so every cell of the DSV4 DSpark collection failed to start (run 41101904348). Pass the attention config the DeepSeek-V4-Pro-0813 DSpark recipes use on that image, where the FP4 indexer cache is indexer_kv_dtype=mxfp4. vllm/vllm-openai nightly-dev 20ebb28 镜像不再接受 --attention_config.use_fp4_indexer_cache,导致 DSV4 DSpark 收集的所有单元都无法启动 (run 41101904348)。改为使用 DeepSeek-V4-Pro-0813 DSpark 配方在该镜像上的注意力配置, 其中 FP4 indexer cache 写作 indexer_kv_dtype=mxfp4。
…l / 避免 AL 收集在没有任何测量值时仍报告成功 Run 40958383738 (MiniMax-M3 GQA) reported success with every cell N/A, and run 40958378907 (Kimi-K3) measured nothing either. - The dataset step's unpinned `pip install datasets tiktoken` pulled huggingface-hub 2.4.0, which the image's transformers 5.14 rejects, so no server started. Constrain the install to the image's huggingface-hub, transformers and tokenizers versions in every collector. - Port 8888 was taken on dsxe-sa-b300-prd0-gpu-09 by a process that held no GPU memory. The Kimi-K3 and MiniMax-M3 collectors now serve on a free port when the default one is in use. - speedbench-al.yml now fails a collection in which no cell was measured. - 数据集步骤中未固定版本的 `pip install datasets tiktoken` 会装上 huggingface-hub 2.4.0,镜像中的 transformers 5.14 不兼容,导致服务无法启动。 现在所有收集脚本都将安装约束在镜像已有的 huggingface-hub、transformers 和 tokenizers 版本上。 - dsxe-sa-b300-prd0-gpu-09 上的 8888 端口被一个不占用 GPU 显存的进程占用。 Kimi-K3 和 MiniMax-M3 收集脚本在默认端口被占用时改用空闲端口。 - speedbench-al.yml 在没有任何单元测得数值时会判定收集失败。
…占用时改用空闲端口 Run 40958391928 (GLM-5.3) measured nothing: on dsxe-sa-b300-prd0-gpu-08 another HTTP service already listens on port 8888, so SGLang's warmup got that service's "404 page not found" and every server was killed. Kimi-K3 hit the same port on gpu-09. Extend the free-port fallback from the Kimi-K3 and MiniMax-M3 collectors to the other nine. run 40958391928(GLM-5.3)没有测得任何数值:dsxe-sa-b300-prd0-gpu-08 上已有另一个 HTTP 服务监听 8888 端口,SGLang 预热请求收到该服务的 "404 page not found", 所有服务均被终止。Kimi-K3 在 gpu-09 上也遇到同一端口问题。将 Kimi-K3 和 MiniMax-M3 收集脚本中的空闲端口回退扩展到其余九个脚本。
…and a measured GLM-5.3 curve / 新增按验证器区分的 Kimi-K3 与 MiniMax-M3 曲线及实测 GLM-5.3 曲线 - kimi-k3__dspark__kimi-k3-dspark__probabilistic-default: probabilistic drafting with the standard verifier (run 41121033716). Selected by verify: standard; a block-verify run still selects the probabilistic-block curve. - minimax-m3__eagle3__minimax-m3-eagle3-gqa__default-block: GQA draft with block verification (run 41121037354). Selected by verify: block; other GQA runs keep the default curve. - glm-5.3-nvfp4__mtp__native__default-default: measured on B300 SGLang (run 41127067850). Replaces the provisional curve copied from GLM-5.2; both glm5.3 configs select it (K=3: 2.99 -> 2.94). Also updates the layout test's stand-in collector to write a measured cell, which the workflow's all-N/A check now requires.
…collection settings / AL 门禁按验证器选择曲线,并为新曲线补充收集设置 The acceptance gate from #4654 selected curves without the run's verifier, so a Kimi-K3 probabilistic standard-verify deployment would be gated against the block-verify curve. The planner and the launch check now pass the generation worker's verifier. The Kimi-K3 standard-verify and MiniMax-M3 GQA block-verify curves carry the collection settings of their collectors, which are those of their sibling curves. The GLM-5.3 NVFP4 curve was collected with SGLang's bench_serving on /generate, like Muse Spark, so it has none and the gate lists its points as unresolved.
cquil11
force-pushed
the
golden-al-verify-collectors
branch
from
November 4, 2026 19:42
5cd68ee to
c33db9e
Compare
…ipts The sign-off prompt now lists the same verifier mapping as synthetic_acceptance.verifier: synthetic counts as block, TRT-LLM relaxed acceptance passes --verify relaxed, and ATOM and TileRT omit --verify. The Kimi-K3 and MiniMax-M3 variant collectors source their base collector instead of passing fallback-defaulted environment, so the base scripts read the collector name from $0 and take only optional SPEC_EXTRA and DRAFT_SUFFIX inputs. The new collectors drop their file header comments.
7 of 11 tasks
7 of 11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[by Claude Code]
Follows #4661. Lets a golden AL curve be selected by the run's verifier, adds the SPEED-Bench collectors for the curves today's verifier mismatches need, and commits three of those curves. On current main, 11 of the 984 agentic spec-decode rows select a different curve (both GLM-5.3 configs); every other row is unchanged. The AL gate from #4654 picks curves the same way. Kimi-K3 (retired in #4762), MiniMax-M3 and DeepSeek-V4-Pro no longer have serving configs, so their new curves and collectors select no row today; they are kept for acceptance-length research, as MODELS.md does for retired models.
Verifier selection. A curve's
selectblock may nameverify(standard,block,relaxed).curve_namenow picks the most specific matching curve, so a verifier-specific curve wins over a general sibling. The run's verifier is read once (synthetic_acceptance.verifier) and shared by the launcher, the audit,lookup --verifyandsignoff_facts golden-al --verify:rejection_sample_method; unset meansstandard; a recipe's synthetic sampler counts asblock.speculative-use-block-verification.verifyand keep today's curve.New curves
kimi-k3__dspark__kimi-k3-dspark__probabilistic-default(probabilistic draft, standard verify;select: verify: standard)minimax-m3__eagle3__minimax-m3-eagle3-gqa__default-block(GQA draft, block verify;select: verify: block)glm-5.3-nvfp4__mtp__native__default-default(B300 SGLang), replacing the provisionalglm-5.3-fp8copy of GLM-5.2The Kimi-K3 standard-verify curve is within 0.12 of the block-verify curve at every K, so the verifier does not explain Kimi-K3 runs measuring above golden.
AL gate (#4654). The gate's planner and its launch check now pass the generation worker's verifier, so a deployment is gated against the same curve its throughput run uses. On the full agentic sweep:
collectionsettings of their collectors, which match their sibling curves.collectionblock: it was collected with SGLang'sbench_servingon/generate, which the gate cannot replay (the same rule as Muse Spark). Its 10 SGLang points are listed as unresolved instead of being gated with GLM-5.2's settings, so the full agentic sweep plans 135 gates instead of 136.Collectors (
benchmarks/single_node/speedbench/), forspeedbench-al.yml:kimik3_fp4_b300_vllm_probabilistic_sample_method.shmodel-prefix=kimik3,collector-variant=probabilistic_sample_methodminimaxm3_fp4_b300_vllm_gqa_block_rejection_sample_method.shmodel-prefix=minimaxm3,collector-variant=gqa_block_rejection_sample_methoddsv4dspark_fp4_b300_vllm_probabilistic_sample_method_block_rejection_sample_method.shmodel-prefix=dsv4dspark, that variantglm5.3_fp4_b300_sglang.shmodel-prefix=glm5.3,framework=sglang, thinking on onlyThe Kimi and MiniMax collectors are thin wrappers: the base collectors now accept extra speculative-config members and (MiniMax) a draft model from the environment, and record them in the YAML header. GLM-5.3 follows the GLM-5.3 SGLang recipe; SGLang's SPEED-Bench loader renders only the chat template's default, so it collects thinking on only. The DSV4-Pro-0813 block-verify curve is collected but not committed here.
Collection fixes, from failed first attempts:
huggingface-hub,transformersandtokenizerswhen installingdatasets; an unpinned install pulledhuggingface-hub2.x, whichtransformers5.x rejects, so no server started.speedbench-al.ymlfails when no cell was measured, instead of uploading an all-N/A curve.indexer_kv_dtype: mxfp4replaceduse_fp4_indexer_cache).Checks on current main (#4661 and #4762 merged): golden AL, srt_slurm, spec identity, AL gate, launch, bench and workflow tests pass; the throughput audit over all 984 agentic spec-decode rows differs from main only in the 11 GLM-5.3 rows; the gate plan differs from main only in the GLM-5.3 gate;
infx.matrix.changedreports 0 config keys.中文
[by Claude Code]
接续 #4661。允许按运行的验证器选择黄金 AL 曲线,新增当前验证器不一致所需曲线的 SPEED-Bench 收集脚本,并提交其中三条曲线。在当前 main 上,984 行 agentic 推测解码配置中有 11 行(两个 GLM-5.3 配置)改选了曲线,其余不变。 #4654 引入的 AL 门禁也按同样方式选择曲线。Kimi-K3(已在 #4762 中退役)、MiniMax-M3 和 DeepSeek-V4-Pro 已没有服务配置,因此它们的新曲线和收集脚本目前不会被任何行选中;按照 MODELS.md 对已退役模型的做法,保留它们用于接受长度研究。
按验证器选择。 曲线的
select块可以指定verify(standard、block、relaxed)。curve_name现在选择最具体的匹配曲线,因此指定了验证器的曲线优先于通用曲线。运行的验证器只读取一次(synthetic_acceptance.verifier),由启动器、审计、lookup --verify和signoff_facts golden-al --verify共用:rejection_sample_method;未设置即standard;配方中的 synthetic 采样器视为block。speculative-use-block-verification。verify的曲线,保持当前曲线。新曲线:
kimi-k3__dspark__kimi-k3-dspark__probabilistic-default(概率采样草稿 + standard 验证,41121033716):目前 0 行(Kimi-K3 已退役,此前修正 33 行);概率采样 + standard 验证的运行选择该曲线而非 block 验证曲线:K=4 为 3.24(block 为 3.36),K=7 均为 3.84。minimax-m3__eagle3__minimax-m3-eagle3-gqa__default-block(GQA 草稿 + block 验证,41121037354):目前没有配置使用 block 验证(原先使用的 GB200 disagg 配置已从 main 移除)。其他 GQA 运行保持默认曲线。glm-5.3-nvfp4__mtp__native__default-default(B300 SGLang,41127067850):替代从 GLM-5.2 复制的临时曲线glm-5.3-fp8,两个 glm5.3 配置共 11 行;K=3 黄金值 2.99 → 2.94。MI355X TileRT 配置仍报告引擎差异。Kimi-K3 standard 验证曲线与 block 验证曲线在每个 K 上相差不超过 0.12,因此验证器不能解释 Kimi-K3 运行实测高于黄金值。
AL 门禁(#4654)。 门禁的规划器和启动检查现在会传入生成角色的验证器,因此每个部署的门禁曲线与其吞吐运行使用的曲线一致。在完整 agentic sweep 上:
collection设置,与同族曲线一致。collection块:它通过 SGLangbench_serving在/generate端点上收集,门禁无法重放(与 Muse Spark 规则相同)。其 10 个 SGLang 点被列为未解析,而不是沿用 GLM-5.2 的设置做门禁,因此完整 agentic sweep 的门禁数从 136 变为 135。收集脚本(
benchmarks/single_node/speedbench/),用于speedbench-al.yml:Kimi-K3 DSpark probabilistic + standard 验证、MiniMax-M3 EAGLE3 GQA + block 验证、DSV4-Pro-0813 DSpark probabilistic + block 验证,以及 GLM-5.3 NVFP4 MTP(SGLang,仅 thinking on)。Kimi 和 MiniMax 为轻量包装脚本:基础收集脚本现可从环境变量接收额外的 speculative-config 字段及(MiniMax)草稿模型,并写入 YAML 头部。DSV4-Pro-0813 block 验证曲线已收集,但未在本 PR 中提交。收集修复(来自首次失败的收集):
datasets时固定镜像中的huggingface-hub、transformers和tokenizers;不加约束会装上huggingface-hub2.x,transformers5.x 不兼容,导致服务无法启动。speedbench-al.yml在没有任何测量值时失败,而不是上传全为 N/A 的曲线。indexer_kv_dtype: mxfp4取代use_fp4_indexer_cache)。检查(基于当前 main,已包含 #4661 与 #4762):golden AL、srt_slurm、spec identity、AL 门禁、launch、bench 和 workflow 测试通过;对全部 984 行 agentic 推测解码配置的吞吐审计与 main 相比仅 11 行 GLM-5.3 不同;门禁规划与 main 相比仅 GLM-5.3 门禁不同;
infx.matrix.changed报告 0 个配置键变化。