-
Notifications
You must be signed in to change notification settings - Fork 261
perf: add GB200 Qwen3.5 FP4 SGLang MTP AgentX #2568
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
248c1fe
Add GB200 Qwen3.5 SGLang MTP AgentX sweep
cquil11 f2719fc
Document GB200 Qwen3.5 AgentX submission
cquil11 abc870d
Fix GB200 Qwen3.5 MTP startup limits
cquil11 c954032
Merge current main into GB200 Qwen3.5 AgentX
cquil11 2922b6d
perf(gb200): select Qwen3.5 AgentX frontier
cquil11 b04915f
Merge current main into GB200 Qwen3.5 AgentX [skip-sweep]
cquil11 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
78 changes: 78 additions & 0 deletions
78
...s/multi_node/srt-slurm-recipes/sglang/qwen3.5/gb200-fp4/agentic/agg-gb200-tp2ep2-mtp.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,78 @@ | ||
| name: qwen35-gb200-sglang-agentic-mtp-agg-tp2ep2 | ||
|
|
||
| model: { path: qwen3.5-fp4, container: dynamo-sglang, precision: fp4 } | ||
| identity: | ||
| model: { repo: nvidia/Qwen3.5-397B-A17B-NVFP4-V2 } | ||
| container: { image: lmsysorg/sglang:v0.5.17-cu130 } | ||
| slurm: { time_limit: "8:00:00" } | ||
| health_check: { max_attempts: 2160, interval_seconds: 10 } | ||
| resources: { gpu_type: gb200, gpus_per_node: 4, agg_nodes: 1, agg_workers: 1, gpus_per_agg: 2 } | ||
| infra: { nats_max_payload_mb: 8 } | ||
| frontend: | ||
| type: sglang | ||
| args: | ||
| worker-startup-timeout-secs: 3600 | ||
|
|
||
| backend: | ||
| type: sglang | ||
| aggregated_environment: | ||
| PYTHONNOUSERSITE: "1" | ||
| NCCL_CUMEM_ENABLE: "1" | ||
| NCCL_MNNVL_ENABLE: "1" | ||
| NCCL_NVLS_ENABLE: "1" | ||
| SGLANG_ENABLE_FLASHINFER_GEMM: "true" | ||
| SGLANG_ENABLE_SPEC_V2: "1" | ||
| SGL_ENABLE_JIT_DEEPGEMM: "false" | ||
| TORCH_CUDA_ARCH_LIST: "10.0" | ||
| sglang_config: | ||
| aggregated: | ||
| served-model-name: nvidia/Qwen3.5-397B-A17B-NVFP4-V2 | ||
| model-path: /model/ | ||
| trust-remote-code: true | ||
| tensor-parallel-size: 2 | ||
| data-parallel-size: 1 | ||
| expert-parallel-size: 2 | ||
| enable-symm-mem: true | ||
| quantization: modelopt_fp4 | ||
| fp4-gemm-backend: flashinfer_cutlass | ||
| kv-cache-dtype: fp8_e4m3 | ||
| mamba-ssm-dtype: bfloat16 | ||
| mamba-scheduler-strategy: extra_buffer | ||
| mamba-track-interval: 8192 | ||
| attention-backend: trtllm_mha | ||
| linear-attn-decode-backend: flashinfer | ||
| moe-runner-backend: flashinfer_trtllm | ||
| speculative-algorithm: NEXTN | ||
| speculative-num-steps: 3 | ||
| speculative-eagle-topk: 1 | ||
| speculative-num-draft-tokens: 4 | ||
| cuda-graph-max-bs: 64 | ||
| max-running-requests: 40 | ||
| max-prefill-tokens: 16384 | ||
| chunked-prefill-size: 16384 | ||
| mem-fraction-static: 0.85 | ||
| max-mamba-cache-size: 200 | ||
| allow-auto-truncate: true | ||
| stream-interval: 50 | ||
| scheduler-recv-interval: 10 | ||
| mamba-max-states-per-path: 1 | ||
| enable-metrics: true | ||
| enable-cache-report: true | ||
|
|
||
| sbatch_directives: { mem: "0", cpus-per-task: "144" } | ||
| srun_options: { mem: "0", container-remap-root: "" } | ||
| benchmark: | ||
| type: custom | ||
| command: bash /infmax-workspace/benchmarks/multi_node/agentic_srt.sh | ||
| env: | ||
| INFMAX_CONTAINER_WORKSPACE: /infmax-workspace | ||
| RESULT_DIR: /logs/agentic | ||
| PORT: "8000" | ||
| IS_MULTINODE: "false" | ||
| TP: "2" | ||
| AIPERF_HTTP_X_DYNAMO_SESSION_ID_FROM_CORRELATION_ID: "true" | ||
| AIPERF_USE_DYNAMO_CONV_AWARE_ROUTING: "0" | ||
| WEKA_LOADER_OVERRIDE: semianalysis_cc_traces_weka_062126_256k | ||
| AIPERF_DATASET_MMAP_CACHE_DIR: /aiperf_mmap_cache | ||
| HF_HUB_CACHE: /hf_hub_cache | ||
| AIPERF_REQUIRED_SERVER_METRIC_PREFIX: "sglang:" |
85 changes: 85 additions & 0 deletions
85
...ti_node/srt-slurm-recipes/sglang/qwen3.5/gb200-fp4/agentic/agg-gb200-tp4-mtp-hicache.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,85 @@ | ||
| name: qwen35-gb200-sglang-agentic-mtp-agg-tp4-hicache | ||
|
|
||
| model: { path: qwen3.5-fp4, container: dynamo-sglang, precision: fp4 } | ||
| identity: | ||
| model: { repo: nvidia/Qwen3.5-397B-A17B-NVFP4-V2 } | ||
| container: { image: lmsysorg/sglang:v0.5.17-cu130 } | ||
| slurm: { time_limit: "8:00:00" } | ||
| health_check: { max_attempts: 2160, interval_seconds: 10 } | ||
| resources: { gpu_type: gb200, gpus_per_node: 4, agg_nodes: 1, agg_workers: 1, gpus_per_agg: 4 } | ||
| infra: { nats_max_payload_mb: 8 } | ||
| frontend: | ||
| type: sglang | ||
| args: | ||
| worker-startup-timeout-secs: 3600 | ||
|
|
||
| backend: | ||
| type: sglang | ||
| aggregated_environment: | ||
| PYTHONNOUSERSITE: "1" | ||
| NCCL_CUMEM_ENABLE: "1" | ||
| NCCL_MNNVL_ENABLE: "1" | ||
| NCCL_NVLS_ENABLE: "1" | ||
| SGLANG_ENABLE_FLASHINFER_GEMM: "true" | ||
| SGLANG_ENABLE_SPEC_V2: "1" | ||
| SGL_ENABLE_JIT_DEEPGEMM: "false" | ||
| TORCH_CUDA_ARCH_LIST: "10.0" | ||
| sglang_config: | ||
| aggregated: | ||
| served-model-name: nvidia/Qwen3.5-397B-A17B-NVFP4-V2 | ||
| model-path: /model/ | ||
| trust-remote-code: true | ||
| tensor-parallel-size: 4 | ||
| data-parallel-size: 1 | ||
| expert-parallel-size: 1 | ||
| enable-symm-mem: true | ||
| quantization: modelopt_fp4 | ||
| fp4-gemm-backend: flashinfer_cutlass | ||
| kv-cache-dtype: fp8_e4m3 | ||
| mamba-ssm-dtype: bfloat16 | ||
| mamba-scheduler-strategy: extra_buffer | ||
| mamba-track-interval: 8192 | ||
| attention-backend: trtllm_mha | ||
| linear-attn-decode-backend: flashinfer | ||
| moe-runner-backend: flashinfer_trtllm | ||
| speculative-algorithm: NEXTN | ||
| speculative-num-steps: 3 | ||
| speculative-eagle-topk: 1 | ||
| speculative-num-draft-tokens: 4 | ||
| cuda-graph-max-bs: 64 | ||
| max-running-requests: 160 | ||
| max-prefill-tokens: 16384 | ||
| chunked-prefill-size: 16384 | ||
| mem-fraction-static: 0.78 | ||
| max-mamba-cache-size: 360 | ||
| allow-auto-truncate: true | ||
| stream-interval: 50 | ||
| scheduler-recv-interval: 10 | ||
| tokenizer-worker-num: 6 | ||
| page-size: 64 | ||
| enable-hierarchical-cache: true | ||
| hicache-ratio: 0.70 | ||
| hicache-io-backend: kernel | ||
| hicache-mem-layout: page_first_direct | ||
| hicache-write-policy: write_back | ||
| mamba-max-states-per-path: 1 | ||
| enable-metrics: true | ||
| enable-cache-report: true | ||
|
|
||
| sbatch_directives: { mem: "0", cpus-per-task: "144" } | ||
| srun_options: { mem: "0", container-remap-root: "" } | ||
| benchmark: | ||
| type: custom | ||
| command: bash /infmax-workspace/benchmarks/multi_node/agentic_srt.sh | ||
| env: | ||
| INFMAX_CONTAINER_WORKSPACE: /infmax-workspace | ||
| RESULT_DIR: /logs/agentic | ||
| PORT: "8000" | ||
| IS_MULTINODE: "false" | ||
| TP: "4" | ||
| AIPERF_HTTP_X_DYNAMO_SESSION_ID_FROM_CORRELATION_ID: "true" | ||
| AIPERF_USE_DYNAMO_CONV_AWARE_ROUTING: "0" | ||
| WEKA_LOADER_OVERRIDE: semianalysis_cc_traces_weka_062126_256k | ||
| AIPERF_DATASET_MMAP_CACHE_DIR: /aiperf_mmap_cache | ||
| HF_HUB_CACHE: /hf_hub_cache | ||
| AIPERF_REQUIRED_SERVER_METRIC_PREFIX: "sglang:" |
92 changes: 92 additions & 0 deletions
92
...arks/multi_node/srt-slurm-recipes/sglang/qwen3.5/gb200-fp4/agentic/agg-gb200-tp4-mtp.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,92 @@ | ||
| name: qwen35-gb200-sglang-agentic-mtp-agg-tp4 | ||
|
|
||
| model: | ||
| path: qwen3.5-fp4 | ||
| container: dynamo-sglang | ||
| precision: fp4 | ||
|
|
||
| identity: | ||
| model: { repo: nvidia/Qwen3.5-397B-A17B-NVFP4-V2 } | ||
| container: { image: lmsysorg/sglang:v0.5.17-cu130 } | ||
|
|
||
| slurm: { time_limit: "8:00:00" } | ||
| health_check: { max_attempts: 2160, interval_seconds: 10 } | ||
|
|
||
| resources: | ||
| gpu_type: gb200 | ||
| gpus_per_node: 4 | ||
| agg_nodes: 1 | ||
| agg_workers: 1 | ||
| gpus_per_agg: 4 | ||
|
|
||
| infra: { nats_max_payload_mb: 8 } | ||
| frontend: | ||
| type: sglang | ||
| args: | ||
| worker-startup-timeout-secs: 3600 | ||
|
|
||
| backend: | ||
| type: sglang | ||
| aggregated_environment: | ||
| PYTHONNOUSERSITE: "1" | ||
| NCCL_CUMEM_ENABLE: "1" | ||
| NCCL_MNNVL_ENABLE: "1" | ||
| NCCL_NVLS_ENABLE: "1" | ||
| SGLANG_ENABLE_FLASHINFER_GEMM: "true" | ||
| SGLANG_ENABLE_SPEC_V2: "1" | ||
| SGL_ENABLE_JIT_DEEPGEMM: "false" | ||
| TORCH_CUDA_ARCH_LIST: "10.0" | ||
| sglang_config: | ||
| aggregated: | ||
| served-model-name: nvidia/Qwen3.5-397B-A17B-NVFP4-V2 | ||
| model-path: /model/ | ||
| trust-remote-code: true | ||
| tensor-parallel-size: 4 | ||
| data-parallel-size: 1 | ||
| expert-parallel-size: 1 | ||
| enable-symm-mem: true | ||
| quantization: modelopt_fp4 | ||
| fp4-gemm-backend: flashinfer_cutlass | ||
| kv-cache-dtype: fp8_e4m3 | ||
| mamba-ssm-dtype: bfloat16 | ||
| mamba-scheduler-strategy: extra_buffer | ||
| mamba-track-interval: 8192 | ||
| attention-backend: trtllm_mha | ||
| linear-attn-decode-backend: flashinfer | ||
| moe-runner-backend: flashinfer_trtllm | ||
| speculative-algorithm: NEXTN | ||
| speculative-num-steps: 3 | ||
| speculative-eagle-topk: 1 | ||
| speculative-num-draft-tokens: 4 | ||
| cuda-graph-max-bs: 64 | ||
| max-running-requests: 160 | ||
| max-prefill-tokens: 16384 | ||
| chunked-prefill-size: 16384 | ||
| mem-fraction-static: 0.80 | ||
| max-mamba-cache-size: 360 | ||
| allow-auto-truncate: true | ||
| stream-interval: 50 | ||
| scheduler-recv-interval: 10 | ||
| tokenizer-worker-num: 6 | ||
| mamba-max-states-per-path: 1 | ||
| enable-metrics: true | ||
| enable-cache-report: true | ||
|
|
||
| sbatch_directives: { mem: "0", cpus-per-task: "144" } | ||
| srun_options: { mem: "0", container-remap-root: "" } | ||
|
|
||
| benchmark: | ||
| type: custom | ||
| command: bash /infmax-workspace/benchmarks/multi_node/agentic_srt.sh | ||
| env: | ||
| INFMAX_CONTAINER_WORKSPACE: /infmax-workspace | ||
| RESULT_DIR: /logs/agentic | ||
| PORT: "8000" | ||
| IS_MULTINODE: "false" | ||
| TP: "4" | ||
| AIPERF_HTTP_X_DYNAMO_SESSION_ID_FROM_CORRELATION_ID: "true" | ||
| AIPERF_USE_DYNAMO_CONV_AWARE_ROUTING: "0" | ||
| WEKA_LOADER_OVERRIDE: semianalysis_cc_traces_weka_062126_256k | ||
| AIPERF_DATASET_MMAP_CACHE_DIR: /aiperf_mmap_cache | ||
| HF_HUB_CACHE: /hf_hub_cache | ||
| AIPERF_REQUIRED_SERVER_METRIC_PREFIX: "sglang:" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: Missing the AIPerf dynamo conv-aware-routing opt-out that every other SGLang agentic recipe sets (applies to all 4 new recipes in this PR).
Why it matters: With
FRAMEWORK=dynamo-sglangand neitherAIPERF_USE_DYNAMO_CONV_AWARE_ROUTING=0norAIPERF_HTTP_X_DYNAMO_SESSION_ID_FROM_CORRELATION_ID=trueset,benchmarks/benchmark_lib.sh:1982-1991defaults to appending--use-dynamo-conv-aware-routing, which makes AIPerf emitnvext.session_controlbind/close actions in request bodies. That field targets the dynamo frontend's KV router — these recipes usefrontend: { type: sglang }, which doesn't implement it (best case it's silently ignored payload noise; the same mechanism 400s on current dynamo builds per the comment in benchmark_lib.sh). Every existing SGLang agentic recipe (deepseek-v4, glm5.2, and the GB300 qwen3.5 siblings these recipes mirror, e.g.agg-gb300-tp2-c1-mtp-hicache-jid2530006.yaml:89-90) explicitly opts out.Fix: Mirror the GB300 siblings in all four recipes: