Repository navigation
feat(config): add TokenSpeed Qwen3.8-Flash-Next NVFP4 TP1 AgentX / feat(config): 新增 TokenSpeed Qwen3.8-Flash-Next NVFP4 TP1 AgentX 配置 - #4691
Closed
tuanzhangCS wants to merge 2 commits into
Conversation
Signed-off-by: tuanzhangCS <[email protected]>
Signed-off-by: tuanzhangCS <[email protected]>
cquil11
marked this pull request as ready for review
November 4, 2026 17:29
cquil11
requested review from
Ankur-singh,
RohitNagraj,
kedarpotdar-nv,
nvpohanh and
wzhao18
as code owners
November 4, 2026 17:29
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 包的改动有更高的代码质量要求。 |
6 of 9 tasks
Collaborator
|
Superseded by #4780 under my account so we can maintain the integration branch. Tuan Zhang (@tuanzhangCS) remains credited as the original author, and both original commits retain his authorship. The replacement includes the current NVIDIA/srt-slurm#640 patch. |
cquil11
added a commit
that referenced
this pull request
Nov 5, 2026
Add the GB300 TokenSpeed AgentX configuration with published runtime wheels, native MTP, and host KV offload. Reopened from #4691, originally authored by @tuanzhangCS. Co-authored-by: tuanzhangCS <[email protected]>
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 a GB300 AgentX configuration for Qwen3.8-Flash-Next NVFP4 on TokenSpeed: one serving GPU, TP1/EP1, native MTP, 224 GB Host L2 with DRAM offload, and concurrency 1, 2, 4, 8, 16, 32, 48, and 64. Keep 256K context, BF16 KV/SSM state, 16K prefill chunks, 96 request/graph capacity, in-forward state checkpoints, and Host L2 write-back.
Pin the latest published TokenSpeed daily wheel,
0.1.1.post20261101, and the matching CUDA 13 ARM64 kernel wheel by SHA256; pin the runner image and checkpoint revision as well. Add native TokenSpeed topology checks and automatic golden MTP acceptance selection. Throughput uses the required greedy sampler; eval-only runs use FlashInfer sampling with real verification. Install the published wheels without source patches.Draft blocker: the pinned srt-slurm TokenSpeed backend still launches
smg_grpc_servicer.tokenspeed, whose imports requiretokenspeed.runtime.engine.async_llm. The current daily wheel has removed that interface and serves throughts servewith SMG's ZMQ path. srt-slurm must support that entrypoint and discover the engine's separate HTTP metrics listener before this recipe can run a sweep. Keep this PR in draft for that integration.The upstream adaptation is proposed in NVIDIA/srt-slurm#640. This benchmark PR still needs to consume that change and pass GPU/Slurm validation.
AI model disclosure
GPT-6 (runtime-provided model family; the exact model/version could not be verified). Role: configuration preparation, implementation, review, and local validation. No delegated agents contributed.
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.中文
新增 Qwen3.8-Flash-Next NVFP4 的 TokenSpeed GB300 AgentX 配置:单张服务 GPU、TP1/EP1、原生 MTP、224 GB Host L2 DRAM 卸载,以及并发 1、2、4、8、16、32、48、64。固定 256K context、BF16 KV/SSM state、16K prefill chunk、96 个请求及 CUDA graph 容量、in-forward state checkpoint 和 Host L2 write-back。
使用当前最新发布的 TokenSpeed daily wheel
0.1.1.post20261101和同版本日期的 CUDA 13 ARM64 kernel wheel,并固定 SHA256、runner 镜像 digest 和 checkpoint revision。补充 TokenSpeed 原生并行配置校验和自动 golden MTP acceptance 选择;吞吐测试使用要求的 greedy sampler,仅评测运行使用 FlashInfer sampling 和真实验证。安装公开发布的 wheel,不修改运行时源码。**Draft 阻塞项:**当前固定的 srt-slurm 仍调用
smg_grpc_servicer.tokenspeed,它依赖最新 daily 已移除的tokenspeed.runtime.engine.async_llm。需要适配当前ts serve/ SMG ZMQ 入口及独立 HTTP engine metrics 监听端口后,才能运行扫描,因此保持 draft。上游适配已提交至 NVIDIA/srt-slurm#640。本 benchmark PR 尚未引用该改动,仍需接入并完成 GPU/Slurm 验证。
运行环境标识为 GPT-6 系列,准确模型及版本无法核实;工作内容为配置准备、实现、审查和本地验证,未使用委派 agent。改动类型为新增功能、配置变更和文档更新;检查清单已在上方填写。