Repository navigation
feat: add initial TokenSpeed engine support / feat: 添加 TokenSpeed 引擎初始支持 - #4781
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 包的改动有更高的代码质量要求。 |
This was referenced Nov 4, 2026
cquil11
force-pushed
the
feat/tokenspeed-engine-support
branch
from
November 4, 2026 18:47
80627a9 to
0239509
Compare
Extract the shared TokenSpeed launcher, topology validation, MTP acceptance handling, setup script, documentation, and tests from #4780. Signed-off-by: tuanzhangCS <[email protected]>
cquil11
force-pushed
the
feat/tokenspeed-engine-support
branch
from
November 4, 2026 19:45
a201d5c to
cfb1e18
Compare
tuanzhangCS
approved these changes
Nov 5, 2026
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.
Add initial TokenSpeed engine support to InferenceX's single-node SRT launcher. Validate native attention TP, data parallelism, expert parallelism, and pipeline settings against the benchmark matrix; bind eval context limits and the SMG setup dependency; and select golden MTP acceptance with greedy sampling for AgentX throughput while retaining real verification for evals.
Include the reusable nightly-wheel setup script and use srt-slurm v2.66.2 from merged #4784. The release includes merged NVIDIA/srt-slurm#640, enabling native headless TokenSpeed workers through SMG's ZMQ transport, healthy worker registration checks, gateway model-path resolution, and separate HTTP metrics listeners. No downstream TokenSpeed patch is needed.
This is the support layer for #4780, which adds the Qwen3.8-Flash-Next GB300 benchmark configuration. No benchmark configurations are added in this base PR. Original TokenSpeed support by Tuan Zhang (@tuanzhangCS), extracted from #4691 with his commit authorship retained.
Frontend companion: InferenceX-app#1655 adds the TokenSpeed engine label, family classification, and UI/API filters.
Register TokenSpeed with the fixed-sequence/eval client and AgentX result processing, including verified device KV occupancy and real acceptance counters. Unknown cache-hit and host-cache measurements remain missing. Resolve private nightly wheels through direct URLs and registry dependencies through PyPI only. The parallelism explanation and worked example are in the separate documentation PR #4788.
中文
为 InferenceX 单节点 SRT 启动器添加 TokenSpeed 引擎初始支持。根据基准测试矩阵校验原生 attention TP、数据并行、专家并行和流水线配置,绑定评估上下文限制与 SMG 安装依赖,并为 AgentX 吞吐量测试自动选择 golden MTP 接受长度和 greedy 采样,评估继续执行真实验证。
提供可复用的 nightly wheel 安装脚本,并使用已合并的 #4784 引入的 srt-slurm v2.66.2。该版本包含 NVIDIA/srt-slurm#640,支持通过 SMG ZMQ transport 启动原生 headless TokenSpeed worker、检查健康 worker 注册、解析 gateway model path,以及使用独立 HTTP metrics listener。
本 PR 为 #4780 的 Qwen3.8-Flash-Next GB300 配置提供引擎支持。原始实现由 Tuan Zhang (@tuanzhangCS) 编写,从 #4691 提取并保留原始提交作者信息。配套的 InferenceX-app#1655 添加 TokenSpeed 引擎标签、分类和 UI/API 筛选。
在 fixed-sequence、评估客户端和 AgentX 结果处理中注册 TokenSpeed,读取可验证的设备 KV 占用和真实接受计数;未知的 cache-hit 与 host-cache 测量保持缺失。私有 nightly wheel 使用直接 URL,registry 依赖仅从 PyPI 安装。并行配置说明和示例位于独立文档 PR #4788。
AI model disclosure
Codex resolved merge conflicts and validated the updated branches. The exact model identifier could not be verified from the runtime.