Repository navigation
test: validate upstream-native vLLM Router topologies #2731
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
Closed
Closed
Changes from 7 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
68ebcd2
test: validate upstream-native vLLM Router topologies
cquil11 ad30af2
docs: register vLLM Router validation sweep
cquil11 8e56d9b
fix: cap Router AgentX context length
cquil11 437ea21
fix: pass explicit AgentX context limit
cquil11 d643611
test: pin current vLLM Router head
cquil11 fec5884
fix(ci): restore single-node eval matrix output
cquil11 91f0364
test: add SGLang router regression validation
cquil11 2817ade
Merge remote-tracking branch 'origin/main' into agent/vllm-router-ups…
cquil11 197ba23
test: shorten SGLang router smoke benchmarks
cquil11 16a348a
test: keep checkpoint cache during router smoke startup
cquil11 215107c
test: harden SGLang P/D router smoke run
cquil11 c4e5797
test: bound SGLang P/D AgentX smoke context
cquil11 a932d5c
test: follow SGLang P/D AgentX staging precedent
cquil11 5d7b164
test: align SGLang P/D roles with AgentX precedent
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
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
11 changes: 11 additions & 0 deletions
11
benchmarks/multi_node/srt-slurm-recipes/configs/native-vllm-router-deps.sh
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,11 @@ | ||
| #!/usr/bin/env bash | ||
| set -euo pipefail | ||
|
|
||
| python3 -m pip install --no-cache-dir --upgrade "vllm-router==0.1.15" | ||
| command -v vllm-router >/dev/null | ||
| python3 - <<'PY' | ||
| from importlib.metadata import version | ||
|
|
||
| assert version("vllm-router") == "0.1.15" | ||
| print(f"vllm-router {version('vllm-router')}") | ||
| PY |
87 changes: 87 additions & 0 deletions
87
...slurm-recipes/sglang/qwen3.5/gb200-fp4/agentic/agg-gb200-2x-tp2ep2-router-regression.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,87 @@ | ||
| name: qwen35-gb200-sglang-router-regression-agg-2x-tp2ep2 | ||
|
|
||
| model: { path: qwen3.5-fp4, container: lmsysorg/sglang:nightly-dev-20260818-c0b6474b, precision: fp4 } | ||
| identity: | ||
| model: { repo: nvidia/Qwen3.5-397B-A17B-NVFP4-V2 } | ||
| container: { image: lmsysorg/sglang:nightly-dev-20260818-c0b6474b } | ||
| slurm: { time_limit: "2:00:00" } | ||
| health_check: { max_attempts: 720, interval_seconds: 10 } | ||
| resources: { gpu_type: gb200, gpus_per_node: 4, agg_nodes: 1, agg_workers: 2, 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-dp-attention: false | ||
| enable-dp-lm-head: false | ||
| enable-symm-mem: false | ||
| quantization: modelopt_fp4 | ||
| fp4-gemm-backend: flashinfer_cutlass | ||
| kv-cache-dtype: fp8_e4m3 | ||
| mamba-ssm-dtype: bfloat16 | ||
| mamba-radix-cache-strategy: extra_buffer_lazy | ||
| mamba-track-interval: 1048576 | ||
| attention-backend: trtllm_mha | ||
| linear-attn-prefill-backend: flashinfer | ||
| linear-attn-decode-backend: flashinfer | ||
| moe-runner-backend: flashinfer_trtllm | ||
| speculative-moe-runner-backend: flashinfer_trtllm | ||
| speculative-algorithm: NEXTN | ||
| speculative-num-steps: 3 | ||
| speculative-eagle-topk: 1 | ||
| speculative-num-draft-tokens: 4 | ||
| enable-linear-replayssm-spec: true | ||
| linear-replayssm-cache-len: 8 | ||
| cuda-graph-max-bs: 64 | ||
| max-running-requests: 80 | ||
| max-prefill-tokens: 16384 | ||
| chunked-prefill-size: 16384 | ||
| mem-fraction-static: 0.85 | ||
| max-mamba-cache-size: 320 | ||
| allow-auto-truncate: true | ||
| stream-interval: 50 | ||
| scheduler-recv-interval: 10 | ||
| mamba-max-states-per-path: 1 | ||
| weight-loader-prefetch-checkpoints: true | ||
| weight-loader-prefetch-num-threads: 4 | ||
| weight-loader-drop-cache-after-load: true | ||
| 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:" |
102 changes: 102 additions & 0 deletions
102
...-recipes/sglang/qwen3.5/gb200-fp4/agentic/disagg-gb200-1p1d-tp2ep2-router-regression.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,102 @@ | ||
| name: qwen35-gb200-sglang-router-regression-disagg-1p1d-tp2ep2 | ||
|
|
||
| model: { path: qwen3.5-fp4, container: lmsysorg/sglang:nightly-dev-20260818-c0b6474b, precision: fp4 } | ||
| identity: | ||
| model: { repo: nvidia/Qwen3.5-397B-A17B-NVFP4-V2 } | ||
| container: { image: lmsysorg/sglang:nightly-dev-20260818-c0b6474b } | ||
| slurm: { time_limit: "2:00:00" } | ||
| health_check: { max_attempts: 720, interval_seconds: 10 } | ||
| resources: | ||
| gpu_type: gb200 | ||
| gpus_per_node: 4 | ||
| prefill_nodes: 1 | ||
| prefill_workers: 1 | ||
| gpus_per_prefill: 2 | ||
| decode_nodes: 0 | ||
| decode_workers: 1 | ||
| gpus_per_decode: 2 | ||
| infra: { nats_max_payload_mb: 8 } | ||
| frontend: | ||
| type: sglang | ||
| args: | ||
| worker-startup-timeout-secs: 3600 | ||
|
|
||
| backend: | ||
| type: sglang | ||
| prefill_environment: &worker_environment | ||
| PYTHONNOUSERSITE: "1" | ||
| PYTHONUNBUFFERED: "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" | ||
| SGLANG_DISAGGREGATION_BOOTSTRAP_TIMEOUT: "100000" | ||
| SGLANG_DISAGGREGATION_HEARTBEAT_MAX_FAILURE: "100000" | ||
| SGLANG_DISAGGREGATION_WAITING_TIMEOUT: "100000" | ||
| SGLANG_USE_MESSAGE_QUEUE_BROADCASTER: "0" | ||
| TORCH_CUDA_ARCH_LIST: "10.0" | ||
| decode_environment: *worker_environment | ||
| sglang_config: | ||
| prefill: &worker_config | ||
| 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-dp-attention: false | ||
| enable-dp-lm-head: false | ||
| enable-symm-mem: false | ||
| quantization: modelopt_fp4 | ||
| fp4-gemm-backend: flashinfer_cutlass | ||
| kv-cache-dtype: fp8_e4m3 | ||
| mamba-ssm-dtype: bfloat16 | ||
| attention-backend: trtllm_mha | ||
| linear-attn-prefill-backend: flashinfer | ||
| linear-attn-decode-backend: flashinfer | ||
| moe-runner-backend: flashinfer_trtllm | ||
| speculative-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: 80 | ||
| max-prefill-tokens: 16384 | ||
| chunked-prefill-size: 16384 | ||
| mem-fraction-static: 0.80 | ||
| max-mamba-cache-size: 320 | ||
| allow-auto-truncate: true | ||
| stream-interval: 50 | ||
| scheduler-recv-interval: 10 | ||
| mamba-max-states-per-path: 1 | ||
| weight-loader-prefetch-checkpoints: true | ||
| weight-loader-prefetch-num-threads: 4 | ||
| weight-loader-drop-cache-after-load: true | ||
| disaggregation-transfer-backend: nixl | ||
| enable-metrics: true | ||
| enable-cache-report: true | ||
| decode: | ||
| <<: *worker_config | ||
| disable-radix-cache: true | ||
| mem-fraction-static: 0.80 | ||
|
|
||
| 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: "true" | ||
| 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:" | ||
82 changes: 82 additions & 0 deletions
82
...i_node/srt-slurm-recipes/vllm/deepseek-r1/agentic/agg-gb200-dep4-vllm-router-agentic.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,82 @@ | ||
| name: "dsr1-gb200-vllm-router-agg-dep4-agentic" | ||
|
|
||
| model: | ||
| path: "dsr1-nvfp4" | ||
| container: "vllm/vllm-openai:v0.25.1" | ||
| precision: "fp4" | ||
|
|
||
| setup_script: native-vllm-router-deps.sh | ||
|
|
||
| slurm: | ||
| time_limit: "4:00:00" | ||
|
|
||
| health_check: | ||
| max_attempts: 720 | ||
| interval_seconds: 10 | ||
|
|
||
| resources: | ||
| gpu_type: "gb200" | ||
| gpus_per_node: 4 | ||
| agg_nodes: 1 | ||
| agg_workers: 1 | ||
| gpus_per_agg: 4 | ||
|
|
||
| infra: | ||
| etcd_nats_dedicated_node: false | ||
|
|
||
| frontend: | ||
| type: vllm-router | ||
| enable_multiple_frontends: false | ||
| args: | ||
| policy: consistent_hash | ||
|
|
||
| backend: | ||
| type: vllm | ||
| connector: null | ||
| dp_launch_mode: per_node | ||
| aggregated_environment: | ||
| VLLM_ENGINE_READY_TIMEOUT_S: "3600" | ||
| VLLM_EXECUTE_MODEL_TIMEOUT_SECONDS: "1800" | ||
| VLLM_LOG_STATS_INTERVAL: "1" | ||
| VLLM_USE_V2_MODEL_RUNNER: "1" | ||
| VLLM_USE_FLASHINFER_MOE_FP4: "1" | ||
| vllm_config: | ||
| aggregated: | ||
| served-model-name: "nvidia/DeepSeek-R1-0528-NVFP4-v2" | ||
| kv-cache-dtype: "fp8" | ||
| tensor-parallel-size: 1 | ||
| pipeline-parallel-size: 1 | ||
| data-parallel-size: 4 | ||
| data-parallel-rpc-port: 13345 | ||
| enable-expert-parallel: true | ||
| enable-prefix-caching: true | ||
| enable-prompt-tokens-details: true | ||
| max-model-len: 163840 | ||
| max-num-seqs: 128 | ||
| max-num-batched-tokens: 8192 | ||
| trust-remote-code: true | ||
| block-size: 128 | ||
| gpu-memory-utilization: 0.85 | ||
| stream-interval: 10 | ||
|
|
||
| sbatch_directives: | ||
| cpus-per-task: "144" | ||
| mem: "0" | ||
|
|
||
| srun_options: | ||
| 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: "true" | ||
| AIPERF_REQUIRED_SERVER_METRIC_PREFIX: "vllm:" | ||
| AIPERF_HTTP_X_SESSION_ID_FROM_CORRELATION_ID: "1" | ||
| AIPERF_MAX_CONTEXT_LENGTH: "163840" | ||
| AIPERF_DATASET_MMAP_CACHE_DIR: "/aiperf_mmap_cache" | ||
| HF_HUB_CACHE: "/hf_hub_cache" | ||
| WEKA_LOADER_OVERRIDE: "semianalysis_cc_traces_weka_062126_256k" |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.