-
Notifications
You must be signed in to change notification settings - Fork 305
Add DSV4 B200 disaggregated Dynamo SGLang MTP configuration / 新增 DSV4 B200 分离式 Dynamo SGLang MTP 配置 #2554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DSV4 B200 disaggregated Dynamo SGLang MTP configuration / 新增 DSV4 B200 分离式 Dynamo SGLang MTP 配置 #2554
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,147 @@ | ||
| name: "disagg-b200-8k1k-mid-curve-1p2d-dep8-dep8-mtp" | ||
|
|
||
| frontend: | ||
| type: dynamo | ||
| enable_multiple_frontends: true | ||
| num_additional_frontends: 8 | ||
|
|
||
| dynamo: | ||
| hash: "92f5b3b8d7dd5ab9179d4b1034bd2c1c0803693e" | ||
| install: true | ||
|
|
||
| model: | ||
| path: "deepseek-v4-pro" | ||
| container: "lmsysorg/sglang:nightly-dev-cu13-20260710-cfc66e05" | ||
| precision: "fp4" | ||
|
|
||
| sbatch_directives: | ||
| cpus-per-task: "144" | ||
| mem: "0" | ||
|
|
||
| resources: | ||
| gpu_type: "b200" | ||
| gpus_per_node: 8 | ||
| prefill_nodes: 1 | ||
| prefill_workers: 1 | ||
| gpus_per_prefill: 8 | ||
| decode_nodes: 2 | ||
| decode_workers: 2 | ||
| gpus_per_decode: 8 | ||
|
|
||
| health_check: | ||
| max_attempts: 240 | ||
|
|
||
| backend: | ||
| type: sglang | ||
|
|
||
| prefill_environment: | ||
| PYTHONUNBUFFERED: "1" | ||
| SGLANG_RADIX_FORCE_MISS: "1" | ||
| SGLANG_JIT_DEEPGEMM_FAST_WARMUP: "1" | ||
| SGLANG_DEFAULT_THINKING: "1" | ||
| SGLANG_DSV4_REASONING_EFFORT: "max" | ||
| SGLANG_OPT_SWA_SPLIT_LEAF_ON_INSERT: "1" | ||
| SGLANG_OPT_SWA_EVICT_DROP_PAGE_MARGIN: "1" | ||
| SGLANG_OPT_DEEPGEMM_MEGA_MOE_NUM_MAX_TOKENS_PER_RANK: "9216" | ||
| SGLANG_OPT_DEEPGEMM_MEGA_MOE_USE_FP4_ACTS: "1" | ||
| SGLANG_OPT_DEEPGEMM_MEGA_MOE_USE_MXF4_KIND: "1" | ||
| SGLANG_OPT_FIX_MEGA_MOE_MEMORY: "1" | ||
|
|
||
| NCCL_CUMEM_ENABLE: "1" | ||
| # Keep RC for inter-node transport, but stage CUDA buffers through host memory. | ||
| UCX_TLS: "rc,cuda_ipc,cuda_copy,self" | ||
| UCX_IB_GPU_DIRECT_RDMA: "no" | ||
| UCX_PROTO_EMULATION_ENABLE: "y" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 WARNING: |
||
| UCX_PROTO_INFO: "y" | ||
| SGLANG_DISAGGREGATION_BOOTSTRAP_TIMEOUT: "100000" | ||
| SGLANG_DISAGGREGATION_WAITING_TIMEOUT: "100000" | ||
| SGLANG_OPT_SWA_RELEASE_LEAF_LOCK_AFTER_WINDOW: "1" | ||
|
|
||
| decode_environment: | ||
| PYTHONUNBUFFERED: "1" | ||
| SGLANG_RADIX_FORCE_MISS: "1" | ||
| SGLANG_JIT_DEEPGEMM_FAST_WARMUP: "1" | ||
| SGLANG_DEFAULT_THINKING: "1" | ||
| SGLANG_DSV4_REASONING_EFFORT: "max" | ||
| SGLANG_OPT_SWA_SPLIT_LEAF_ON_INSERT: "1" | ||
| SGLANG_OPT_SWA_EVICT_DROP_PAGE_MARGIN: "1" | ||
| SGLANG_OPT_DEEPGEMM_MEGA_MOE_NUM_MAX_TOKENS_PER_RANK: "2048" | ||
| SGLANG_OPT_DEEPGEMM_MEGA_MOE_USE_FP4_ACTS: "1" | ||
| SGLANG_OPT_DEEPGEMM_MEGA_MOE_USE_MXF4_KIND: "1" | ||
| SGLANG_OPT_FIX_MEGA_MOE_MEMORY: "1" | ||
|
|
||
| NCCL_CUMEM_ENABLE: "1" | ||
| # Keep RC for inter-node transport, but stage CUDA buffers through host memory. | ||
| UCX_TLS: "rc,cuda_ipc,cuda_copy,self" | ||
| UCX_IB_GPU_DIRECT_RDMA: "no" | ||
| UCX_PROTO_EMULATION_ENABLE: "y" | ||
| UCX_PROTO_INFO: "y" | ||
| SGLANG_DISAGGREGATION_BOOTSTRAP_TIMEOUT: "100000" | ||
| SGLANG_DISAGGREGATION_WAITING_TIMEOUT: "100000" | ||
| SGLANG_OPT_SWA_RELEASE_LEAF_LOCK_AFTER_WINDOW: "1" | ||
| SGLANG_OPT_USE_CUSTOM_ALL_REDUCE_V2: "0" | ||
|
|
||
| sglang_config: | ||
| prefill: | ||
| served-model-name: "deepseek-ai/DeepSeek-V4-Pro" | ||
| model-path: "/model/" | ||
| trust-remote-code: true | ||
| tool-call-parser: deepseekv4 | ||
| disaggregation-mode: "prefill" | ||
| disaggregation-transfer-backend: nixl | ||
|
|
||
| tensor-parallel-size: 8 | ||
| data-parallel-size: 8 | ||
| expert-parallel-size: 8 | ||
|
|
||
| enable-dp-attention: true | ||
| enable-dp-lm-head: true | ||
|
|
||
| moe-a2a-backend: "megamoe" | ||
| deepep-config: '{"normal_dispatch":{"num_sms":96},"normal_combine":{"num_sms":96}}' | ||
|
|
||
| mem-fraction-static: 0.8 | ||
| max-running-requests: 512 | ||
| cuda-graph-max-bs: 512 | ||
| chunked-prefill-size: 65536 | ||
| stream-interval: 60 | ||
|
|
||
| decode: | ||
| served-model-name: "deepseek-ai/DeepSeek-V4-Pro" | ||
| model-path: "/model/" | ||
| trust-remote-code: true | ||
| tool-call-parser: deepseekv4 | ||
| disaggregation-mode: "decode" | ||
| disaggregation-transfer-backend: nixl | ||
|
|
||
| tensor-parallel-size: 8 | ||
| data-parallel-size: 8 | ||
| expert-parallel-size: 8 | ||
|
|
||
| enable-dp-attention: true | ||
| enable-dp-lm-head: true | ||
|
|
||
| moe-a2a-backend: "megamoe" | ||
| deepep-config: '{"normal_dispatch":{"num_sms":96},"normal_combine":{"num_sms":96}}' | ||
|
|
||
| speculative-algo: "EAGLE" | ||
| speculative-num-steps: 3 | ||
| speculative-eagle-topk: 1 | ||
| speculative-num-draft-tokens: 4 | ||
|
|
||
| mem-fraction-static: 0.85 | ||
| max-running-requests: 1024 | ||
| cuda-graph-max-bs: 512 | ||
| swa-full-tokens-ratio: 0.15 | ||
| context-length: 16384 | ||
| stream-interval: 60 | ||
|
|
||
| benchmark: | ||
| type: "sa-bench" | ||
| isl: 8192 | ||
| osl: 1024 | ||
| random_range_ratio: 0.8 | ||
| concurrencies: "256" | ||
| req_rate: "inf" | ||
| use_chat_template: true | ||
| custom_tokenizer: "sa_bench_tokenizers.sglang_deepseek_v4.SGLangDeepseekV4Tokenizer" | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 WARNING:
cpus-per-task: "144"looks copied from GB200/B300 recipes and may be unsatisfiable on nscale B200 nodesWhy it matters: 144 matches GB200/GB300 Grace nodes (2×72 cores) — see e.g.
disagg-gb200-mid-curve-1p1d-dep8-dep16-mtp.yaml, which this recipe otherwise mirrors. The B200 nscale nodes are x86 (the siblingdsv4-fp4-b200-dynamo-vllm-mtprecipes use thevllm-x86_64image), and none of the existing B200 nscale recipes setcpus-per-task(they usesbatch_directives: segment: "1"instead, e.g.benchmarks/multi_node/srt-slurm-recipes/vllm/deepseek-v4/8k1k/disagg-b200-1p1d-dep8-dep8-mtp.yaml:15). If the nscale nodes have fewer than 144 cores available per task,sbatchrejects the job with "Requested node configuration is not available" and the canary never starts.Fix: Confirm the nscale B200 node core count supports
--cpus-per-task=144, or drop the directive (and consider whethersegment: "1"from the existing nscale recipes is needed) so Slurm uses its defaults.