Skip to content

Commit 18c53d0

Browse files
committed
feat(dsxe): add B300 disaggregated c64 point
Replace the aggregate TP4 c8 point with a 1P1D DEP8 c64 recipe and remove the explicit Prometheus multiprocess-directory workaround.\n\n以 1P1D DEP8 c64 配方替换聚合式 TP4 c8 测试点,并移除显式的 Prometheus 多进程目录 workaround。
1 parent 8c4b43c commit 18c53d0

7 files changed

Lines changed: 246 additions & 154 deletions

File tree

‎inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/configs/install-mooncake-efa-cu13.sh‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ set -eo pipefail
33

44
python3 -m pip uninstall --break-system-packages -y mooncake-transfer-engine-cuda13 mooncake-transfer-engine-efa-cuda13
55
python3 -m pip install --break-system-packages --no-deps mooncake-transfer-engine-efa-cuda13==0.3.13.post1
6-
mkdir -p /tmp/sglang-prometheus-prefill /tmp/sglang-prometheus-decode

‎inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/dsv4/sglang/b300-fp4/agentx/agg-tp4-c8-mtp.yaml‎

Lines changed: 0 additions & 128 deletions
This file was deleted.

‎inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/dsv4/sglang/b300-fp4/agentx/disagg-1p1d-dep8-dep8-c240-mtp-kvoffload.yaml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ roles:
6868
SGLANG_DSV4_MHC_PREWARM: '1'
6969
PIP_BREAK_SYSTEM_PACKAGES: '1'
7070
PYTHONUNBUFFERED: '1'
71-
PROMETHEUS_MULTIPROC_DIR: /tmp/sglang-prometheus-prefill
7271
SGLANG_ENABLE_TP_MEMORY_INBALANCE_CHECK: '0'
7372
SGLANG_DG_CACHE_DIR: /configs/deepgemm_cache
7473
SGLANG_JIT_DEEPGEMM_PRECOMPILE: '1'
@@ -144,7 +143,6 @@ roles:
144143
SGLANG_DISAGGREGATION_WAITING_TIMEOUT: "900"
145144
PIP_BREAK_SYSTEM_PACKAGES: '1'
146145
PYTHONUNBUFFERED: '1'
147-
PROMETHEUS_MULTIPROC_DIR: /tmp/sglang-prometheus-decode
148146
SGLANG_ENABLE_TP_MEMORY_INBALANCE_CHECK: '0'
149147
SGLANG_DG_CACHE_DIR: /configs/deepgemm_cache
150148
SGLANG_JIT_DEEPGEMM_PRECOMPILE: '1'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,227 @@
1+
schema: 2
2+
name: "disagg-b300-1p1d-dep8-dep8-c64-mtp-kvoffload"
3+
4+
# Agentic-coding SGLang disaggregated recipe for DeepSeek-V4-Pro-0813 on B300
5+
# (1P x DEP8 / 1D x DEP8, DSpark K=6 + hierarchical-cache KV offload),
6+
# tuned for concurrency 64. Concurrency is exported by the master config.
7+
8+
model:
9+
path: "deepseek-v4-pro-0813"
10+
container: "dynamo-sglang"
11+
precision: "fp4"
12+
13+
identity:
14+
model:
15+
repo: "deepseek-ai/DeepSeek-V4-Pro-0813"
16+
container:
17+
image: "lmsysorg/sglang:nightly-dev-20260916-c9a8fba9"
18+
19+
dynamo:
20+
install: false
21+
22+
setup_script: install-mooncake-efa-cu13.sh
23+
24+
health_check:
25+
max_attempts: 1440
26+
interval_seconds: 10
27+
28+
resources:
29+
gpu_type: b300
30+
gpus_per_node: 8
31+
services:
32+
- name: etcd
33+
type: etcd
34+
placement:
35+
node: dedicated
36+
- name: nats
37+
type: nats
38+
placement:
39+
node: dedicated
40+
options:
41+
max_payload_mb: 32
42+
frontend:
43+
type: dynamo
44+
nginx_session_affinity: true
45+
nginx_session_affinity_header: X-Dynamo-Session-ID
46+
enable_multiple_frontends: true
47+
num_additional_frontends: 4
48+
env:
49+
PIP_BREAK_SYSTEM_PACKAGES: "1"
50+
DYN_TCP_REQUEST_TIMEOUT: "60"
51+
args:
52+
router-mode: "kv"
53+
router-session-affinity-ttl-secs: "3600"
54+
active-decode-blocks-threshold: "None"
55+
active-prefill-tokens-threshold: "None"
56+
active-prefill-tokens-threshold-frac: "None"
57+
58+
engine: sglang
59+
roles:
60+
prefill:
61+
nodes: 1
62+
workers: 1
63+
gpus: 8
64+
env:
65+
SGLANG_ENABLE_PREFILL_WAR_READ_DONE: "1"
66+
SGLANG_RAGGED_VERIFY_MODE: "static"
67+
SGLANG_DISAGGREGATION_WAITING_TIMEOUT: "900"
68+
SGLANG_DSV4_MHC_PREWARM: '1'
69+
PIP_BREAK_SYSTEM_PACKAGES: '1'
70+
PYTHONUNBUFFERED: '1'
71+
SGLANG_ENABLE_TP_MEMORY_INBALANCE_CHECK: '0'
72+
SGLANG_DG_CACHE_DIR: /configs/deepgemm_cache
73+
SGLANG_JIT_DEEPGEMM_PRECOMPILE: '1'
74+
SGLANG_JIT_DEEPGEMM_FAST_WARMUP: '1'
75+
SGLANG_DEFAULT_THINKING: '1'
76+
SGLANG_DSV4_REASONING_EFFORT: high
77+
SGLANG_OPT_SWA_SPLIT_LEAF_ON_INSERT: '1'
78+
SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS: "1"
79+
SGLANG_OPT_USE_CUSTOM_ALL_REDUCE_V2: '1'
80+
SGLANG_OPT_USE_DEEPGEMM_MEGA_MOE: '1'
81+
SGLANG_OPT_DEEPGEMM_MEGA_MOE_NUM_MAX_TOKENS_PER_RANK: '9216'
82+
SGLANG_OPT_USE_ONLINE_COMPRESS: '0'
83+
NCCL_CUMEM_ENABLE: '1'
84+
MOONCAKE_PROTOCOL: efa
85+
MC_MS_FILTERS: rdmap191s0
86+
WITH_NVIDIA_PEERMEM: '0'
87+
NCCL_TIMEOUT: '100000'
88+
SGLANG_OPT_SWA_RELEASE_LEAF_LOCK_AFTER_WINDOW: '1'
89+
DYN_SKIP_SGLANG_LOG_FORMATTING: '1'
90+
DYN_LOG: info,dynamo_runtime::pipeline::network::ingress::push_handler=warn
91+
SGLANG_LOG_FORWARD_ITERS: '1'
92+
SGLANG_LOG_MS: '1'
93+
SGLANG_REQUEST_STATE_WAIT_TIMEOUT: '60'
94+
SGLANG_NCCL_ALL_GATHER_IN_OVERLAP_SCHEDULER_SYNC_BATCH: '1'
95+
96+
args:
97+
host: 0.0.0.0
98+
served-model-name: deepseek-ai/DeepSeek-V4-Pro-0813
99+
enable-metrics: true
100+
enable-cache-report: true
101+
model-path: /model/
102+
trust-remote-code: true
103+
watchdog-timeout: 86400
104+
stream-interval: 60
105+
tp-size: 8
106+
dp-size: 8
107+
ep-size: 8
108+
enable-dp-attention: true
109+
enable-dp-lm-head: true
110+
moe-dense-tp-size: 1
111+
moe-a2a-backend: megamoe
112+
enable-deepseek-v4-fp4-indexer: true
113+
enable-w4a4-mxfp4-megamoe: true
114+
disaggregation-transfer-backend: mooncake
115+
disaggregation-mode: prefill
116+
load-balance-method: total_tokens
117+
mem-fraction-static: 0.85
118+
page-size: 256
119+
swa-full-tokens-ratio: 0.02
120+
max-running-requests: 256
121+
cuda-graph-max-bs-prefill: 256
122+
chunked-prefill-size: 65536
123+
disable-flashinfer-autotune: true
124+
model-loader-extra-config: '{"enable_multithread_load":true,"num_threads":8}'
125+
kv-events-config: '{"publisher":"zmq","topic":"kv-events","endpoint":"tcp://*:5557"}'
126+
speculative-algorithm: DSPARK
127+
speculative-dspark-block-size: 6
128+
speculative-num-steps: 1
129+
speculative-eagle-topk: 1
130+
speculative-num-draft-tokens: 7
131+
enable-hierarchical-cache: true
132+
hicache-write-policy: write_back
133+
hicache-ratio: 3
134+
hicache-io-backend: direct
135+
136+
decode:
137+
nodes: 1
138+
workers: 1
139+
gpus: 8
140+
141+
env:
142+
SGLANG_RAGGED_VERIFY_MODE: "static"
143+
SGLANG_DISAGGREGATION_WAITING_TIMEOUT: "900"
144+
PIP_BREAK_SYSTEM_PACKAGES: '1'
145+
PYTHONUNBUFFERED: '1'
146+
SGLANG_ENABLE_TP_MEMORY_INBALANCE_CHECK: '0'
147+
SGLANG_DG_CACHE_DIR: /configs/deepgemm_cache
148+
SGLANG_JIT_DEEPGEMM_PRECOMPILE: '1'
149+
SGLANG_JIT_DEEPGEMM_FAST_WARMUP: '1'
150+
SGLANG_DEFAULT_THINKING: '1'
151+
SGLANG_DSV4_REASONING_EFFORT: high
152+
SGLANG_OPT_SWA_SPLIT_LEAF_ON_INSERT: '1'
153+
SGLANG_OPT_UNIFIED_CACHE_FREE_OUT_OF_WINDOW_SLOTS: "1"
154+
SGLANG_OPT_DEEPGEMM_MEGA_MOE: '1'
155+
SGLANG_OPT_DEEPGEMM_MEGA_MOE_NUM_MAX_TOKENS_PER_RANK: '4096'
156+
SGLANG_OPT_USE_ONLINE_COMPRESS: '0'
157+
NCCL_CUMEM_ENABLE: '1'
158+
MOONCAKE_PROTOCOL: efa
159+
MC_MS_FILTERS: rdmap191s0
160+
WITH_NVIDIA_PEERMEM: '0'
161+
NCCL_TIMEOUT: '100000'
162+
SGLANG_OPT_SWA_RELEASE_LEAF_LOCK_AFTER_WINDOW: '1'
163+
SGLANG_CLIP_MAX_NEW_TOKENS_ESTIMATION: '8'
164+
DYN_SKIP_SGLANG_LOG_FORMATTING: '1'
165+
DYN_LOG: info,dynamo_runtime::pipeline::network::ingress::push_handler=warn
166+
SGLANG_LOG_FORWARD_ITERS: '1'
167+
SGLANG_LOG_MS: '1'
168+
SGLANG_REQUEST_STATE_WAIT_TIMEOUT: '60'
169+
170+
args:
171+
host: 0.0.0.0
172+
served-model-name: deepseek-ai/DeepSeek-V4-Pro-0813
173+
enable-metrics: true
174+
enable-cache-report: true
175+
model-path: /model/
176+
trust-remote-code: true
177+
watchdog-timeout: 86400
178+
stream-interval: 60
179+
tp-size: 8
180+
dp-size: 8
181+
ep-size: 8
182+
enable-dp-attention: true
183+
enable-dp-lm-head: true
184+
moe-dense-tp-size: 1
185+
moe-a2a-backend: megamoe
186+
enable-deepseek-v4-fp4-indexer: true
187+
enable-w4a4-mxfp4-megamoe: true
188+
disaggregation-transfer-backend: mooncake
189+
disaggregation-mode: decode
190+
load-balance-method: total_tokens
191+
mem-fraction-static: 0.9
192+
page-size: 256
193+
swa-full-tokens-ratio: 0.02
194+
max-running-requests: 128
195+
cuda-graph-max-bs-decode: 256
196+
disable-flashinfer-autotune: true
197+
model-loader-extra-config: '{"enable_multithread_load":true,"num_threads":8}'
198+
kv-events-config: '{"publisher":"zmq","topic":"kv-events","endpoint":"tcp://*:5567"}'
199+
speculative-algorithm: DSPARK
200+
speculative-dspark-block-size: 6
201+
speculative-num-steps: 1
202+
speculative-eagle-topk: 1
203+
speculative-num-draft-tokens: 7
204+
205+
206+
sbatch_directives:
207+
mem: "0"
208+
cpus-per-task: "192"
209+
exclude: "dsxe-sa-b300-prd0-gpu-00,dsxe-sa-b300-prd0-gpu-01,dsxe-sa-b300-prd0-gpu-04,dsxe-sa-b300-prd0-gpu-06,dsxe-sa-b300-prd0-gpu-11,dsxe-sa-b300-prd0-gpu-16"
210+
211+
srun_options:
212+
mem: "0"
213+
container-remap-root: ""
214+
215+
benchmark:
216+
type: custom
217+
command: bash /infmax-workspace/benchmarks/srt_agentic.sh
218+
env:
219+
INFMAX_CONTAINER_WORKSPACE: /infmax-workspace
220+
RESULT_DIR: /logs/agentic
221+
PORT: "8000"
222+
IS_MULTINODE: "true"
223+
AIPERF_HTTP_X_DYNAMO_SESSION_ID_FROM_CORRELATION_ID: "true"
224+
AIPERF_USE_DYNAMO_CONV_AWARE_ROUTING: "0"
225+
AIPERF_REQUIRED_SERVER_METRIC_PREFIX: "sglang:"
226+
AIPERF_DATASET_MMAP_CACHE_DIR: "/aiperf_mmap_cache"
227+
HF_HUB_CACHE: "/hf_hub_cache"

‎inferencex-e2e/benchmarks/multi_node/srt-slurm-recipes/dsv4/sglang/b300-fp4/agentx/disagg-2p1d-dep8-dep8-c480-mtp-kvoffload.yaml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ roles:
6767
SGLANG_DISAGGREGATION_WAITING_TIMEOUT: "900"
6868
PIP_BREAK_SYSTEM_PACKAGES: '1'
6969
PYTHONUNBUFFERED: '1'
70-
PROMETHEUS_MULTIPROC_DIR: /tmp/sglang-prometheus-prefill
7170
OMP_NUM_THREADS: '1'
7271
SGLANG_ENABLE_TP_MEMORY_INBALANCE_CHECK: '0'
7372
SGLANG_DG_CACHE_DIR: /configs/deepgemm_cache
@@ -144,7 +143,6 @@ roles:
144143
SGLANG_DISAGGREGATION_WAITING_TIMEOUT: "900"
145144
PIP_BREAK_SYSTEM_PACKAGES: '1'
146145
PYTHONUNBUFFERED: '1'
147-
PROMETHEUS_MULTIPROC_DIR: /tmp/sglang-prometheus-decode
148146
OMP_NUM_THREADS: '1'
149147
SGLANG_ENABLE_TP_MEMORY_INBALANCE_CHECK: '0'
150148
SGLANG_DG_CACHE_DIR: /configs/deepgemm_cache

0 commit comments

Comments
 (0)