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 并更新为十个新配置点 - #4834
Conversation
… ten-point search space Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…y only Co-Authored-By: Claude Opus 5.5 <[email protected]>
…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]>
…ew points Co-Authored-By: Claude Opus 5.5 <[email protected]>
f8f7609 to
102e60b
Compare
…rt-agentx-1.4.0rc3-no-fp8-ar # Conflicts: # inferencex-e2e/perf-changelog.yaml
…rt-agentx-1.4.0rc3-no-fp8-ar Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rt-agentx-1.4.0rc3-no-fp8-ar Co-Authored-By: Claude Opus 5.5 <[email protected]>
Run the 1P2D TEP4/TEP8 point at conc 115 instead of 128 and the 2P2D TEP2/TEP8 point at conc 158 instead of 176, and rename their overrides to match. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rt-agentx-1.4.0rc3-no-fp8-ar # Conflicts: # inferencex-e2e/perf-changelog.yaml
Power telemetry now samples DCGM every 1000 ms (#4974), so run the 1P2D and 2P2D points at their original concurrency again. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
/use 42930392197 |
|
As a PR reviewer and CODEOWNER, I have reviewed this and have: Checklist items
Additional detail section:
Signed: |
|
@Ankur-singh staged run 42930392197. This run remains available across future |
✅✅✅ Verdict: PASS ✅✅✅Passed and not applicable checks✅ Check 0 (CODEOWNER): PASS — ✅ Check 1 (In-PR sweep + evals): PASS — Pinned head ✅ Check 2 (Evals accuracy): PASS — Eight GSM8K rows (n=1319) score em_strict 0.975-0.979 on ➖ Check 3 (Upstream recipe): N/A — The only affected config is ✅ Check 4 (Reuse command): PASS — ✅ Check 5 (Checklist template): PASS — All 20 current-template items are present and checked. ✅ Check 6 (Upstream images / ordering / provenance): PASS — (a) N/A for TRT-LLM. (b) The vendor framework follows the existing ✅ Check 7 (Deprecated models): PASS — ✅ Check 8 (Architecture hacks): PASS — (a) No architecture or FLOP-reducing overrides. (b) The FP8 KV cache and ✅ Check 9 (Chat template): PASS — The AgentX harness replays chat-format traces through the Dynamo frontend's chat endpoint, and this PR does not change it. ✅ Check 10 (Engine patches): PASS — The diff touches only the recipe, master config and changelog. The recipe has no setup script, patch, source overlay or wheel override reaching the container. ✅ Check 11 (Golden AL): PASS — The golden curve ➖ Check 12 (Append-only): N/A — No ✅ Check 13 (Draft precision): PASS — The ✅ Check 14 (Pareto coverage): PASS — Curve qwen3.5 / agentic-coding / gb300 dynamo-trt / fp4 / p90_e2el: 8 of 10 measured points are on the frontier ( ✅ Check 15 (PR description): PASS — The topology table, batch sizes, concurrencies, 128 GiB/rank host KV offload, image, Dynamo wheel, golden-AL claim and engine fields all match the pinned recipe and master config. ➖ Check 16 (NVIDIA overview): N/A — The only affected NVIDIA config uses TRT-LLM, not vLLM/SGLang. ✅ Check 17 (Metrics publication): PASS — Dynamo comes from the ✅ Check 18 (Recipe/image/sweep consistency): PASS — (a) All config keys generate. (b) Worker counts, TP/EP/DPA and GPU/node math agree with each override. (c) The image resolves. (d)/(e) No orchestration pin or dispatch changes. (f) The changelog accurately describes the image, points and engine fields. (g) All 9 removed 1.3.0a0 points (measured in run 39016296529, Assessed commit: |
…rt-agentx-1.4.0rc3-no-fp8-ar # Conflicts: # inferencex-e2e/perf-changelog.yaml
|
Ingest report — ✅ Results ingested into the Ingest workflow · Merge Ingest run · Benchmark source run
benchmarkFiles 10, rawBenchmarkRows 10, coveredByPerJobFiles 0, purgedPoints 0, failedRunRows 0, runStatsNew 0, runStatsDuplicate 0, evalSamplesNew 10552, gpuMetricSamplesNew 1055134, powerPublicationPoints 10, 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 报告 — ✅ 结果已写入 上表仅统计本次运行写入的数据,各行单位依次为 benchmark_results 行、eval_results 行、已关联 trace 的 agentic 行和 gpu_metrics 序列。重新运行 ingest 时本评论会原地更新。 |
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.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 传输窗口。这些字段需要 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