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 e600332084..0b4ad5c6a9 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 @@ -284,3 +284,114 @@ override_tp2_c64: benchmark: env: CONC: '64' + +override_dep8_c256: + frontend: + type: vllm-router + args: + policy: consistent_hash + prometheus-host: 127.0.0.1 + prometheus-port: 18000 + request-timeout-secs: 14400 + disable-retries: true + setup_script: vllm-router.sh + roles: + agg: + gpus: 8 + args: + tensor-parallel-size: 1 + data-parallel-size: 8 + enable-expert-parallel: true + all2all-backend: mori + moe-backend: aiter_mega_moe + engram-config: '{"cpu_offload":false,"embedding_across_dp":true}' + max-num-seqs: 128 + max-num-batched-tokens: 32768 + prefill-schedule-interval: 96 + long-prefill-token-threshold: 8192 + max-cudagraph-capture-size: 1024 + # Per-tensor-scale FP8 KV cache for sparse MLA (vllm-project/vllm#66036). + kv-cache-dtype: fp8_e4m3 + # Mono decode is off for the data-parallel layout. + monokernel: null + env: + MORI_SHMEM_HEAP_SIZE: 64G + VLLM_RPC_TIMEOUT: '600000' + VLLM_RANDOMIZE_DP_DUMMY_INPUTS: '1' + benchmark: + env: + CONC: '256' + +override_dep8_c512: + frontend: + type: vllm-router + args: + policy: consistent_hash + prometheus-host: 127.0.0.1 + prometheus-port: 18000 + request-timeout-secs: 14400 + disable-retries: true + setup_script: vllm-router.sh + roles: + agg: + gpus: 8 + args: + tensor-parallel-size: 1 + data-parallel-size: 8 + enable-expert-parallel: true + all2all-backend: mori + moe-backend: aiter_mega_moe + engram-config: '{"cpu_offload":false,"embedding_across_dp":true}' + max-num-seqs: 128 + max-num-batched-tokens: 32768 + prefill-schedule-interval: 96 + long-prefill-token-threshold: 8192 + max-cudagraph-capture-size: 1024 + # Per-tensor-scale FP8 KV cache for sparse MLA (vllm-project/vllm#66036). + kv-cache-dtype: fp8_e4m3 + # Mono decode is off for the data-parallel layout. + monokernel: null + env: + MORI_SHMEM_HEAP_SIZE: 64G + VLLM_RPC_TIMEOUT: '600000' + VLLM_RANDOMIZE_DP_DUMMY_INPUTS: '1' + benchmark: + env: + CONC: '512' + +override_dep8_c1024: + frontend: + type: vllm-router + args: + policy: consistent_hash + prometheus-host: 127.0.0.1 + prometheus-port: 18000 + request-timeout-secs: 14400 + disable-retries: true + setup_script: vllm-router.sh + roles: + agg: + gpus: 8 + args: + tensor-parallel-size: 1 + data-parallel-size: 8 + enable-expert-parallel: true + all2all-backend: mori + moe-backend: aiter_mega_moe + engram-config: '{"cpu_offload":false,"embedding_across_dp":true}' + max-num-seqs: 160 + max-num-batched-tokens: 32768 + prefill-schedule-interval: 96 + long-prefill-token-threshold: 8192 + max-cudagraph-capture-size: 1024 + # Per-tensor-scale FP8 KV cache for sparse MLA (vllm-project/vllm#66036). + kv-cache-dtype: fp8_e4m3 + # Mono decode is off for the data-parallel layout. + monokernel: null + env: + MORI_SHMEM_HEAP_SIZE: 64G + VLLM_RPC_TIMEOUT: '600000' + VLLM_RANDOMIZE_DP_DUMMY_INPUTS: '1' + benchmark: + env: + CONC: '1024' diff --git a/inferencex-e2e/configs/amd-master.yaml b/inferencex-e2e/configs/amd-master.yaml index 4aa163afcf..25685e5e09 100644 --- a/inferencex-e2e/configs/amd-master.yaml +++ b/inferencex-e2e/configs/amd-master.yaml @@ -957,6 +957,23 @@ dsv41flash-fp4-mi355x-vllm-agentic-dspark-tp8-c1: search-space: - { tp: 8, kv-offloading: none, spec-decoding: mtp, conc-list: [1], srt-recipe: agentic.yaml } +# TP1 x DP8 with expert parallelism over the 8 ranks, behind a consistent-hash router so multi-turn +# sessions keep their prefix-cache hits. +dsv41flash-fp4-mi355x-vllm-agentic-dspark-dep8: + image: vllm/vllm-openai-rocm:nightly-9bc16ae6a34b1e0fe260e8d12b98568478bf38c3@sha256:1f70fc06f38a18ae5e6ba1e25d9f59fd6f9fd79080d03a6dfdbb84f2bca33052 + model: deepseek-ai/DeepSeek-V4.1-Flash + model-prefix: dsv41flash + runner: cluster:mi355x-amds + precision: fp4 + framework: vllm + multinode: false + srt-recipe-dir: dsv41flash/vllm/mi355x-fp4-mtp + scenarios: + agentic-coding: + - dram-utilization: 0.60 + search-space: + - { tp: 8, ep: 8, dp-attn: true, kv-offloading: none, spec-decoding: mtp, conc-list: [256, 512, 1024], router: { name: vllm-router, version: "0.1.14" }, srt-recipe: agentic.yaml } + minimaxm31flash-fp4-mi355x-vllm-agentic-dspark: image: vllm/vllm-openai-rocm:minimax-m31-flash-75bc8cf1@sha256:f8e8ab239e5edb7c3070c5802fc7fc0cbb889513bf81183dfc98ce1c77e1dfe1 model: amd/MiniMax-M3.1-Flash-Quark-MXFP4 diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index ef2a146d5d..4925321d59 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -12898,3 +12898,12 @@ - "Sweep the B200 Wan2.2-T2V-A14B vLLM-Omni baseline on 1, 2, 4 and 8 GPUs at C1 on the same wan22.yaml release-v1 workload, so the dashboard shows a GPU-count curve." - "Deployment per count: 1 GPU runs both CFG branches with Ulysses 1 and no VAE patch parallelism; 2 GPUs CFG parallel 2 x Ulysses 1; 4 GPUs CFG parallel 2 x Ulysses 2; 8 GPUs keeps CFG parallel 2 x Ulysses 4. Tiled VAE patch parallelism spans every GPU from 2 GPUs up." pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5084 + +- config-keys: + - dsv41flash-fp4-mi355x-vllm-agentic-dspark-dep8 + scenario-type: [agentic-coding] + description: + - "Add DeepSeek-V4.1-Flash FP4 AgentX on MI355X at DEP8 (TP1 x DP8 with expert parallelism over the 8 ranks) behind a consistent-hash vLLM router at concurrency 256, 512 and 1024, on vllm/vllm-openai-rocm:nightly-9bc16ae6 (index digest sha256:1f70fc06f38a18ae5e6ba1e25d9f59fd6f9fd79080d03a6dfdbb84f2bca33052), with the per-tensor-scale FP8 KV cache (--kv-cache-dtype fp8_e4m3, vllm-project/vllm#66036)." + - "Experts run on AITER MegaMoE over MoRI (--moe-backend aiter_mega_moe, --all2all-backend mori). Prefill uses the engine's cadence scheduling (prefill-schedule-interval 96, 32768-token budget, long-prefill-token-threshold 8192) with max-num-seqs 128 (160 at concurrency 1024), as in the B300 recipe. The cross-DP delayer (vllm-project/vllm#65655) is not used." + - "Engram tables stay in HBM, sharded across the DP ranks (engram-config {\"cpu_offload\":false,\"embedding_across_dp\":true}), as in the B300 DEP8 recipe: host-offloaded tables are read through small-page host mappings and made prefill Engram lookups take 54 to 110 ms per layer on MI355X." + pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5056