Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
53647e8
feat(dsv41flash): bump MI355X SGLang AgentX image and add c128/c256 D…
lxgsbqylbk Nov 12, 2026
c138e7a
Merge remote-tracking branch 'origin/main' into dsv41flash-mi355x-sgl…
lxgsbqylbk Nov 12, 2026
a56eab1
chore(changelog): link the dsv41flash MI355X SGLang entry to #5031
lxgsbqylbk Nov 12, 2026
e790b01
chore(changelog): link the dsv41flash MI355X SGLang entry to #5034
lxgsbqylbk Nov 12, 2026
4b9b465
Merge remote-tracking branch 'origin/main' into dsv41flash-mi355x-sgl…
lxgsbqylbk Nov 12, 2026
2b34f05
Merge remote-tracking branch 'origin/main' into dsv41flash-mi355x-sgl…
lxgsbqylbk Nov 13, 2026
5260257
fix(dsv41flash): serve MI355X SGLang AgentX with the PIL image processor
lxgsbqylbk Nov 13, 2026
462ac16
Merge branch 'main' into dev/limou/dsv41flash-mi355x-sglang-c128-c256
chunfangamd Nov 14, 2026
a7baef7
Merge remote-tracking branch 'origin/main' into dsv41flash-mi355x-sgl…
lxgsbqylbk Nov 15, 2026
87123a2
Merge main into dsv41flash-mi355x-sglang-c128-c256
limou102 Nov 17, 2026
7e730a3
perf(amd): cap DSv4.1-Flash MI355X SGLang AgentX running requests, to…
limou102 Nov 17, 2026
020163b
perf(amd): keep 12288 SWA prefix tails at DSv4.1-Flash SGLang TP4 DPA…
limou102 Nov 17, 2026
bab48e5
chore(dsv41flash): trim MI355X SGLang AgentX recipe comments and chan…
limou102 Nov 17, 2026
a3fbc4b
Merge main into dsv41flash-mi355x-sglang-c128-c256
limou102 Nov 18, 2026
01d5571
Merge branch 'main' into dev/limou/dsv41flash-mi355x-sglang-c128-c256
chunfangamd Nov 20, 2026
3aa72d7
Merge main and move configs to gpus-per-worker [skip-sweep]
cquil11 Nov 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ base:
cuda-graph-backend-prefill: disabled
reasoning-parser: auto
tool-call-parser: auto
# Same token ids as Hugging Face, ~0.3 s less TTFT on a 170k-token prompt.
tokenizer-backend: fastokens
# Text-only load; the Rust image processor's build lock hung a DP rank in CI.
image-processor-backend: pil
# Draft passes under long-context load outlast the 1800 s default watchdog.
watchdog-timeout: 3600
enable-metrics: true
Expand Down Expand Up @@ -58,12 +62,8 @@ base:
AIPERF_HTTP_TCP_USER_TIMEOUT: '900000'
AIPERF_REQUIRED_SERVER_METRIC_PREFIX: 'sglang:'

# One variant per point; the saturation point gets a longer warmup drain. A longer
# prefill-decode interval trades TTFT for P90 ITL: 192 with lpm up to c8, 96 at c16
# and 8 at c32. amd-master.yaml runs TP2 through c32, TP4 through c16; DP2 covers
# c32 and c64. TP4 c1 and TP2 c4, c16 and c32 cap running requests at 1, 1, 4 and 8:
# sessions past the cap queue instead of joining the decode batch, which keeps each
# token stream at small-batch speed and lifts P90 interactivity at the cost of TTFT.
# One variant per point; a longer prefill-decode interval trades TTFT for P90 ITL. TP2 runs
# through c64, TP4 through c16; DP2 covers c64 and c128, DP2 EP2 c128, DP4 EP4 c128 and c256.
override_tp2_c1:
roles:
agg:
Expand Down Expand Up @@ -106,6 +106,7 @@ override_tp2_c4:
prefill-decode-interval: 192
schedule-policy: lpm
swa-prefix-tails: 256
# Decode bursts past the cap queue instead of widening the step.
max-running-requests: 1
monokernel-backend: amd
benchmark:
Expand All @@ -119,10 +120,11 @@ override_tp2_c8:
tensor-parallel-size: 2
mem-fraction-static: 0.70
chunked-prefill-size: 16384
prefill-decode-interval: 192
# With two running a 192-round wait delays most turns' prefill by ~1 s.
prefill-decode-interval: 48
schedule-policy: lpm
swa-prefix-tails: 512
max-running-requests: 16
max-running-requests: 2
monokernel-backend: amd
benchmark:
env:
Expand Down Expand Up @@ -150,14 +152,12 @@ override_tp2_c32:
tensor-parallel-size: 2
mem-fraction-static: 0.80
chunked-prefill-size: 16384
prefill-decode-interval: 8
prefill-decode-interval: 32
swa-prefix-tails: 2048
max-running-requests: 8
# 8 running x (1 + 5 drafts) = 48 rows, all within the monokernel; it
# refuses SGLANG_HIP_DSV41_INDEX_K_PAGE8, so that layout stays off here.
monokernel-backend: amd
# Needs an image that ships fastokens (sglang#47923).
tokenizer-backend: fastokens
benchmark:
env:
CONC: '32'
Expand All @@ -170,16 +170,16 @@ override_tp2_c64:
tensor-parallel-size: 2
mem-fraction-static: 0.85
chunked-prefill-size: 16384
prefill-decode-interval: 4
prefill-decode-interval: 32
swa-prefix-tails: 4096
max-running-requests: 128
cuda-graph-max-bs-decode: 128
max-running-requests: 32
monokernel-backend: amd
benchmark:
env:
CONC: '64'
AGENTIC_WARMUP_GRACE_PERIOD: '3600'

override_tp2_c32_dp:
override_tp2_c64_dp:
frontend:
type: sglang-router
args:
Expand All @@ -202,10 +202,10 @@ override_tp2_c32_dp:
tokenizer-worker-num: 2
prefill-delayer-token-usage-low-watermark: 0.7
load-balance-method: total_requests
mem-fraction-static: 0.80
mem-fraction-static: 0.85
chunked-prefill-size: 32768
prefill-decode-interval: 32
swa-prefix-tails: 2048
prefill-decode-interval: 16
swa-prefix-tails: 4096
max-running-requests: 64
env:
SGLANG_SHARED_EXPERT_TP1: '1'
Expand All @@ -216,11 +216,13 @@ override_tp2_c32_dp:
SGLANG_HIP_DSV41_INDEX_K_PAGE8: '1'
benchmark:
env:
CONC: '32'
CONC: '64'
AIPERF_HTTP_X_SMG_ROUTING_KEY_FROM_CORRELATION_ID: 'true'
AGENTIC_WARMUP_GRACE_PERIOD: '3600'

override_tp2_c64_dp:
# Under DP attention one rank's prefill stalls every rank's decode: from c128 a longer
# interval with shortest-prefill-first holds P90 ITL without giving up throughput.
override_tp2_c128_dp:
frontend:
type: sglang-router
args:
Expand All @@ -245,19 +247,159 @@ override_tp2_c64_dp:
load-balance-method: total_requests
mem-fraction-static: 0.85
chunked-prefill-size: 32768
prefill-decode-interval: 16
prefill-decode-interval: 24
schedule-policy: shortest-prefill-first
swa-prefix-tails: 4096
max-running-requests: 64
max-running-requests: 128
env:
SGLANG_SHARED_EXPERT_TP1: '1'
SGLANG_DP_USE_GATHERV: '1'
SGLANG_DP_USE_REDUCE_SCATTER: '1'
SGLANG_AITER_CAPTURE_COPY_IN: '1'
GPU_MAX_HW_QUEUES: '5'
SGLANG_HIP_DSV41_INDEX_K_PAGE8: '1'
SGLANG_DSV41_ENGRAM_HOST_TABLE_LAYOUT: shared
benchmark:
env:
CONC: '64'
CONC: '128'
AIPERF_HTTP_X_SMG_ROUTING_KEY_FROM_CORRELATION_ID: 'true'
AGENTIC_WARMUP_GRACE_PERIOD: '3600'

override_tp2_c128_dp_ep:
frontend:
type: sglang-router
args:
policy: cache_aware
request-id-headers: x-correlation-id
dp-aware: true
connect-timeout-secs: 900
request-timeout-secs: 14400
disable-health-check: true
disable-retries: true
roles:
agg:
args:
tensor-parallel-size: 2
data-parallel-size: 2
expert-parallel-size: 2
enable-dp-attention: true
enable-dp-lm-head: true
enable-prefill-delayer: true
enable-dp-attention-local-control-broadcast: true
tokenizer-worker-num: 2
prefill-delayer-token-usage-low-watermark: 0.7
load-balance-method: total_requests
mem-fraction-static: 0.85
chunked-prefill-size: 32768
prefill-decode-interval: 32
schedule-policy: shortest-prefill-first
swa-prefix-tails: 4096
max-running-requests: 128
env:
SGLANG_SHARED_EXPERT_TP1: '1'
SGLANG_DP_SHARED_EXPERT_LOCAL: '1'
SGLANG_DP_USE_GATHERV: '1'
SGLANG_DP_USE_REDUCE_SCATTER: '1'
SGLANG_AITER_CAPTURE_COPY_IN: '1'
GPU_MAX_HW_QUEUES: '5'
SGLANG_HIP_DSV41_INDEX_K_PAGE8: '1'
SGLANG_DSV41_ENGRAM_HOST_TABLE_LAYOUT: shared
benchmark:
env:
CONC: '128'
AIPERF_HTTP_X_SMG_ROUTING_KEY_FROM_CORRELATION_ID: 'true'
AGENTIC_WARMUP_GRACE_PERIOD: '3600'

override_tp4_c128_dp_ep:
frontend:
type: sglang-router
args:
policy: cache_aware
request-id-headers: x-correlation-id
dp-aware: true
connect-timeout-secs: 900
request-timeout-secs: 14400
disable-health-check: true
disable-retries: true
roles:
agg:
args:
tensor-parallel-size: 4
data-parallel-size: 4
expert-parallel-size: 4
enable-dp-attention: true
enable-dp-lm-head: true
enable-prefill-delayer: true
enable-dp-attention-local-control-broadcast: true
tokenizer-worker-num: 2
prefill-delayer-token-usage-low-watermark: 0.7
load-balance-method: total_requests
mem-fraction-static: 0.85
chunked-prefill-size: 32768
prefill-decode-interval: 32
schedule-policy: shortest-prefill-first
swa-prefix-tails: 4096
max-running-requests: 128
env:
SGLANG_SHARED_EXPERT_TP1: '1'
SGLANG_DP_SHARED_EXPERT_LOCAL: '1'
SGLANG_DP_USE_GATHERV: '1'
SGLANG_DP_USE_REDUCE_SCATTER: '1'
SGLANG_AITER_CAPTURE_COPY_IN: '1'
GPU_MAX_HW_QUEUES: '5'
SGLANG_HIP_DSV41_INDEX_K_PAGE8: '1'
SGLANG_DSV41_ENGRAM_HOST_TABLE_LAYOUT: shared
benchmark:
env:
CONC: '128'
AIPERF_HTTP_X_SMG_ROUTING_KEY_FROM_CORRELATION_ID: 'true'
AGENTIC_WARMUP_GRACE_PERIOD: '3600'

# A 64k prefill chunk and a later delayer release trade a little P90 for c256 throughput.
override_tp4_c256_dp_ep:
frontend:
type: sglang-router
args:
policy: cache_aware
request-id-headers: x-correlation-id
dp-aware: true
connect-timeout-secs: 900
request-timeout-secs: 14400
disable-health-check: true
disable-retries: true
roles:
agg:
args:
tensor-parallel-size: 4
data-parallel-size: 4
expert-parallel-size: 4
enable-dp-attention: true
enable-dp-lm-head: true
enable-prefill-delayer: true
enable-dp-attention-local-control-broadcast: true
tokenizer-worker-num: 2
prefill-delayer-token-usage-low-watermark: 0.85
load-balance-method: total_requests
mem-fraction-static: 0.85
chunked-prefill-size: 65536
prefill-decode-interval: 40
schedule-policy: shortest-prefill-first
# 4096 tails evicted idle sessions' prefixes, ~20% of prefill was recompute.
swa-prefix-tails: 12288
max-running-requests: 256
cuda-graph-max-bs-decode: 128
env:
SGLANG_SHARED_EXPERT_TP1: '1'
SGLANG_DP_SHARED_EXPERT_LOCAL: '1'
SGLANG_DP_USE_GATHERV: '1'
SGLANG_DP_USE_REDUCE_SCATTER: '1'
SGLANG_AITER_CAPTURE_COPY_IN: '1'
GPU_MAX_HW_QUEUES: '5'
SGLANG_HIP_DSV41_INDEX_K_PAGE8: '1'
SGLANG_DSV41_ENGRAM_HOST_TABLE_LAYOUT: shared
benchmark:
env:
CONC: '256'
AIPERF_HTTP_X_SMG_ROUTING_KEY_FROM_CORRELATION_ID: 'true'
AGENTIC_WARMUP_GRACE_PERIOD: '3600'

Expand Down Expand Up @@ -303,7 +445,7 @@ override_tp4_c4:
prefill-decode-interval: 192
schedule-policy: lpm
swa-prefix-tails: 256
max-running-requests: 8
max-running-requests: 1
monokernel-backend: amd
benchmark:
env:
Expand All @@ -319,7 +461,7 @@ override_tp4_c8:
prefill-decode-interval: 192
schedule-policy: lpm
swa-prefix-tails: 512
max-running-requests: 16
max-running-requests: 2
monokernel-backend: amd
benchmark:
env:
Expand All @@ -334,7 +476,7 @@ override_tp4_c16:
chunked-prefill-size: 16384
prefill-decode-interval: 96
swa-prefix-tails: 1024
max-running-requests: 32
max-running-requests: 4
monokernel-backend: amd
benchmark:
env:
Expand Down
10 changes: 6 additions & 4 deletions inferencex-e2e/configs/amd-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1259,8 +1259,8 @@ glm5.3flash-fp8-mi355x-sglang-agentic-mtp:
- { gpus-per-worker: 4, tp: 4, ep: 4, kv-offloading: none, conc-list: [1, 2, 8, 16, 24, 32], spec-decoding: mtp, srt-recipe: agentic.yaml }
- { gpus-per-worker: 4, tp: 4, ep: 4, kv-offloading: dram, kv-offload-backend: { name: hicache }, conc-list: [40, 48], spec-decoding: mtp, srt-recipe: agentic.yaml }

# SGLang ROCm 10 MI35X release image. TP2/EP1 up to c32, TP4/EP1 up to c16,
# DP2 attention with TP MoE at c32 and c64 (c32 overlaps TP2). Host Engram on all.
# SGLang ROCm 10 MI35X release image. TP2 up to c64, TP4 up to c16, DP2 at c64 and c128,
# DP2/EP2 at c128, DP4/EP4 at c128 and c256. Host Engram on all.
dsv41flash-fp4-mi355x-sglang-agentic-dspark:
image: lmsysorg/sglang-rocm:v0.5.23-rocm10-mi35x-20261111
model: deepseek-ai/DeepSeek-V4.1-Flash
Expand All @@ -1273,9 +1273,11 @@ dsv41flash-fp4-mi355x-sglang-agentic-dspark:
scenarios:
agentic-coding:
- search-space:
- { gpus-per-worker: 2, tp: 2, ep: 1, dp-attn: false, kv-offloading: none, spec-decoding: mtp, conc-list: [1, 2, 4, 8, 16, 32], srt-recipe: agentic.yaml }
- { gpus-per-worker: 2, tp: 2, ep: 1, dp-attn: false, kv-offloading: none, spec-decoding: mtp, conc-list: [1, 2, 4, 8, 16, 32, 64], srt-recipe: agentic.yaml }
- { gpus-per-worker: 4, tp: 4, ep: 1, dp-attn: false, kv-offloading: none, spec-decoding: mtp, conc-list: [1, 2, 4, 8, 16], srt-recipe: agentic.yaml }
- { gpus-per-worker: 2, tp: 2, ep: 1, dp-attn: true, kv-offloading: none, spec-decoding: mtp, conc-list: [32, 64], srt-recipe: agentic.yaml }
- { gpus-per-worker: 2, tp: 2, ep: 1, dp-attn: true, kv-offloading: none, spec-decoding: mtp, conc-list: [64, 128], srt-recipe: agentic.yaml }
- { gpus-per-worker: 2, tp: 2, ep: 2, dp-attn: true, kv-offloading: none, spec-decoding: mtp, conc-list: [128], srt-recipe: agentic.yaml }
- { gpus-per-worker: 4, tp: 4, ep: 4, dp-attn: true, kv-offloading: none, spec-decoding: mtp, conc-list: [128, 256], srt-recipe: agentic.yaml }

musespark-fp4-mi355x-sglang-agentic-dflash:
image: lmsysorg/sglang-rocm:muse-spark-open-mi355-1106@sha256:d231181df079a5b271a0459d024492c84a36caf8cb26ee019abad29e17eea4d2
Expand Down
12 changes: 12 additions & 0 deletions inferencex-e2e/perf-changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13333,3 +13333,15 @@
- "Bump utils/srt-slurm from 2d9079c to cc9db05 (21 commits), which adds NVIDIA/srt-slurm#669: one bootstrap port per prefill engine and Router start after every worker's health check. The shared vllm-router.sh setup script now raises the worker parent shell's soft RLIMIT_MEMLOCK to its hard limit."
- "Draft data type unchanged: the DSpark draft from the checkpoint's dspark/ subfolder runs as shipped, with MXFP8 attention and MLP projections, BF16 fc, norms and the shared target embedding and LM head, and an FP8 E4M3 draft KV cache."
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5090

- config-keys:
- dsv41flash-fp4-mi355x-sglang-agentic-dspark
scenario-type:
- agentic-coding
description:
- "Add TP2 c64, TP2 DPA c128, TP2 DPA EP2 c128 and TP4 DPA EP4 c128 and c256; drop TP2 DPA c32."
- "Cap running requests at TP2 c8 (2), TP2 c64 (32) and TP4 c4, c8 and c16 (1, 2 and 4); TP2 c8 and c64 use prefill-decode-interval 48 and 32, TP2 c64 the AMD monokernel."
- "TP2 c32 uses prefill-decode-interval 32 instead of 8."
- "DP attention points from c128 use shortest-prefill-first, the shared Engram host table and, with EP, SGLANG_DP_SHARED_EXPERT_LOCAL=1; TP4 DPA EP4 c256 adds a 65536-token prefill chunk, a 0.85 prefill-delayer low watermark and 12288 SWA prefix tails."
- "Every point uses --tokenizer-backend fastokens and --image-processor-backend pil."
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/5034