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..656ca1f790 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,121 @@ override_tp2_c64: benchmark: env: CONC: '64' + +# DEP2: attention DP2 with the MoE expert-parallel across both ranks, on AITER MegaMoE over +# MoRI. The topology, router, scheduler and engine settings are those of the DP2 points +# (MoE tensor-parallel across both ranks) in the UMBP key, so a pair of runs differs only +# in the MoE parallelism and backend. +override_dep2_umbp_c256: + # Each srtctl step has its own mount namespace; a node-local host directory is + # the one place the UMBP server and the engine workers both see its sockets. + container_mounts: &dep2_umbp_host_dir + /dev/shm: /umbp-host + frontend: &dep2_router + 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 + services: &dep2_umbp_server + - name: umbp-server + type: generic + start: before_workers + critical: true + preamble: mkdir -p /umbp-host/umbp + # The server binary ships inside the MORI package and loads its libraries from there. + command: + - bash + - -c + - P=$(python3 -c 'import mori, os; print(os.path.dirname(mori.__file__))') && LD_LIBRARY_PATH=$P:$LD_LIBRARY_PATH exec $P/umbp_standalone_server unix:///umbp-host/umbp/standalone.grpc.sock + env: + UMBP_STANDALONE_ADDRESS: unix:///umbp-host/umbp/standalone.grpc.sock + # TOTAL_CPU_DRAM_GB in bytes. + UMBP_DRAM_CAPACITY: '449000000000' + # The mi355x-amds host setup releases hugepages, so the pool uses 4 KiB pages. + UMBP_DRAM_USE_HUGEPAGES: '0' + UMBP_SSD_ENABLED: '0' + # The readiness line below is logged at INFO; the default level is WARN. + MORI_UMBP_LOG_LEVEL: INFO + readiness: + log: + pattern: '\[StandaloneServer\] listening' + # Faulting in a ~450 GB pool on 4 KiB pages takes several minutes. + timeout_seconds: 1800 + roles: + agg: &dep2_umbp_agg + gpus: 2 + args: + tensor-parallel-size: 1 + data-parallel-size: 2 + enable-expert-parallel: true + all2all-backend: mori + moe-backend: aiter_mega_moe + engram-config: '{"cpu_offload":true}' + max-cudagraph-capture-size: 1024 + max-num-batched-tokens: 16384 + # The DP2 points were tuned without mono decode. + monokernel: null + prefill-schedule-interval: 11 + # Per-tensor fp8 KV rows (vllm-project/vllm#66036) instead of the block-scaled + # fp8_ds_mla record; the DSpark draft layers share the same cache dtype. + kv-cache-dtype: fp8_e4m3 + kv-transfer-config: '{"kv_connector":"UMBPStoreConnector","kv_role":"kv_both","kv_load_failure_policy":"recompute","kv_connector_extra_config":{"mode":"standalone","endpoint":"unix:///umbp-host/umbp/standalone.grpc.sock"}}' + env: + # The MoRI symmetric heap is allocated before vLLM checks that gpu-memory-utilization + # (0.9 of 288 GiB) is still free. 64G left 216 GiB free against 259 GiB requested and the + # engine failed to start; 16G is vLLM's own MegaMoE default for this model and the 8 GB + # MegaMoEV2 needs with a fused shared expert fits twice over. + MORI_SHMEM_HEAP_SIZE: 16G + VLLM_RANDOMIZE_DP_DUMMY_INPUTS: '1' + benchmark: + env: + CONC: '256' + KV_OFFLOADING: 'dram' + TOTAL_CPU_DRAM_GB: '449' + +override_dep2_umbp_c384: + container_mounts: *dep2_umbp_host_dir + frontend: *dep2_router + setup_script: vllm-router.sh + services: *dep2_umbp_server + roles: + agg: *dep2_umbp_agg + benchmark: + env: + CONC: '384' + KV_OFFLOADING: 'dram' + TOTAL_CPU_DRAM_GB: '449' + +override_dep2_c128: + frontend: *dep2_router + setup_script: vllm-router.sh + roles: + agg: + gpus: 2 + args: + tensor-parallel-size: 1 + data-parallel-size: 2 + enable-expert-parallel: true + all2all-backend: mori + moe-backend: aiter_mega_moe + engram-config: '{"cpu_offload":true}' + max-cudagraph-capture-size: 1024 + max-num-batched-tokens: 16384 + # The DP2 points were tuned without mono decode. + monokernel: null + prefill-schedule-interval: 11 + kv-cache-dtype: fp8_e4m3 + env: + # The MoRI symmetric heap is allocated before vLLM checks that gpu-memory-utilization + # (0.9 of 288 GiB) is still free. 64G left 216 GiB free against 259 GiB requested and the + # engine failed to start; 16G is vLLM's own MegaMoE default for this model and the 8 GB + # MegaMoEV2 needs with a fused shared expert fits twice over. + MORI_SHMEM_HEAP_SIZE: 16G + VLLM_RANDOMIZE_DP_DUMMY_INPUTS: '1' + benchmark: + env: + CONC: '128' diff --git a/inferencex-e2e/configs/amd-master.yaml b/inferencex-e2e/configs/amd-master.yaml index b4d526d837..399b4ac3f6 100644 --- a/inferencex-e2e/configs/amd-master.yaml +++ b/inferencex-e2e/configs/amd-master.yaml @@ -938,6 +938,31 @@ dsv41flash-fp4-mi355x-vllm-agentic-dspark: - { tp: 4, kv-offloading: none, spec-decoding: mtp, conc-list: [1, 2], srt-recipe: agentic.yaml } - { tp: 2, kv-offloading: none, spec-decoding: mtp, conc-list: [1, 2, 4, 8, 16, 32, 64], srt-recipe: agentic.yaml } +# DEP2 on two GPUs per server: attention DP2 with the MoE expert-parallel across both ranks +# on AITER MegaMoE over MoRI, at concurrency 128, 256 and 384, with UMBP KV offloading at +# 256 and 384. It uses the image and the engine settings of the DP2 (MoE tensor-parallel) +# key dsv41flash-fp4-mi355x-vllm-agentic-dspark-umbp, so the two keys differ only in the MoE +# parallelism and backend. +dsv41flash-fp4-mi355x-vllm-agentic-dspark-dep2: + # Carries vllm-project/vllm#64715 (UMBP standalone for DeepSeek-V4.1-Flash), #66036 + # (per-tensor fp8_e4m3 KV for sparse MLA), #66644 (AITER MegaMoE) and #67377 (AITER + # FlyDSL dense MXFP8 GEMMs); its MORI v1.2.3.post1 is built with UMBP. + image: vllm/vllm-openai-rocm:nightly-60bd6dd2edd175a1c55fd3488f871e4c3d2ef27d@sha256:67a3a0fb79893fc5a0fcff5f9b739ba8fec7e920875a12e0574c2e9f50cd814c + 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: 2, ep: 2, dp-attn: true, kv-offloading: none, spec-decoding: mtp, conc-list: [128], router: { name: vllm-router, version: "0.1.14" }, srt-recipe: agentic.yaml:override_dep2_c128 } + - { tp: 2, ep: 2, dp-attn: true, kv-offloading: dram, kv-offload-backend: { name: umbp, version: "1.2.3.post1" }, spec-decoding: mtp, conc-list: [256], router: { name: vllm-router, version: "0.1.14" }, srt-recipe: agentic.yaml:override_dep2_umbp_c256 } + - { tp: 2, ep: 2, dp-attn: true, kv-offloading: dram, kv-offload-backend: { name: umbp, version: "1.2.3.post1" }, spec-decoding: mtp, conc-list: [384], router: { name: vllm-router, version: "0.1.14" }, srt-recipe: agentic.yaml:override_dep2_umbp_c384 } + # Single-point TP8 c1 scan of DeepSeek-V4.1-Flash on MI355X with mono decode # (--monokernel) on the latest vLLM ROCm 10.0 nightly (2026-10-30), which carries # vllm-project/vllm#64101 (mono decode at TP8; earlier builds refuse --monokernel diff --git a/inferencex-e2e/perf-changelog.yaml b/inferencex-e2e/perf-changelog.yaml index d22c264b7d..1d1e344b07 100644 --- a/inferencex-e2e/perf-changelog.yaml +++ b/inferencex-e2e/perf-changelog.yaml @@ -12941,3 +12941,12 @@ - "Place the B300 Dynamo + vLLM AgentX frontend on the allocation head for eval-only jobs." - "Capture DSpark step sizes at multiples of five and six through 40 for aggregated TP4 concurrency 1." pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/4585 + +- config-keys: + - dsv41flash-fp4-mi355x-vllm-agentic-dspark-dep2 + scenario-type: + - agentic-coding + description: + - "New key on vllm/vllm-openai-rocm:nightly-60bd6dd2edd175a1c55fd3488f871e4c3d2ef27d (2026-11-16, digest sha256:67a3a0fb79893fc5a0fcff5f9b739ba8fec7e920875a12e0574c2e9f50cd814c), the image of the DP2 key dsv41flash-fp4-mi355x-vllm-agentic-dspark-umbp (https://github.com/SemiAnalysisAI/InferenceX/pull/5036), which carries vllm-project/vllm#64715 (UMBP standalone mode for DeepSeek-V4.1-Flash on ROCm), #66036 (per-tensor fp8_e4m3 KV cache for sparse MLA on ROCm), #66644 (AITER MegaMoE) and #67377 (AITER FlyDSL dense MXFP8 GEMMs). Its MORI v1.2.3.post1 is built with UMBP." + - "Add DEP2 at concurrency 128, 256 and 384 on two GPUs: attention DP2 with the MoE expert-parallel across both ranks (tensor-parallel-size 1, data-parallel-size 2, enable-expert-parallel) on AITER MegaMoE over MoRI (moe-backend aiter_mega_moe, all2all-backend mori), fronted by vllm-router 0.1.14 with consistent_hash. Every other setting is that of the DP2 points in the UMBP key, where the MoE is tensor-parallel across both ranks: prefill cadence (prefill-schedule-interval 11), no --monokernel, five-token DSpark, block size 128, the MXFP4 sparse-logits indexer, Engram tables in host memory, max-num-batched-tokens 16384, cudagraph capture up to 1024 and kv-cache-dtype fp8_e4m3. Concurrency 128 runs without KV offloading; 256 and 384 offload KV to host DRAM through UMBPStoreConnector in standalone mode, with the same 449 GB node-local umbp_standalone_server pool and host-directory socket mount as the DP2 key." + pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5098