Repository navigation
perf(qwen3.5): update GB300 TRT AgentX to TRT-LLM 1.4.0rc3 with ten new points / perf(qwen3.5):GB300 TRT AgentX 升级至 TRT-LLM 1.4.0rc3 并更新为十个新配置点 - #4747
Conversation
… ten-point search space Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Thanks for the contribution!
中文感谢你的贡献!
|
…y only Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
I reviewed this PR and didn't find any bugs. It's still worth having a human look, because it largely rewrites the GB300 Qwen3.5 TRT AgentX recipe for a new TRT-LLM 1.4.0rc3 image, and the description says no sweep has run on this revision yet.
What was reviewed:
- All ten
srt-recipenames in nvidia-master.yaml match an override in disagg-variants.yaml. The prefill/decode tp/ep/worker counts in each master row agree with that override'sworkers/gpus/nodes/tensor_parallel_size/moe_expert_parallel_size, given 4 GPUs per node. - The image and the
kv-offload-backendversion were bumped together on every row. The new perf-changelog block sits at the tail and leaves the earlier entries untouched. Itspull/XXXlink follows a placeholder already used elsewhere in the file. - No forced acceptance length is hard-coded, and the recipe sets no image, model, or benchmark command.
Extended reasoning...
The change touches one NVIDIA master-config entry, its multi-node srt-slurm recipe, and perf-changelog.yaml. It has no security-sensitive surface. The recipe gets many new engine env vars and tuning settings, a new search space, and NUMA binding, and none of this has been validated by a sweep. CODEOWNERS assigns both nvidia-master.yaml and the gb300 recipe tree to specific NVIDIA owners. Those two facts are why this review defers to a human instead of approving.
This review covers commit 9120290, which is no longer the latest commit on this pull request; later commits are not covered by it.
…fig fields TensorRT-LLM 1.4.0rc3 (NVIDIA/TensorRT-LLM#20815) reads none of the feature-branch TRTLLM_* switches this recipe set. Its Qwen3.5 paths are on by default, derived from existing config, or explicit LLM-API fields. - Prefill: shortest-uncached-first context scheduling, breakable prefill CUDA graphs on the same buckets without torch.compile, and branch snapshots under block_reuse_config. DEP prefill keeps piecewise graphs and ages context requests after 30 scheduler iterations (about 8 s at its measured 3.8 iterations/s). - Decode: a replicated embedding table. TEP decode drafts with the MXFP8 MTP LM head and keeps the GEN KV-transfer window with an explicit max_tokens_in_buffer; 3P1D also sends the MNNVL all-reduce payload in E4M3. - Drop the switches rc3 does not read: TRTLLM_Q35_*, SRPT, PREFILL_BCG, in-forward snapshot, disaggregated-GEN, spec-sampler, overlap-loop, MNNVL FP8 and cuBLAS FP8 tables. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Check 13 requires the draft to run as the checkpoint ships it. The Qwen3.5-397B-A17B-NVFP4-V2 LM head is BF16, and draft_lm_head_dtype: mxfp8 sampled the MTP drafts from an MXFP8 copy of it; TEP decode now drafts from the BF16 head, the rc3 default. The c720 override no longer needs to remove the field. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rt-agentx-1.4.0rc3 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rt-agentx-1.4.0rc3 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@kedarpotdar-nv staged run 41734817109. This run remains available across future |
|
As a PR reviewer and CODEOWNER, I have reviewed this and have: Checklist items
Additional detail section:
Signed: |
✅✅✅ Verdict: PASS ✅✅✅Passed and not applicable checks✅ Check 0 (CODEOWNER): PASS — ✅ Check 1 (Sweep on in-PR commit): PASS — Pinned head ✅ Check 2 (Evals): PASS — The run's ➖ Check 3 (Upstream recipe): N/A — The only affected config is ✅ Check 4 (Reuse command): PASS — COLLABORATOR ✅ Check 5 (Latest template): PASS — The sign-off has every item of the current ✅ Check 6 (Upstream image / ordering / provenance): PASS — The only framework is ✅ Check 7 (Deprecated models): PASS — ✅ Check 8 (Architecture hacks): PASS — (a) There are no ✅ Check 9 (Chat template): PASS — The agentic aiperf command (job log, c392) passes no ✅ Check 10 (Engine patches): PASS — The pinned recipe and master entry contain no patch, setup script, source edit or forked engine wheel. The only install is the existing published Dynamo ✅ Check 11 (Golden AL): PASS — ➖ Check 12 (Append-only): N/A — The new changelog entry does not set ✅ Check 13 (Draft precision): PASS — ✅ Check 14 (Pareto coverage): PASS — The curve qwen3.5 / agentic-coding / gb300_dynamo-trt / fp4 / P90 E2EL from run 41734817109 has 9/10 points on the frontier ( ✅ Check 15 (PR description): PASS — The topology/batch/concurrency table, image and Dynamo version, prefill and decode engine options, routing and NUMA settings all match the recipe and master config at ➖ Check 16 (NVIDIA overview): N/A — No vLLM or SGLang pair is affected; the only framework is ✅ Check 17 (Metrics publication): PASS — Dynamo wheel ✅ Check 18 (Recipe/image/sweep consistency): PASS — (a) Every Assessed commit: |
…on main Update the InferenceX qwen3.5-fp4-gb300-dynamo-trt-agentic-disagg entry to the current submission (SemiAnalysisAI/InferenceX#4747). The 1.3.0rc24 feature branch of the previous submission merged via NVIDIA#20815, so the entry is now mainline: commit 0fd58c9 of main, container release:1.4.0rc3 .dev202611020007, and the nine points of the new search space. - source.yaml: status mainline, new commit/container/digests, recipe commit a9fc88e5b0 of SemiAnalysisAI/InferenceX, log patterns from the main code paths (native KV-offload host tier, decode CUDA graph capture, breakable and piecewise prefill graphs), upstream features all mainline. - configs/: regenerate the nine points. The recipe's schema-2 nulls mean "clear the base setting"; export_srt_recipe.py now prunes cleared settings so each per-point YAML loads as a standalone argument file, and falls back to the recipe base for the summary topology fields. - README.md: points table, name encoding (b/mnt/mtp6), Check Your Run patterns, upstream status, known differences. Signed-off-by: Jonas Li <[email protected]>
Update
qwen3.5-fp4-gb300-dynamo-trt-agentic-disaggtonvcr.io/nvidia/tensorrt-llm/release:1.4.0rc3.dev202611020007(image and native KV-offload backend) and replace its search space with ten new points. Dynamo stays on the1.6.0.dev20261010wheel.All points use MTP decode (draft length 6) with 128 GiB/rank native host KV offload. The 3P1D c352 and c392 points differ only in concurrency, so they share one override.
1.4.0rc3 engine options. The Qwen3.5 GB300 paths from NVIDIA/TensorRT-LLM#20815 are on by default or selected by LLM-API fields, which the recipe sets:
scheduler_config.context_scheduling_policy: shortest_uncached_first, breakable prefill CUDA graphs (prefill_cuda_graph_backend: breakable) to 16384 tokens without torch.compile, and Mamba branch snapshots underkv_cache_config.block_reuse_config. DEP prefill uses piecewise CUDA graphs to 8192 tokens and setscontext_starvation_iterations: 30(about 8 s at its measured 3.8 scheduler iterations/s); an aged request takes up to a quarter ofmax_num_tokens(2048) per iteration.replicate_embedding: true. TEP decode adds an explicitcache_transceiver_config.max_tokens_in_buffer(262144, or 4194304 on 2P1D and 3P1D), which keeps the GEN transfer window that a defaulted budget bypasses. 3P1D decode addsmnnvl_allreduce_fp8_payload: true(lossy E4M3 payload).These fields need TensorRT-LLM 1.4.0rc3 or later.
Other recipe settings:
OMP_NUM_THREADS=1, UCX polling and MPI UCX transports on both roles.max_draft_len1,max_num_tokens16384 and TWOSHOT allreduce; DEP prefill keepsmax_num_tokens8192. TEP decode uses the TRTLLM MoE backend with MoE TP2.numactlon the GPU's NUMA node (numa_cpu_bind+numa_memory_bind: preferred) withTLLM_NUMA_AWARE_WORKER_AFFINITY=1; the frontend sends token IDs as bytes and sits on the first decode node; prefill routes by KV with 14400 s session affinity, decode by least-loaded.AI model disclosure
Prepared with Claude Opus 5.5 (
claude-opus-5-5) in Claude Code: recipe, master config, perf-changelog, the 1.4.0rc3 engine fields (checked against the TensorRT-LLM source at the image's commit0fd58c90), local validation and this description. No delegated agents were used.中文
将
qwen3.5-fp4-gb300-dynamo-trt-agentic-disagg的镜像及原生 KV 卸载后端更新为nvcr.io/nvidia/tensorrt-llm/release:1.4.0rc3.dev202611020007,并将搜索空间替换为十个新配置点。Dynamo 仍使用1.6.0.dev20261010wheel。配置点:1P1D TEP4/TEP16 并发 8(b1)与 16(b4)、1P1D TEP4/TEP8 并发 28(b6)、1P2D TEP4/TEP8 并发 128(b16)、2P1D TEP2/TEP8 并发 224(b64)、2P2D TEP2/TEP8 并发 176(b32)、2P2D TEP4/TEP8 并发 264(b32)、3P1D TEP2/TEP8 并发 352 与 392(b128)、3P2D DEP4/DEP4 并发 720(b36)。所有点的 decode 使用 MTP(draft 长度 6),每个 rank 使用 128 GiB 原生主机 KV 卸载。
1.4.0rc3 引擎选项。 NVIDIA/TensorRT-LLM#20815 中的 Qwen3.5 GB300 路径默认开启或由 LLM-API 字段选择,配方设置了这些字段:
scheduler_config.context_scheduling_policy: shortest_uncached_first;使用至 16384 token 的 breakable prefill CUDA graph(prefill_cuda_graph_backend: breakable),不启用 torch.compile;Mamba 分支快照设置在kv_cache_config.block_reuse_config下。DEP prefill 使用至 8192 token 的 piecewise CUDA graph,并设置context_starvation_iterations: 30(按实测每秒 3.8 次调度迭代,约 8 秒);等待过久的请求每次迭代最多占用max_num_tokens的四分之一(2048)。replicate_embedding: true。TEP decode 显式设置cache_transceiver_config.max_tokens_in_buffer(262144;2P1D 与 3P1D 为 4194304),以保留预算为默认值时会被绕过的 GEN 传输窗口。3P1D decode 增加mnnvl_allreduce_fp8_payload: true(有损的 E4M3 负载)。这些字段需要 TensorRT-LLM 1.4.0rc3 或更高版本。
其他配方设置:两个角色均设置
OMP_NUM_THREADS=1、UCX 轮询和 MPI UCX 传输;TEP prefill 使用max_draft_len为 1 的 MTP、max_num_tokens16384 和 TWOSHOT allreduce,DEP prefill 保持max_num_tokens8192;TEP decode 使用 TRTLLM MoE 后端与 MoE TP2。worker 在 GPU 所在 NUMA 节点上通过numactl启动并设置TLLM_NUMA_AWARE_WORKER_AFFINITY=1;frontend 以字节形式发送 token ID 并位于第一个 decode 节点;prefill 按 KV 路由并保持 14400 秒会话亲和,decode 按最小负载路由。配方不硬编码强制接受长度,由 driver 在 decode 上绑定 golden 值(3.8)。🤖 Generated with Claude Code