Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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,7 +29,6 @@ base:
kv-cache-dtype: fp8_e4m3
attention-backend: trtllm_mha
page-size: 128
cuda-graph-backend-prefill: breakable
# DFlash2 verifies 8 tokens per step: the current token plus 7 drafts.
speculative-algorithm: DFLASH
speculative-draft-model-path: RadixArk/Muse-Spark-Open-DFlash2
Expand Down Expand Up @@ -75,6 +74,7 @@ override_tp8_c1:
args:
tensor-parallel-size: 8
expert-parallel-size: 8
cuda-graph-backend-prefill: breakable
mem-fraction-static: 0.88
max-running-requests: 1
cuda-graph-max-bs-decode: 1
Expand All @@ -94,91 +94,59 @@ override_tp8_c4:
args:
tensor-parallel-size: 8
expert-parallel-size: 8
cuda-graph-backend-prefill: breakable
mem-fraction-static: 0.88
max-running-requests: 2
cuda-graph-max-bs-decode: 2
prefill-decode-interval: 64
max-running-requests: 1
cuda-graph-max-bs-decode: 1
swa-full-tokens-ratio: 0.3
stream-interval: 20
stream-interval: 40
schedule-policy: shortest-prefill-first
speculative-draft-attention-backend: fa4
env:
PYTORCH_CUDA_ALLOC_CONF: expandable_segments:True
benchmark:
env:
CONC: '4'
KV_OFFLOADING: none

override_tp8_c8:
roles:
agg:
gpus: 8
args:
tensor-parallel-size: 8
expert-parallel-size: 8
mem-fraction-static: 0.88
max-running-requests: 2
cuda-graph-max-bs-decode: 2
prefill-decode-interval: 64
swa-full-tokens-ratio: 0.3
env:
PYTORCH_CUDA_ALLOC_CONF: expandable_segments:True
benchmark:
env:
CONC: '8'
KV_OFFLOADING: none

override_tp8_c10:
override_tp8_c7:
roles:
agg:
gpus: 8
args:
tensor-parallel-size: 8
expert-parallel-size: 8
cuda-graph-backend-prefill: breakable
mem-fraction-static: 0.88
max-running-requests: 2
cuda-graph-max-bs-decode: 2
prefill-decode-interval: 64
swa-full-tokens-ratio: 0.3
stream-interval: 40
schedule-policy: shortest-prefill-first
env:
PYTORCH_CUDA_ALLOC_CONF: expandable_segments:True
benchmark:
env:
CONC: '10'
CONC: '7'
KV_OFFLOADING: none

override_tp8_c14:
override_tp8_c16:
roles:
agg:
gpus: 8
args:
tensor-parallel-size: 8
expert-parallel-size: 8
cuda-graph-backend-prefill: breakable
mem-fraction-static: 0.88
max-running-requests: 3
cuda-graph-max-bs-decode: 3
prefill-decode-interval: 64
swa-full-tokens-ratio: 0.3
schedule-policy: shortest-prefill-first
env:
PYTORCH_CUDA_ALLOC_CONF: expandable_segments:True
benchmark:
env:
CONC: '14'
KV_OFFLOADING: none

override_tp8_c16:
roles:
agg:
gpus: 8
args:
tensor-parallel-size: 8
expert-parallel-size: 8
mem-fraction-static: 0.88
max-running-requests: 4
cuda-graph-max-bs-decode: 4
prefill-decode-interval: 64
prefill-decode-interval: 88
swa-full-tokens-ratio: 0.3
schedule-policy: shortest-prefill-first
stream-interval: 40
incremental-streaming-output: true
env:
PYTORCH_CUDA_ALLOC_CONF: expandable_segments:True
benchmark:
Expand All @@ -193,10 +161,11 @@ override_tp8_c20:
args:
tensor-parallel-size: 8
expert-parallel-size: 8
cuda-graph-backend-prefill: breakable
mem-fraction-static: 0.88
max-running-requests: 6
cuda-graph-max-bs-decode: 6
prefill-decode-interval: 64
prefill-decode-interval: 48
swa-full-tokens-ratio: 0.3
schedule-policy: shortest-prefill-first
stream-interval: 20
Expand All @@ -214,10 +183,11 @@ override_tp8_c24:
args:
tensor-parallel-size: 8
expert-parallel-size: 8
cuda-graph-backend-prefill: breakable
mem-fraction-static: 0.88
max-running-requests: 8
cuda-graph-max-bs-decode: 8
prefill-decode-interval: 64
prefill-decode-interval: 80
swa-full-tokens-ratio: 0.3
schedule-policy: shortest-prefill-first
stream-interval: 20
Expand All @@ -232,7 +202,7 @@ override_tp4_c16:
roles:
agg:
args:
mem-fraction-static: 0.95
mem-fraction-static: 0.92
max-running-requests: 12
cuda-graph-max-bs-decode: 12
chunked-prefill-size: 8192
Expand All @@ -244,6 +214,9 @@ override_tp4_c16:
enable-megamoe-for-layernorm-sp: true
enable-hierarchical-cache: true
hicache-size: 120
scheduler-recv-interval: 20
stream-interval: 20
disable-prefill-cuda-graph: true
env:
SGLANG_OPT_DEEPGEMM_MEGA_MOE_NUM_MAX_TOKENS_PER_RANK: '2048'
benchmark:
Expand All @@ -255,19 +228,20 @@ override_tp4_c28:
roles:
agg:
args:
mem-fraction-static: 0.95
mem-fraction-static: 0.92
max-running-requests: 56
cuda-graph-max-bs-decode: 56
chunked-prefill-size: 16384
max-prefill-tokens: 16384
schedule-policy: shortest-prefill-first
prefill-decode-interval: 128
prefill-decode-interval: 104
swa-full-tokens-ratio: 0.1
enable-layernorm-sp: true
enable-megamoe-for-layernorm-sp: true
enable-hierarchical-cache: true
hicache-size: 170
stream-interval: 20
disable-prefill-cuda-graph: true
env:
SGLANG_OPT_DEEPGEMM_MEGA_MOE_NUM_MAX_TOKENS_PER_RANK: '4096'
benchmark:
Expand All @@ -279,80 +253,60 @@ override_tp4_c32:
roles:
agg:
args:
mem-fraction-static: 0.95
mem-fraction-static: 0.92
max-running-requests: 64
cuda-graph-max-bs-decode: 64
chunked-prefill-size: 16384
max-prefill-tokens: 16384
schedule-policy: shortest-prefill-first
prefill-decode-interval: 128
swa-full-tokens-ratio: 0.1
enable-layernorm-sp: true
enable-megamoe-for-layernorm-sp: true
enable-hierarchical-cache: true
hicache-size: 170
stream-interval: 20
env:
SGLANG_OPT_DEEPGEMM_MEGA_MOE_NUM_MAX_TOKENS_PER_RANK: '4096'
benchmark:
env:
CONC: '32'
KV_OFFLOADING: dram

override_tp4_c40:
roles:
agg:
args:
mem-fraction-static: 0.95
max-running-requests: 80
cuda-graph-max-bs-decode: 80
chunked-prefill-size: 16384
max-prefill-tokens: 16384
schedule-policy: shortest-prefill-first
prefill-decode-interval: 96
swa-full-tokens-ratio: 0.2
enable-layernorm-sp: true
enable-megamoe-for-layernorm-sp: true
enable-hierarchical-cache: true
hicache-size: 170
hicache-size: 250
stream-interval: 20
disable-prefill-cuda-graph: true
env:
SGLANG_OPT_DEEPGEMM_MEGA_MOE_NUM_MAX_TOKENS_PER_RANK: '4096'
SGLANG_TRTLLM_MHA_DECODE_SEQ_LEN_SPLITS: '4'
benchmark:
env:
CONC: '40'
CONC: '32'
KV_OFFLOADING: dram

override_tp4_c44:
override_tp4_c38:
roles:
agg:
args:
mem-fraction-static: 0.95
max-running-requests: 24
cuda-graph-max-bs-decode: 24
mem-fraction-static: 0.92
max-running-requests: 16
cuda-graph-max-bs-decode: 76
chunked-prefill-size: 16384
max-prefill-tokens: 16384
swa-full-tokens-ratio: 0.1
schedule-policy: shortest-prefill-first
prefill-decode-interval: 56
swa-full-tokens-ratio: 0.2
enable-layernorm-sp: true
enable-megamoe-for-layernorm-sp: true
enable-hierarchical-cache: true
hicache-size: 170
hicache-write-policy: write_back
hicache-size: 250
stream-interval: 20
disable-prefill-cuda-graph: true
env:
SGLANG_OPT_DEEPGEMM_MEGA_MOE_NUM_MAX_TOKENS_PER_RANK: '4096'
SGLANG_TRTLLM_MHA_DECODE_SEQ_LEN_SPLITS: '4'
SGLANG_DFLASH_EAGER_DRAFT_SAMPLER: '0'
benchmark:
env:
CONC: '44'
CONC: '38'
KV_OFFLOADING: dram

override_tp4_c48:
roles:
agg:
args:
mem-fraction-static: 0.95
mem-fraction-static: 0.92
max-running-requests: 26
cuda-graph-max-bs-decode: 26
chunked-prefill-size: 16384
Expand All @@ -364,6 +318,7 @@ override_tp4_c48:
hicache-size: 170
hicache-write-policy: write_back
stream-interval: 20
disable-prefill-cuda-graph: true
env:
SGLANG_OPT_DEEPGEMM_MEGA_MOE_NUM_MAX_TOKENS_PER_RANK: '4096'
SGLANG_TRTLLM_MHA_DECODE_SEQ_LEN_SPLITS: '4'
Expand Down
6 changes: 3 additions & 3 deletions inferencex-e2e/configs/nvidia-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7545,7 +7545,7 @@ glm5.2-fp4-b300-dynamo-sglang-agentic-agg-tp4:
dp-attn: true

musespark-fp4-b300-sglang-agentic-dflash:
image: lmsysorg/sglang:nightly-dev-20261021-c1c287a4
image: lmsysorg/sglang:nightly-dev-cu13-20261030-302b78cc
model: meta-models/Muse-Spark-Open-816B-A42B-NVFP4
model-prefix: musespark
runner: cluster:b300-dsxe
Expand All @@ -7557,8 +7557,8 @@ musespark-fp4-b300-sglang-agentic-dflash:
agentic-coding:
- dram-utilization: 0.80
search-space:
- { tp: 8, ep: 8, kv-offloading: none, spec-decoding: draft_model, conc-list: [1, 4, 8, 10, 14, 16, 20, 24], srt-recipe: agentic.yaml }
- { tp: 4, ep: 4, kv-offloading: dram, kv-offload-backend: { name: hicache }, spec-decoding: draft_model, conc-list: [16, 28, 32, 40, 44, 48], srt-recipe: agentic.yaml }
- { tp: 8, ep: 8, kv-offloading: none, spec-decoding: draft_model, conc-list: [1, 4, 7, 16, 20, 24], srt-recipe: agentic.yaml }
- { tp: 4, ep: 4, kv-offloading: dram, kv-offload-backend: { name: hicache }, spec-decoding: draft_model, conc-list: [16, 28, 32, 38, 48], srt-recipe: agentic.yaml }

musespark-fp4-h100-sglang-agentic-dflash:
image: lmsysorg/sglang:dev-muse-spark-open@sha256:8cfc5a72cb296771f5f8a4a4688cb6d05685610a830cbb616fa4ab0eb7bb2b0a
Expand Down
9 changes: 9 additions & 0 deletions inferencex-e2e/perf-changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11971,3 +11971,12 @@
- "Collect Grace CPU power on the Kimi K3 GB300 aggregate AgentX recipe, with cpu-power-exporter v2.66.1."
- "Publish CPU socket, rail, SysIO and module power over the GPU window, independent of the GPU verdict, and per-host GPU power in workers[]."
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/3296

- config-keys:
- musespark-fp4-b300-sglang-agentic-dflash
scenario-type:
- agentic-coding
description:
- "Update the Muse Spark Open B300 curve to lmsysorg/sglang:nightly-dev-cu13-20261030-302b78cc; run TP8/EP8 at concurrency 1, 4, 7, 16, 20, 24 and TP4/EP4 HiCache at concurrency 16, 28, 32, 38, 48."
- "Disable prefill CUDA graphs at TP4 with mem-fraction-static 0.92 and keep breakable prefill graphs at TP8; retune request admission, prefill-decode interval and stream interval per concurrency, with 250 GB per-rank HiCache and SWA/full ratio 0.2 at concurrency 32 and 38."
pr-link: https://github.com/SemiAnalysisAI/InferenceX/pull/4725
Loading