Skip to content

feat(config): add TokenSpeed Qwen3.8-Flash-Next NVFP4 TP1 AgentX - #4780

Merged
cquil11 merged 31 commits into
mainfrom
fix/pr4691-srt-slurm-patch
Nov 5, 2026
Merged

cquil11 merged 31 commits into
mainfrom
fix/pr4691-srt-slurm-patch

Conversation

@cquil11

@cquil11 cquil11 commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Reopened from #4691, originally authored by @tuanzhangCS, under @cquil11 with original commit authorship preserved. Engine support landed separately in #4781.

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 November 2 TokenSpeed nightly wheel, 0.1.1.post20261102, CUDA 13 ARM64/Python 3.12 kernel 0.1.4.post20261102, and engine 0.1.0.post20261102 wheels by SHA256; pin the runner image and checkpoint revision as well. Use the 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. The Python runtime, kernel, and Rust engine share upstream revision 0e6ee353d7bdc7afeb1c5795d839533eab7ecb9a, with scheduler 0.1.49 from the same revision. The recipe exports NVIDIA runtime settings before Enroot creates the containers and uses the engine's model-owned cache geometry. Install the matching published FlashInfer 0.7.2.post1 CUDA 13 kernel caches to avoid rebuilding available precompiled modules during startup.

Uses the merged #4781: initial TokenSpeed engine support and released srt-slurm v2.66.2 from #4784 for headless ZMQ workers and HTTP metrics discovery. This PR adds the GB300 recipe, master configuration, recipe documentation, and performance changelog entry. It also adds TokenSpeed to the speculative-decoding identity audit introduced on main, recording explicit topology and precision while leaving unverified properties unknown. The acceptance gate runs on the real-verification eval server through the current shared launcher. The shared evaluation installer resolves the pinned lm-eval revision with its supported API and Hugging Face dependencies, and reads nested text-model context limits before setting the evaluation token budget.

PR checklist and change type

Type of Change

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

Checklist

  • 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.

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Thanks for the contribution!

  • Review: If this PR changes files owned by someone other than a repository admin or @SemiAnalysisAI/core, ask one eligible CODEOWNER to complete the latest PR_REVIEW_CHECKLIST.md before contacting a core maintainer on Slack. Follow the template exactly, including As a PR reviewer and CODEOWNER, I have reviewed this and have, so sign-off verification triggers.
  • PR verification: Sweeps run only when the PR appends an inferencex-e2e/perf-changelog.yaml entry and carries exactly one primary label: full-sweep-fail-fast (strongly recommended; canary plus per-matrix fail-fast), full-sweep-enabled (canary; matrix jobs continue after a failure), or non-canary-full-sweep-enabled (no canary or fail-fast). The modifiers all-evals, evals-only, and agentx-fast require a primary label. On fork PRs, a maintainer applies the label. See sweep labels and reuse.
  • After merging: PR authors must ensure all GitHub Actions jobs pass. Transient failures often pass on rerun; see how to rerun failed jobs.
中文

感谢你的贡献!

  • **审阅:**如果 PR 修改的文件归属于仓库管理员及 @SemiAnalysisAI/core 之外的 CODEOWNER,请先联系一位有资格的 CODEOWNER 填写最新的 PR_REVIEW_CHECKLIST.md,再通过 Slack 联系核心维护者。必须严格遵循模板,并保留 As a PR reviewer and CODEOWNER, I have reviewed this and have,才能触发签核验证。
  • **PR 验证:**只有当 PR 在 inferencex-e2e/perf-changelog.yaml 末尾追加了条目,并且恰好带有一个主标签时,才会运行扫描:full-sweep-fail-fast(强烈推荐;canary 加逐矩阵 fail-fast)、full-sweep-enabled(有 canary;矩阵任务在失败后继续运行)或 non-canary-full-sweep-enabled(无 canary,也无 fail-fast)。修饰标签 all-evals、evals-only 和 agentx-fast 必须与主标签一起使用。fork PR 的标签由维护者添加。参见扫描标签与复用。
  • **合并后:**PR 作者必须确保所有 GitHub Actions 任务通过。临时性失败通常可以通过重新运行恢复;参见重新运行失败任务的说明。

@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.

Findings marked 🟡 are optional suggestions and need no follow-up push.

Comment thread inferencex-e2e/perf-changelog.yaml Resolved
tuanzhangCS and others added 3 commits November 4, 2026 12:02
Extract the shared TokenSpeed launcher, topology validation, MTP acceptance handling, setup script, documentation, and tests from #4780.

Signed-off-by: tuanzhangCS <[email protected]>
cquil11 and others added 2 commits November 4, 2026 12:46
Extract the shared TokenSpeed launcher, topology validation, MTP acceptance handling, setup script, documentation, and tests from #4780.

Signed-off-by: tuanzhangCS <[email protected]>
@cquil11
cquil11 removed this pull request from stack #4782 November 4, 2026 18:48
@cquil11
cquil11 added this pull request to stack #4785 November 4, 2026 18:48
@tuanzhangCS tuanzhangCS changed the title feat(config): add TokenSpeed Qwen3.8-Flash-Next NVFP4 TP1 AgentX feat(config): add TokenSpeed Qwen3.8-Flash-Next NVFP4 TP1 AgentX / feat(config): 添加 TokenSpeed Qwen3.8-Flash-Next NVFP4 TP1 AgentX 配置 Nov 5, 2026
Base automatically changed from feat/tokenspeed-engine-support to main November 5, 2026 07:40
cquil11 added a commit that referenced this pull request Nov 5, 2026
…始支持 (#4781)

* feat: add initial TokenSpeed engine support

Extract the shared TokenSpeed launcher, topology validation, MTP acceptance handling, setup script, documentation, and tests from #4780.

Signed-off-by: tuanzhangCS <[email protected]>

* fix(tokenspeed): complete client and metrics integration

* docs: move parallelism explanation to a separate PR

---------

Signed-off-by: tuanzhangCS <[email protected]>
Co-authored-by: tuanzhangCS <[email protected]>
Co-authored-by: Tuan Zhang <[email protected]>
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

inferencex-e2e/infx diff: +94 -25

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

Merge current main, adopt the documented recipe layout, and support TokenSpeed in speculative identity audits.
@cquil11 cquil11 changed the title feat(config): add TokenSpeed Qwen3.8-Flash-Next NVFP4 TP1 AgentX / feat(config): 添加 TokenSpeed Qwen3.8-Flash-Next NVFP4 TP1 AgentX 配置 feat(config): add TokenSpeed Qwen3.8-Flash-Next NVFP4 TP1 AgentX Nov 5, 2026
@cquil11 cquil11 added the non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim) label Nov 5, 2026
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

@cquil11

cquil11 commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator Author

/use 42070390280

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

@cquil11 staged run 42070390280.

This run remains available across future /stage-results requests. Staging the same run ID again updates its staged data. Staging workflow

@cquil11

cquil11 commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator Author

/stage-results 42070390280

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

@cquil11 staged run 42070390280.

This run remains available across future /stage-results requests. Staging the same run ID again updates its staged data. Staging workflow

@cquil11

cquil11 commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator Author

/reuse-sweep-run 42070390280

@cquil11
cquil11 merged commit fac28e8 into main Nov 5, 2026
27 checks passed
@cquil11
cquil11 deleted the fix/pr4691-srt-slurm-patch branch November 5, 2026 21:27
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Ingest report — ✅ Results ingested into the production database.

Ingest workflow · Merge Ingest run · Benchmark source run

Category new duplicate skipped unmapped failed
benchmark 8 0 0 0 0
eval 1 1 1 0 0
trace 8 0 0 0 0
power 8 0 0 0 0

benchmarkFiles 8, rawBenchmarkRows 8, coveredByPerJobFiles 0, purgedPoints 0, failedRunRows 0, runStatsNew 0, runStatsDuplicate 0, evalSamplesNew 1319, gpuMetricSamplesNew 47825, powerPublicationPoints 8, 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 报告 — ✅ 结果已写入 production 数据库。

上表仅统计本次运行写入的数据,各行单位依次为 benchmark_results 行、eval_results 行、已关联 trace 的 agentic 行和 gpu_metrics 序列。重新运行 ingest 时本评论会原地更新。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

non-canary-full-sweep-enabled Run the full sweep without the canary gate (full search space, no trim)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants