-
Notifications
You must be signed in to change notification settings - Fork 189
Add DSv4-Pro FP4 GB200 SGLang disagg + MTP config #1676
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
base: main
Are you sure you want to change the base?
Changes from all commits
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,124 @@ | ||
| name: "dsv4-pro-gb200-disagg-8k1k-low-latency-1p1d-tp8-tp8-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-20260528-0abe6a85" | ||
| precision: "fp4" | ||
|
|
||
| sbatch_directives: | ||
| cpus-per-task: "144" | ||
| mem: "0" | ||
|
|
||
| resources: | ||
| gpu_type: "gb200" | ||
| gpus_per_node: 4 | ||
| prefill_nodes: 2 | ||
| prefill_workers: 1 | ||
| gpus_per_prefill: 8 | ||
| decode_nodes: 2 | ||
| decode_workers: 1 | ||
| gpus_per_decode: 8 | ||
|
|
||
| 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" | ||
| NCCL_MNNVL_ENABLE: "1" | ||
| NCCL_CUMEM_ENABLE: "1" | ||
| SGLANG_MOONCAKE_CUSTOM_MEM_POOL: "True" | ||
| MC_FORCE_MNNVL: "1" | ||
| 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" | ||
| NCCL_MNNVL_ENABLE: "1" | ||
| NCCL_CUMEM_ENABLE: "1" | ||
| SGLANG_MOONCAKE_CUSTOM_MEM_POOL: "True" | ||
| MC_FORCE_MNNVL: "1" | ||
| SGLANG_DISAGGREGATION_BOOTSTRAP_TIMEOUT: "100000" | ||
| SGLANG_DISAGGREGATION_WAITING_TIMEOUT: "100000" | ||
| SGLANG_OPT_SWA_RELEASE_LEAF_LOCK_AFTER_WINDOW: "1" | ||
|
Comment on lines
+50
to
+64
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. 🔴 The two new low-latency GB200 recipes (this file and Extended reasoning...What the bug is. Both new low-latency GB200 files in this PR — |
||
|
|
||
| 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: mooncake | ||
|
|
||
| tensor-parallel-size: 8 | ||
| data-parallel-size: 1 | ||
| expert-parallel-size: 1 | ||
|
|
||
| moe-runner-backend: "flashinfer_mxfp4" | ||
| disable-flashinfer-autotune: true | ||
|
|
||
| mem-fraction-static: 0.9 | ||
| max-running-requests: 16 | ||
| cuda-graph-max-bs: 8 | ||
| chunked-prefill-size: 65536 | ||
|
|
||
| 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: mooncake | ||
|
|
||
| tensor-parallel-size: 8 | ||
| data-parallel-size: 1 | ||
| expert-parallel-size: 1 | ||
|
|
||
| moe-runner-backend: "flashinfer_mxfp4" | ||
| disable-flashinfer-autotune: true | ||
|
|
||
| speculative-algo: "EAGLE" | ||
| speculative-num-steps: 3 | ||
| speculative-eagle-topk: 1 | ||
| speculative-num-draft-tokens: 4 | ||
|
|
||
| mem-fraction-static: 0.9 | ||
| max-running-requests: 8 | ||
| cuda-graph-max-bs: 8 | ||
| swa-full-tokens-ratio: 0.1 | ||
| context-length: 16384 | ||
|
|
||
| benchmark: | ||
| type: "sa-bench" | ||
| isl: 8192 | ||
| osl: 1024 | ||
| random_range_ratio: 0.8 | ||
| concurrencies: "1" | ||
| 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.
Missing multinode all-reduce disable
High Severity
The low-latency GB200 MTP recipes run TP8 decode across two nodes per worker but their
decode_environmentblocks never setSGLANG_OPT_USE_CUSTOM_ALL_REDUCE_V2to0. The mid-curve GB200 MTP recipes added in the same change do set that flag, and existing DSV4 slurm recipe notes tie custom all-reduce v2 to incorrect results on multi-node decode.Additional Locations (1)
benchmarks/multi_node/srt-slurm-recipes/sglang/deepseek-v4/8k1k/disagg-gb200-low-latency-1p6d-dep8-tp8-mtp.yaml#L54-L68Reviewed by Cursor Bugbot for commit 5c201f6. Configure here.