diff --git a/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/dsv41flash/vllm/mi355x-fp4-mtp/agentic.yaml b/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/dsv41flash/vllm/mi355x-fp4-mtp/agentic.yaml index bc20b0fe96..92ef202d40 100644 --- a/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/dsv41flash/vllm/mi355x-fp4-mtp/agentic.yaml +++ b/inferencex-e2e/benchmarks/single_node/srt-slurm-recipes/dsv41flash/vllm/mi355x-fp4-mtp/agentic.yaml @@ -67,16 +67,14 @@ base: env: AIPERF_REQUIRED_SERVER_METRIC_PREFIX: 'vllm:' -# One variant per point, concurrency 1 through 64 on both TP arms (c128 and -# c192 excluded). Engram tables move to pinned host memory at TP2, where -# resident tables leave too little KV. For p90 interactivity, TP4 c1-c2 and -# TP2 c1-c4 run one sequence at a time with 32768-token prefill chunks, and -# TP2 c8 caps at 2 with 8192-token chunks. Graph capture there is -# max-num-seqs x (1 + 5 drafts), rounded up to vLLM's capture grid (8, 16); -# a size off the grid is truncated and larger steps run eagerly. All other -# points capture up to 1024 with the upstream 16384-token chunks, except -# c16 and c32, which run 8192-token chunks and admit at most 4 (c16) or 8 -# (c32) running sequences. +# Engram tables move to pinned host memory at TP2, where resident tables leave +# too little KV. max-num-seqs keeps every decode step of the capped points +# inside the mono decode kernels (at most 8 requests x 6 rows) and queues the +# other sessions: TP4 c4, c16, c24, c32 and c48 run 1, 2, 4, 6 and 8 requests, +# TP2 c16 and c32 run 4 and 8; c64 runs uncapped. TP4 c1-c2 and TP2 c1-c8 +# capture graphs up to max-num-seqs x (1 + 5 drafts), rounded up to vLLM's +# capture grid (8, 16); a size off the grid is truncated and larger steps run +# eagerly. override_tp4_c1: roles: agg: @@ -110,7 +108,8 @@ override_tp4_c4: tensor-parallel-size: 4 engram-config: '{"cpu_offload":false}' max-cudagraph-capture-size: 1024 - max-num-batched-tokens: 16384 + max-num-batched-tokens: 32768 + max-num-seqs: 1 benchmark: env: CONC: '4' @@ -135,11 +134,24 @@ override_tp4_c16: engram-config: '{"cpu_offload":false}' max-cudagraph-capture-size: 1024 max-num-batched-tokens: 8192 - max-num-seqs: 4 + max-num-seqs: 2 benchmark: env: CONC: '16' +override_tp4_c24: + roles: + agg: + args: + tensor-parallel-size: 4 + engram-config: '{"cpu_offload":false}' + max-cudagraph-capture-size: 1024 + max-num-batched-tokens: 8192 + max-num-seqs: 4 + benchmark: + env: + CONC: '24' + override_tp4_c32: roles: agg: @@ -148,11 +160,24 @@ override_tp4_c32: engram-config: '{"cpu_offload":false}' max-cudagraph-capture-size: 1024 max-num-batched-tokens: 8192 - max-num-seqs: 8 + max-num-seqs: 6 benchmark: env: CONC: '32' +override_tp4_c48: + roles: + agg: + args: + tensor-parallel-size: 4 + engram-config: '{"cpu_offload":false}' + max-cudagraph-capture-size: 1024 + max-num-batched-tokens: 8192 + max-num-seqs: 8 + benchmark: + env: + CONC: '48' + override_tp4_c64: roles: agg: diff --git a/inferencex-e2e/configs/amd-master.yaml b/inferencex-e2e/configs/amd-master.yaml index cccfaabb3b..ad6b81b9ac 100644 --- a/inferencex-e2e/configs/amd-master.yaml +++ b/inferencex-e2e/configs/amd-master.yaml @@ -972,10 +972,9 @@ dsv41flash-fp4-mi355x-vllm-agentic-dspark: scenarios: agentic-coding: - search-space: - # TP4 runs c1 and c2 only; TP2 covers concurrency 1-64. c128 and c192 - # are excluded: c128 did not raise the scored metric at TP=2 (150,683 - # against 151,896 tok/s/chip at c64). - - { gpus-per-worker: 4, tp: 4, kv-offloading: none, spec-decoding: mtp, conc-list: [1, 2], srt-recipe: agentic.yaml } + # TP4 covers the interactivity end and TP2 the throughput end; concurrency + # 128 and above runs on the DP2 key below. + - { gpus-per-worker: 4, tp: 4, kv-offloading: none, spec-decoding: mtp, conc-list: [1, 2, 4, 16, 24, 32, 48], srt-recipe: agentic.yaml } - { gpus-per-worker: 2, tp: 2, kv-offloading: none, spec-decoding: mtp, conc-list: [1, 2, 4, 8, 16, 32, 64], srt-recipe: agentic.yaml } dsv41flash-fp4-mi355x-vllm-agentic-dspark-tp8-c1: diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index 7ab560b8c3..cc6795ed38 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -13401,3 +13401,13 @@ - "NVFP4 target and indexer KV caches, FP8 draft KV, the DSpark draft as shipped, golden-curve synthetic acceptance. Disaggregated points move KV with NIXL over UCX and offload it to the Mooncake store (188.875 GB host segment per rank, dram-utilization 1.0). Dynamo 1.6.0.dev20261023 frontend with KV routing on every point. Aggregated: KV events on, 14400 s session-affinity TTL. Disaggregated: no router KV events or busy thresholds, soft session affinity (15 s TTL at 950, Dynamo's default elsewhere), router temperature 0, and prefill workers chosen by Dynamo's two-tier cost function (cache threshold 0.8 at 260 and 340, 1.0 at 590 and 950). Dynamo sidecar gRPC ports from 65001 on all six." - "Disaggregated workers leave numa-bind unset, as the aggregated points do, so vLLM's automatic NUMA binding applies (numactl --cpunodebind=N --preferred=N where its conditions hold) instead of --membind=N." pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5153 + +- config-keys: + - dsv41flash-fp4-mi355x-vllm-agentic-dspark + scenario-type: + - agentic-coding + description: + - "Add TP4 concurrency 4, 16, 24, 32 and 48 to the MI355X vLLM curve, on the same image as the existing points. TP4 caps the running requests at 1, 2, 4, 6 and 8 for concurrency 4, 16, 24, 32 and 48 (32768-token prefill chunks at 4, 8192 elsewhere), so every decode step fits the 48-row mono decode launch; sessions past the cap queue." + - "The existing points (TP4 concurrency 1-2, TP2 concurrency 1-64, TP8 concurrency 1, DP2 concurrency 128-384) keep their recipes and do not rerun." + pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5158 + append-only: true