Skip to content

[TileRT] DeepSeek-V4.1-Flash FP4 GB300 AgentX: vLLM prefill + TileRT DEP32 decode at 4, 8 and 16 sequences per GPU / [TileRT] DeepSeek-V4.1-Flash FP4 GB300 AgentX:vLLM prefill + TileRT DEP32 decode,每卡 4 / 8 / 16 条序列 - #5093

Closed
CrimsonDump wants to merge 13 commits into
SemiAnalysisAI:mainfrom
CrimsonDump:tilert/dsv41flash-gb300-dep-020

Conversation

@CrimsonDump

@CrimsonDump CrimsonDump commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds TileRT wide-EP decode to the GB300 NVL72 AgentX board for DeepSeek-V4.1-Flash FP4. vLLM prefill workers hand the prompt KV over NVLink to one TileRT DEP32 decode (eight trays), at three points: 4, 8 and 16 sequences per decode GPU (concurrency 1200, 2000 and 3200), with four, six and six prefill workers (40, 44 and 44 GPUs). Every role uses the public tilert==0.2.1 aarch64 wheel from PyPI and checks its sha256 (afefcca4…) before using it.

The same sweep also reruns the two existing concurrency-1 points of dsv41flash-fp4-gb300-tilert-agentic-dspark-tp (TP8 and TP24 on tilert 0.1.8, recipes unchanged), so all five GB300 TileRT points publish together as one curve: an AgentX curve takes its points from a single run.

What runs

  • Config key dsv41flash-fp4-gb300-tilert-agentic-dspark-dep, three points: override_4p1d_dep2_dep32_eb4_c1200, override_6p1d_dep2_dep32_eb8_c2000, override_6p1d_dep2_dep32_eb16_c3200. The points differ in sequences per decode GPU (TILERT_EP_BATCH 4 / 8 / 16), the number of prefill workers (four on two trays at 4 per GPU, six on three trays otherwise), the decode's extra CUDA graph sizes (TILERT_WEP_GRAPH_LANES) and the router's --decode-capacity (32 × sequences per GPU).
  • Prefill: the official vllm/vllm-openai:cu134-nightly-a2bcb5657a88… image by digest, unmodified. Two workers per tray, each DP2 + expert parallel on 2 GPUs. TileRT enters only as a KV connector (tilert.pd_vllm.official_connector, with tilert/pd_vllm from the wheel on the path). vLLM's own SimpleCPUOffloadConnector keeps a lazy CPU DRAM KV tier of 64 GiB per DP rank (128 GiB per worker, 256 GiB per tray), within the proportional CPU DRAM rule. No tool-call parser.
  • Prefill FlashInfer autotune results (configs/dsv41flash-tilert-gb300-flashinfer-autotune/): the files vLLM itself wrote for this exact prefill, from a cold start of these prefill flags in the same image on GB300 with the model given by its Hub name, as the sweep gives it. They are kept as written, not renamed or edited, under vLLM's config hash 28b1fd16…, the hash in the previous sweep's prefill logs. The setup script copies them into VLLM_FLASHINFER_AUTOTUNE_CACHE_DIR=/tmp/flashinfer-autotune, so each cold start loads them instead of re-tuning, as a warm deployment does. A cold tune's temporary buffers otherwise leave each prefill GPU a KV cache of about 60 GiB instead of about 88 GiB (the previous sweep had about 60 GiB at all three points), which costs prefix-cache hits at 16 sequences per GPU. vLLM reads the files only under the same config hash, and FlashInfer loads them only when the recorded FlashInfer, CUDA, cuBLAS and cuDNN versions and the GPU match; anywhere else the prefill tunes as before. Only the DEP recipe sets this. If you would rather not ship tuned results, reverting 5124b6ae restores the cold tune.
  • Decode: nvidia/cuda:13.2.0-runtime-ubuntu24.04 by digest; the setup script installs Torch 2.13.0+cu132, the pinned serving stack and the wheel, as for the existing TP entry. Besides the per-point values, the release reads only the simulated-acceptance pair InferenceX sets and the multi-node rendezvous from the environment.
  • Router (tilert-router) has a tray of its own, shared only with the benchmark client. It runs in the prefill image, tokenizes with the release's Rust port of vLLM's DeepSeek-V4.1 encoder, splits reasoning with vLLM's parser (no tool-call parsing), and serves the client port with the release's Rust front. It sends each prefill straight to one of the workers and one of its two DP ranks, keeping a conversation on one of them for its prefix cache.
  • Setup-script additions from [TileRT] DeepSeek-V4.1-Flash FP4 GB300 AgentX: vLLM prefill + TileRT DEP32 decode at 4, 8 and 16 sequences per GPU / [TileRT] DeepSeek-V4.1-Flash FP4 GB300 AgentX:vLLM prefill + TileRT DEP32 decode,每卡 4 / 8 / 16 条序列 #5094 (your commits, merged here): when the cluster's checkpoint cache lacks inference/config.json, the decode places the release's packaged copy; and the Rust front's supervisor runs in a strict mode where a fallback to the Python router fails the run instead of serving it. The router's parser-config shim is dropped again: tilert 0.2.1 already reads the one field the pinned vLLM nightly lacks with a default, so the shim changed nothing there, and the 0.1.8 wheel of the TP points has no such file, so the shim would fail their setup.
  • srt-slurm patches (on the current pin 2d9079c): 903-tilert-router-rust-front.patch adds frontend.args.rust-front; 904-tilert-router-prefill-urls.patch sets TILERT_ROUTER_P_URLS (the --vllm-url list) on the router command, which the router of tilert 0.2.0 and later requires. Earlier tilert releases do not read it, so the existing TP entry is unchanged apart from that variable appearing on its router command.
  • Acceptance is simulated: DSpark with five drafts at the golden simulated acceptance 3.51 (thinking on, high effort); InferenceX sets TILERT_SIMULATE_ACC_LEN / TILERT_SIMULATE_ACC_METHOD from num-mtp, as for the other DSv4.1 DSpark entries. 30-minute warm-up grace.

Ran through srt-slurm once with 0.2.1: run 44104846387, all three DEP points. Since then this PR adds the TP rerun, drops the parser-config shim and ships the prefill autotune results, so the next sweep is the first run of this exact head.

What to check on the first run

  • Router log: P_DIRECT on: 4 P (...) at concurrency 1200 and P_DIRECT on: 6 P (...) at 2000 and 3200, dp_ranks 2, and pd_stream up from the Rust front supervisor (FALLBACK refused means the Rust front did not come up or died, and the run fails by design).
  • Prefill log: one TileRTOfficialConnector 1: role=... line per engine.
  • Prefill log: Using FlashInfer autotune cache file: /tmp/flashinfer-autotune/28b1fd16…/autotune_configs_dp0_rank0.json, no FlashInfer autotune dummy runs after it, and a KV cache of about 88 GiB per GPU rather than about 60 GiB. Otherwise the files were ignored and the prefill tuned cold, as in the previous sweep.
  • Prefill nodes: Engram's CPU offload needs about 250 GiB of free host memory per NUMA node; on our nodes the page cache is dropped before the prefill starts.
Validation details
  • Same configuration, our launcher: all three points on our GB300 NVL72 on 2026-11-16, with the pre-release stack 0.2.1 was packaged from. The run used the AgentX scenario, agentx-harness 1.0.13, 10 warm-up requests per lane and 1 hour of measurement. Output tok/s per decode GPU was 1,903 / 3,131 / 4,926 and P90 end-to-end latency 5.26 / 6.32 / 6.80 s at 4 / 8 / 16 sequences per GPU (chart in the comments). No public run link.
  • Released wheel: on GB300, library checks and a smoke test at 8 sequences per GPU (fresh servers through router, prefill and decode, a 140K-token request and the refusal checks). It was not performance-tested; a 15-minute run of an earlier 0.2.1 release candidate at 16 per GPU had 0.7% lower output throughput per decode GPU and 4.1% higher P90 end-to-end latency than the run above. The release differs from that stack in its client-port front (no tool-call parsing), added startup and request checks, and removed debug, timing and unused code.
  • This recipe: srtctl launch plans for all three points render with patches 573, 900, 903 and 904 on 2d9079c (37 srun steps at concurrency 1200: 4 prefill, 8 decode, router, services; 41 at 2000 and 3200 with 6 prefill), identically before and after merging main. The rendered prefill command matches the flags of our runs. The srt-slurm tests/test_tilert.py and launch-snapshot tests pass with the patches. infx.workflows.validate_perf_changelog and infx.matrix.plan pass; infx.matrix.changed lists 3 added points.
  • Head 5124b6ae: validate_perf_changelog passes and infx.matrix.plan lists five agentic points (the three DEP points and the two TP points) with their five evals; of these, only the three DEP points' recipe fingerprints differ from the previous head. The setup script's seeding step was run on its own for each case (prefill with and without the results, decode, router, no cache directory, an empty results directory). The infx/tests/srt_slurm and infx/tests/matrix results are the same as on the previous head.
AI model disclosure
  • Model/version: claude-opus-5-5 (Claude Code)
  • Role: wrote the recipe, the setup-script change, srt-slurm patches 903 / 904, the master and changelog entries, the 0.2.1 update, the TP rerun entry, the shim removal, the autotune-results seeding and this description. The three points and their numbers come from the team that ran them.
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, a maintainer with write access to the repository 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.
中文

在 GB300 NVL72 的 AgentX 榜上为 DeepSeek-V4.1-Flash FP4 加入 TileRT 宽 EP decode:vLLM prefill worker 通过 NVLink 把 prompt 的 KV 交给一个 TileRT DEP32 decode(八个托盘)。三个点:每张 decode GPU 4、8、16 条序列(并发 1200、2000、3200),prefill worker 分别是四、六、六个(共 40、44、44 张 GPU)。各角色都从 PyPI 装公开的 tilert==0.2.1 aarch64 wheel,先核 sha256(afefcca4…)再用。

同一次 sweep 还重跑 dsv41flash-fp4-gb300-tilert-agentic-dspark-tp 已有的两个并发 1 点(TP8 和 TP24,tilert 0.1.8,recipe 不变),让 GB300 上 TileRT 的五个点一起发布成一条曲线:AgentX 的一条曲线只取一次运行的点。

跑的是什么

  • 配置 dsv41flash-fp4-gb300-tilert-agentic-dspark-dep,三个点:override_4p1d_dep2_dep32_eb4_c1200、override_6p1d_dep2_dep32_eb8_c2000、override_6p1d_dep2_dep32_eb16_c3200。差别在每卡序列数(TILERT_EP_BATCH 4 / 8 / 16)、prefill worker 数(每卡 4 条时四个、占两个托盘,其余六个、占三个托盘)、decode 额外的 CUDA graph 尺寸(TILERT_WEP_GRAPH_LANES)和 router 的 --decode-capacity(32 × 每卡序列数)。
  • prefill:vLLM 官方 cu134-nightly-a2bcb5657a88… 镜像,按 digest 钉住,未做任何修改。每个托盘两个 worker,每个是 DP2 + 专家并行、占 2 张 GPU。TileRT 只以 KV connector 的形式进入(tilert.pd_vllm.official_connector)。vLLM 自带的 SimpleCPUOffloadConnector 提供 lazy 的 CPU 内存 KV 层,每个 DP rank 64 GiB(每个 worker 128 GiB,每个托盘 256 GiB),符合按 GPU 比例的 CPU 内存规则。不开 tool-call 解析。
  • prefill 的 FlashInfer autotune 结果(configs/dsv41flash-tilert-gb300-flashinfer-autotune/):vLLM 自己为这套 prefill 写下的文件,来自同一镜像、同样的 prefill 参数在 GB300 上的一次冷启动,模型按 Hub 名传入,和 sweep 一样。文件原样保留,没有改名或改内容,放在 vLLM 的 config 哈希 28b1fd16… 下,和上一次 sweep 的 prefill 日志里的哈希相同。setup script 把它们拷进 VLLM_FLASHINFER_AUTOTUNE_CACHE_DIR=/tmp/flashinfer-autotune,每次冷启动直接加载,不再重新调,和热部署一样。否则冷调的临时缓冲会让每张 prefill GPU 的 KV 缓存只有约 60 GiB,而不是约 88 GiB(上一次 sweep 三个点都是约 60 GiB),每卡 16 条时会损失前缀缓存命中。vLLM 只在 config 哈希相同时读这些文件,FlashInfer 只在记录的 FlashInfer、CUDA、cuBLAS、cuDNN 版本和 GPU 都一致时加载;其他情况 prefill 照常调。只有 DEP 的 recipe 设了它。如果不希望附带调好的结果,回退 5124b6ae 即恢复冷调。
  • decode:CUDA 13.2 runtime 镜像(按 digest),setup script 安装 Torch 2.13.0+cu132、固定版本的 serving 依赖和 wheel,和已有的 TP 条目一样。除了上面每个点的取值,发布版只从环境变量读 InferenceX 设的模拟接受两项和多节点 rendezvous。
  • router(tilert-router)单独占一个托盘,只和压测端共用。它跑在 prefill 镜像里,用发布版里 vLLM DeepSeek-V4.1 encoder 的 Rust 移植分词,用 vLLM 的 parser 拆 reasoning(不解析 tool call),客户端端口由发布版的 Rust 前端服务。每个 prefill 直接发给某个 worker 及其两个 DP rank 之一,同一个会话固定在同一处以复用前缀缓存。
  • 来自 [TileRT] DeepSeek-V4.1-Flash FP4 GB300 AgentX: vLLM prefill + TileRT DEP32 decode at 4, 8 and 16 sequences per GPU / [TileRT] DeepSeek-V4.1-Flash FP4 GB300 AgentX:vLLM prefill + TileRT DEP32 decode,每卡 4 / 8 / 16 条序列 #5094 的 setup script 改动(维护者的提交,已合进来):集群的 checkpoint 缓存里没有 inference/config.json 时,decode 放入发布版自带的那份;Rust 前端的 supervisor 以严格模式运行,回退到 Python router 时直接让这次运行失败,而不是继续服务。router 的 parser 配置补丁又去掉了:tilert 0.2.1 对固定的 vLLM nightly 缺少的那一个字段本来就取默认值,补丁在那里不起作用;TP 点用的 0.1.8 wheel 里没有那个文件,补丁会让它们的 setup 失败。
  • srt-slurm 补丁(基于当前钉住的 2d9079c):903 加 frontend.args.rust-front;904 在 router 命令上设 TILERT_ROUTER_P_URLS(即 --vllm-url 那串地址),tilert 0.2.0 及之后的 router 必须有它。更早的 tilert 不读这个变量,已有的 TP 条目除了 router 命令上多出这个变量,其他不变。
  • 接受率是模拟的:DSpark 5 个 draft,按 golden 模拟接受 3.51(thinking 开、high effort),由 InferenceX 根据 num-mtp 设置 TILERT_SIMULATE_ACC_LEN / TILERT_SIMULATE_ACC_METHOD,和其他 DSv4.1 DSpark 条目一样。预热宽限 30 分钟。

0.2.1 在 srt-slurm 上跑过一次:run 44104846387,三个 DEP 点。之后本 PR 加了 TP 重跑、去掉了 parser 配置补丁、附带了 prefill 的 autotune 结果,所以下一次 sweep 是这个 head 的第一次运行。

第一次正式跑要看什么

  • router 日志:并发 1200 时 P_DIRECT on: 4 P (...),2000 和 3200 时 P_DIRECT on: 6 P (...);dp_ranks 2;Rust 前端 supervisor 的 pd_stream up。出现 FALLBACK refused 表示 Rust 前端没起来或中途退出,这次运行会按设计失败。
  • prefill 日志:每个 engine 一行 TileRTOfficialConnector 1: role=...。
  • prefill 日志:Using FlashInfer autotune cache file: /tmp/flashinfer-autotune/28b1fd16…/autotune_configs_dp0_rank0.json,之后没有 FlashInfer autotune 的 dummy run,每张 GPU 的 KV 缓存约 88 GiB 而不是约 60 GiB。不是这样就说明文件被忽略、prefill 照旧冷调,和上一次 sweep 一样。
  • prefill 节点:Engram 的 CPU offload 每个 NUMA 节点要约 250 GiB 空闲内存;我们的节点会在 prefill 启动前清 page cache。

验证细节

  • 同一配置、我们的启动方式:三个点 2026-11-16 在我们的 GB300 NVL72 上跑过,用的是 0.2.1 打包前的栈。测试条件:AgentX 场景,agentx-harness 1.0.13,每条 lane 预热 10 个请求,测量 1 小时。每张 decode GPU 的输出 tok/s 是 1,903 / 3,131 / 4,926,P90 端到端延迟 5.26 / 6.32 / 6.80 s(对应每卡 4 / 8 / 16 条序列,图见评论)。没有公开的运行链接。
  • 发布版 wheel:在 GB300 上跑过库检查和每卡 8 条的冒烟(新起的服务经 router、prefill、decode 跑通,一条 140K token 的请求和拒绝用例),没有做性能测试。早一版 0.2.1 候选在每卡 16 条跑过 15 分钟:每张 decode GPU 的输出吞吐比上面那轮低 0.7%,P90 端到端延迟高 4.1%。发布版相对那套栈:客户端端口的前端不解析 tool call,加了启动和请求检查,去掉了调试、计时和用不到的代码。
  • 本 recipe:三个点的 srtctl 启动计划在 2d9079c 上打了补丁 573、900、903、904 后都能渲染(并发 1200 是 37 个 srun 步骤:4 个 prefill、8 个 decode、router 和服务;2000 和 3200 是 41 个,6 个 prefill),合并 main 前后渲染结果相同。渲染出的 prefill 命令和我们实际跑的参数一致。打补丁后 srt-slurm 的 tests/test_tilert.py 和启动快照测试都通过。infx.workflows.validate_perf_changelog 和 infx.matrix.plan 都通过,infx.matrix.changed 列出新增 3 个点。
  • head 5124b6ae:validate_perf_changelog 通过,infx.matrix.plan 列出五个 agentic 点(三个 DEP 点和两个 TP 点)及五个 eval,其中只有三个 DEP 点的 recipe 指纹和上一个 head 不同。setup script 新加的拷贝步骤单独跑过每种情况(prefill 带和不带结果、decode、router、没设缓存目录、结果目录为空)。infx/tests/srt_slurm 和 infx/tests/matrix 的结果和上一个 head 相同。
  • AI 使用说明:claude-opus-5-5(Claude Code)写了 recipe、setup script 改动、补丁 903 / 904、master 和 changelog 条目、0.2.1 的更新、TP 重跑条目、去掉补丁、autotune 结果的拷贝以及本说明。三个点和它们的数字来自跑这些点的团队。

…refill worker in TILERT_ROUTER_P_URLS

903 adds frontend.args.rust-front: the router runs under the release's Rust
front supervisor. 904 sets TILERT_ROUTER_P_URLS (the --vllm-url list) on the
router command; TileRT 0.2.0's router requires it and sends each prefill
straight to one of those workers. Earlier tilert releases do not read it.
… GPU (tilert 0.2.0)

Six vLLM prefill workers (DP2 + EP, official vLLM image by digest, unmodified;
TileRT only as a KV connector, plus vLLM's SimpleCPUOffloadConnector) feed one
TileRT DEP32 decode over NVLink; the router has its own tray. Concurrency 1200,
2000 and 3200. Every role installs tilert 0.2.0 from PyPI and checks its sha256.
DSpark with five drafts at the simulated golden acceptance 3.51.
@github-actions

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 任务通过。临时性失败通常可以通过重新运行恢复;参见重新运行失败任务的说明。

@CrimsonDump
CrimsonDump marked this pull request as ready for review November 16, 2026 05:45
@CrimsonDump
CrimsonDump requested a review from a team November 16, 2026 05:45

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

@CrimsonDump

CrimsonDump commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor Author

Preview while the sweep is pending: where this PR's three points should land on the current GB300 DeepSeek-V4.1-Flash agentic board.

Expected TileRT 0.2.0 points vs. the current GB300 board

conc TILERT_EP_BATCH Total tok/s per GPU (prefill + decode GPUs) P90 interactivity (tok/s/user) P90 E2E-normalized interactivity (tok/s/user)
1200 4 186,782 515 86.7
2000 8 304,790 418 60.5
3200 16 471,186 363 52.5
  • These are our own runs, not InferenceX results: GB300 NVL72, the same layout as this PR (6 vLLM DP2 prefill workers + 1 TileRT DEP32 decode, 44 GPUs), agentx-harness 1.0.13, about 30 minutes of measurement each, started by our own launcher rather than srtctl, on 2026-11-14 with the pre-release stack 0.2.0 was packaged from. An earlier 0.2.0 release candidate (the runs described above) matched these throughputs within 0.3% at all three points but did not record per-request latency, so the interactivity values come from these runs. The released wheel itself was performance-checked at the 8-per-GPU point only.
  • Board points are from the InferenceX API at 2026-11-16 06:37 UTC. y is total (input + output) tok/s divided by all GPUs; every point shown is GB300, so the board's default tokens-per-TCO-dollar axis keeps the same order.
  • The sweep runs on your cluster through srtctl, so expect its numbers to differ.

CrimsonDump added a commit to CrimsonDump/InferenceX that referenced this pull request Nov 16, 2026
@CrimsonDump

CrimsonDump commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor Author

A third view, without the prefill GPUs: output throughput per GPU against P90 interactivity, counted the way the board's output-throughput view does by default (decode GPUs only for P/D configurations, all GPUs for single-node ones, so P/D points read higher per GPU than single-node points).

Expected TileRT 0.2.0 output throughput per decode GPU vs. the current GB300 board

conc TILERT_EP_BATCH Output tok/s per decode GPU (32 decode GPUs) P90 interactivity (tok/s/user)
1200 4 1,876 515
2000 8 3,056 418
3200 16 4,768 363

Same runs and caveats as the comment above. The per-decode-GPU numbers in the PR description (1,880 / 3,057 / 4,755) come from the earlier 0.2.0 release candidate and agree with these within 0.3%.

CrimsonDump added a commit to CrimsonDump/InferenceX that referenced this pull request Nov 16, 2026
CrimsonDump added a commit to CrimsonDump/InferenceX that referenced this pull request Nov 16, 2026
@CrimsonDump

Copy link
Copy Markdown
Contributor Author

And with P90 end-to-end latency on the x-axis (the board's E2E Latency view, lower is better), with the same y as the first chart: total (input + output) tok/s divided by all GPUs, prefill and decode.

Expected TileRT 0.2.0 points vs. the current GB300 board, P90 end-to-end latency

conc TILERT_EP_BATCH P90 end-to-end latency (s) Total tok/s per GPU (prefill + decode GPUs)
1200 4 7.07 186,782
2000 8 8.39 304,790
3200 16 9.41 471,186

The latency is the P90 of aiperf's request_latency over the completed requests of the measurement phase (108,346 / 177,017 / 274,776 requests). Same runs and caveats as the first comment above.

Oseltamivir and others added 7 commits November 16, 2026 18:31
…RT DEP decode; declare the prefill DRAM KV tier; point the changelog at SemiAnalysisAI#5094

The tilert 0.2.0 wide-EP decode reads the model shape from inference/config.json and
falls back to the multimodal top-level config.json, which it rejects; the cluster's
HF cache snapshot lacks that file. The setup script now places the release's packaged
copy (identical to the Hub file at revision 314113f8) when it is missing.

Declare kv-offloading dram / vllm-simple with dram-utilization 0.304762 (4 prefill DP
ranks x 64 GiB per 840 GiB tray), and set the changelog pr-link to this PR.
The router role's setup script writes infx_rs_front_strict, which runs the release's
rs_front_sup with Sup.fallback replaced by a logged exit 1, and patch 903 starts the
supervisor through it. A run whose pd_stream front never comes up or dies mid-run now
fails instead of publishing Python-router numbers under the Rust-front config.
…_spec

tilert 0.2.0's router builds the Rust front's parser spec from
ParserEngineConfig.tool_call_body_array, which the vLLM nightly a2bcb565 image does
not have, so /rs_spec raised AttributeError, pd_stream never came up and the strict
supervisor failed the run (run 43850071147). The router setup now reads those fields
with a False default and fails if the release's rs_spec no longer matches.
…4 per GPU

- Router / tilert version 0.2.1 in the master entry; the setup script has a
  TODO for the 0.2.1 wheel sha256 (filled in once the wheel is published).
- The point at 4 sequences per decode GPU (concurrency 1200) runs four DEP2
  prefill workers on two trays (40 GPUs with the DEP32 decode); 8 and 16 per
  GPU keep six (44 GPUs). The override and the search-space entry are renamed
  to 4p1d to match.
- perf-changelog entry updated to match.
# Conflicts:
#	inferencex-e2e/configs/nvidia-master.yaml
…he rs_spec shim skips a field 0.2.1 already reads with a default

0.2.1 is on PyPI (tilert-0.2.1-cp312-cp312-manylinux_2_34_aarch64.whl, sha256
afefcca46370eb98fddbebd5b12d8fa538dda074a2c4afdb7cbd7c2e9dfd443c). Its rs_spec reads
tool_call_body_array through getattr already, so the shim from 835c648 would stop
the setup on that field; it now patches tool_args_json and skip_in_token_id_mode and
leaves a field already read with the default as it is.
perf-changelog.yaml: upstream appended entries; the TileRT entry stays at the physical end.
@CrimsonDump

Copy link
Copy Markdown
Contributor Author

This PR now pins tilert 0.2.1 (on PyPI since 2026-11-17 13:02 UTC), and the conc 1200 point uses four prefill workers (40 GPUs) instead of six. The branch also carries your commits from #5094 and is merged with main, so the replica can fast-forward to 852f82a.

Updated preview, with P90 end-to-end latency on the x-axis (the board's E2E Latency view, lower is better) and total (input + output) tok/s divided by all GPUs, prefill and decode, on the y-axis. It replaces the 0.2.0 previews above.

Expected TileRT 0.2.1 points vs. the current GB300 board, P90 end-to-end latency

conc TILERT_EP_BATCH Prefill workers (all GPUs) P90 end-to-end latency (s) Total tok/s per GPU (prefill + decode GPUs)
1200 4 4 (40) 5.26 222,550
2000 8 6 (44) 6.32 332,422
3200 16 6 (44) 6.80 521,173
  • The latency is the P90 of aiperf's request_latency over the completed requests of the measurement phase (212,170 / 349,471 / 549,725 requests).
  • These are our own runs, not InferenceX results: GB300 NVL72, the same layout as this PR, agentx-harness 1.0.13, 1-hour measurement windows, started by our own launcher rather than srtctl, on 2026-11-16 with the pre-release stack 0.2.1 was packaged from. The released 0.2.1 wheel was smoke-tested on GB300 but not performance-tested; a 15-minute run of an earlier 0.2.1 release candidate at 16 per GPU had 0.7% lower output throughput per decode GPU and 4.1% higher P90 end-to-end latency than the matching run here.
  • Board points are from the InferenceX API at 2026-11-17 13:30 UTC.
  • The sweep runs on your cluster through srtctl, so expect its numbers to differ.

…s; drop the rs_spec shim

An AgentX curve publishes the points of a single run, so the DEP-only sweep would
replace the published concurrency-1 TP8 / TP24 points instead of extending the
curve. List dsv41flash-fp4-gb300-tilert-agentic-dspark-tp in the same changelog
entry so the sweep reruns those two points, recipes unchanged, next to the three
DEP points.

Drop the rs_spec shim: tilert 0.2.1 already reads tool_call_body_array with a
default, and the two fields it still rewrote exist in the pinned vLLM nightly,
so it no longer changed behaviour; tilert 0.1.8 ships no rs_spec.py, so the shim
failed the router setup of the TP points. Drop the unused 0.2.0 sha256 pin.
…s for the prefill

A cold FlashInfer autotune raises the prefill's warm-up memory peak, so its
KV cache ends at about 60 GiB per GPU instead of about 88 GiB when tuned
results are loaded. Ship the results vLLM itself saved for this exact
prefill (same image, same flags, GB300), in vLLM's own layout under its
config hash, and have the setup script copy them into
VLLM_FLASHINFER_AUTOTUNE_CACHE_DIR so a cold start loads them instead of
re-tuning.

vLLM reads them only under the same config hash and FlashInfer only with
the same library versions and GPU; anywhere else the prefill tunes as
before. Only the DEP recipe sets AUTOTUNE_CACHE_SEED; the TP recipe and
its points are unchanged.
@CrimsonDump

Copy link
Copy Markdown
Contributor Author

Superseded by #5094 (merged).

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