Skip to content

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
SemiAnalysisAI:mainfrom
tuanzhangCS:feat/tokenspeed-qwen38next-gb300-agentx
Closed

tuanzhangCS wants to merge 2 commits into
SemiAnalysisAI:mainfrom
tuanzhangCS:feat/tokenspeed-qwen38next-gb300-agentx

Conversation

@tuanzhangCS

@tuanzhangCS tuanzhangCS commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

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 require tokenspeed.runtime.engine.async_llm. The current daily wheel has removed that interface and serves through ts serve with 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

  • Bug fix
  • New feature
  • Configuration change
  • Documentation update
  • Other (please describe)

Checklist

  • I have completed the AI model disclosure and kept it current
  • I have tested my changes locally
  • I have updated documentation if necessary
  • If python -m infx.matrix.changed --base origin/main lists affected config keys, I have appended one new entry covering them to the physical end of inferencex-e2e/perf-changelog.yaml; if it lists none, I have added none. I have not edited historical entries
  • If this PR appends an inferencex-e2e/perf-changelog.yaml entry, it carries exactly one primary sweep label (a maintainer applies it on fork PRs): full-sweep-fail-fast (recommended), full-sweep-enabled, or non-canary-full-sweep-enabled. Optional modifiers all-evals, evals-only, and agentx-fast require a primary label; the last two block reuse while applied.
  • Before merging via reuse, an authorized maintainer (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。改动类型为新增功能、配置变更和文档更新;检查清单已在上方填写。

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

inferencex-e2e/infx diff: +184 -1

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 包的改动有更高的代码质量要求。

@cquil11

cquil11 commented Nov 4, 2026

Copy link
Copy Markdown
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 cquil11 closed this Nov 4, 2026
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants