-
Notifications
You must be signed in to change notification settings - Fork 234
[AgentX] Test vLLM DeepSeek-V4 GB300 aggregate TP / 测试 vLLM DeepSeek-V4 GB300 聚合式 TP #2284
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 all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
d02cb0d
chore: port basic settings from gb200 disagg
ivanium a5a9876
agetnx: gb300 pd configs
ivanium 75d8f44
fix(gb300): correct vLLM worker startup checks
ivanium 9d6f3e3
chore: update changelog PR link
ivanium ab8a655
fix: tp configs and dynamo version
ivanium ac0555b
fix: tp symm mem; pending PR #48843 to reenable
ivanium eb4e2d4
fix: tp oom
ivanium f3d68f8
fix(gb300): reserve TP4 aggregate memory headroom
ivanium c475333
fix: pin mk device name list
ivanium 5defcd8
test(gb300): isolate aggregate TP validation
ivanium 450e17d
chore: link GB300 TP test PR
ivanium d176a40
test(gb300): remove disaggregated test scope
ivanium b020d3c
test(gb300): restrict TP validation points
ivanium bf4c0cb
chore: merge upstream main into GB300 TP test
ivanium e106f02
chore: drop redundant matrix logic changes
ivanium 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
147 changes: 147 additions & 0 deletions
147
benchmarks/multi_node/srt-slurm-recipes/vllm/deepseek-v4/agentic/agg-gb300-tp4-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,147 @@ | ||
| name: "svf-vllm-agg-gb300-tp4-agentic" | ||
|
|
||
| # Low-latency aggregate DeepSeek-V4-Pro AgentX recipe on one four-GPU GB300 | ||
| # node. The worker serves both prefill and decode with TP4. | ||
|
|
||
| model: | ||
| path: "deepseek-v4-pro" | ||
| container: "vllm/vllm-openai:nightly-dev-arm64-cu13.0.1-c188b96" | ||
| precision: "fp4" | ||
|
|
||
| identity: | ||
| model: | ||
| repo: "deepseek-ai/DeepSeek-V4-Pro" | ||
| container: | ||
| image: "vllm/vllm-openai:nightly-dev-arm64-cu13.0.1-c188b96" | ||
| frameworks: | ||
| dynamo: "1.2.1" | ||
| vllm: "0.17.2rc1.dev3675+gc188b96eb" | ||
|
|
||
| dynamo: | ||
| hash: "919682da679aa699d5bca9c872f4c1d9a530bbc0" | ||
| install: true | ||
|
|
||
| setup_script: vllm-container-deps.sh | ||
|
|
||
| slurm: | ||
| time_limit: "8:00:00" | ||
|
|
||
| health_check: | ||
| max_attempts: 2160 | ||
| interval_seconds: 10 | ||
|
|
||
| resources: | ||
| gpu_type: "gb300" | ||
| gpus_per_node: 4 | ||
| agg_nodes: 1 | ||
| agg_workers: 1 | ||
| gpus_per_agg: 4 | ||
|
|
||
| infra: | ||
| etcd_nats_dedicated_node: false | ||
| nats_max_payload_mb: 32 | ||
|
|
||
| frontend: | ||
| type: dynamo | ||
| enable_multiple_frontends: false | ||
| args: | ||
| router-mode: "kv" | ||
| router-reset-states: true | ||
| router-temperature: 0.0 | ||
| router-queue-threshold: 65536 | ||
| active-decode-blocks-threshold: "None" | ||
| active-prefill-tokens-threshold: "None" | ||
| active-prefill-tokens-threshold-frac: "None" | ||
| tokenizer: "fastokens" | ||
|
|
||
| backend: | ||
| type: vllm | ||
| connector: null | ||
| mooncake_kv_store: | ||
| store_config: | ||
| metadata_server: "P2PHANDSHAKE" | ||
| global_segment_size: "150GB" | ||
| local_buffer_size: "4GB" | ||
| protocol: "rdma" | ||
| device_name: "mlx5_0,mlx5_1,mlx5_2,mlx5_3" | ||
| mode: "embedded" | ||
| enable_offload: false | ||
| aggregated_environment: | ||
| DYN_REQUEST_PLANE: "tcp" | ||
| ETCD_LEASE_TTL: "120" | ||
| VLLM_ENGINE_READY_TIMEOUT_S: "3600" | ||
| VLLM_RPC_TIMEOUT: "600000" | ||
| TILELANG_CLEANUP_TEMP_FILES: "1" | ||
| VLLM_ALLREDUCE_USE_SYMM_MEM: "0" | ||
| VLLM_USE_BREAKABLE_CUDAGRAPH: "0" | ||
| TORCH_SYMMMEM: "NVSHMEM" | ||
| NCCL_CUMEM_ENABLE: "1" | ||
| NCCL_MNNVL_ENABLE: "1" | ||
| NCCL_NVLS_ENABLE: "1" | ||
| VLLM_SERVER_DEV_MODE: "1" | ||
| VLLM_USE_V2_MODEL_RUNNER: "1" | ||
| VLLM_USE_RUST_FRONTEND: "1" | ||
| VLLM_MOONCAKE_LOAD_RECV_THREADS: "4" | ||
| VLLM_CONNECTOR_PREFETCH_DEPTH: "8" | ||
| VLLM_CONNECTOR_PREFETCH_KV_CAP: "0.65" | ||
| DG_JIT_CACHE_DIR: "/tmp/dg-cache-dsv4-agentx-{job_id}" | ||
| VLLM_DSV4_MEGA_FP8_COMBINE: "1" | ||
| VLLM_EXECUTE_MODEL_TIMEOUT_SECONDS: "1800" | ||
| VLLM_PREFIX_CACHE_RETENTION_INTERVAL: "32768" | ||
| VLLM_SPARSE_INDEXER_MAX_LOGITS_MB: "1024" | ||
| UCX_MEMTYPE_CACHE: "n" | ||
| UCX_MEMTYPE_REG_WHOLE: "n" | ||
| UCX_RCACHE_MAX_UNRELEASED: "1024" | ||
| UCX_TLS: "cuda_copy,cuda_ipc,tcp" | ||
| NCCL_P2P_LEVEL: NVL | ||
| MC_ENABLE_DEST_DEVICE_AFFINITY: "1" | ||
|
|
||
| vllm_config: | ||
| aggregated: | ||
| kv-transfer-config: '{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"enable_offload":false}}' | ||
| served-model-name: "deepseek-ai/DeepSeek-V4-Pro" | ||
| kv-cache-dtype: "fp8" | ||
| tensor-parallel-size: 4 | ||
| pipeline-parallel-size: 1 | ||
| enable-cumem-allocator: true | ||
| numa-bind: true | ||
| numa-bind-nodes: [0, 0, 1, 1] | ||
| attention-config: '{"backend":"FLASHINFER_MLA_SPARSE_DSV4","use_prefill_query_quantization":true,"use_fp4_indexer_cache":true}' | ||
| max-model-len: 1048576 | ||
| max-num-seqs: 32 | ||
| max-num-batched-tokens: 16384 | ||
| trust-remote-code: true | ||
| no-enable-flashinfer-autotune: true | ||
| block-size: 256 | ||
| compilation-config: '{"cudagraph_mode":"FULL_DECODE_ONLY","mode":0}' | ||
| max-cudagraph-capture-size: 32 | ||
| gpu-memory-utilization: 0.92 | ||
| stream-interval: 10 | ||
| no-disable-hybrid-kv-cache-manager: true | ||
| tokenizer-mode: deepseek_v4 | ||
| dyn-tool-call-parser: deepseek_v4 | ||
| reasoning-parser: deepseek_v4 | ||
| dyn-reasoning-parser: deepseek_v4 | ||
|
|
||
| sbatch_directives: | ||
| cpus-per-task: "72" | ||
|
|
||
| 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: "false" | ||
| TP: "4" | ||
| EP_SIZE: "1" | ||
| DP_ATTENTION: "false" | ||
| AIPERF_USE_DYNAMO_CONV_AWARE_ROUTING: "0" | ||
| AIPERF_DYNAMO_SESSION_TIMEOUT_SECONDS: "14400" | ||
| AIPERF_DATASET_MMAP_CACHE_DIR: "/aiperf_mmap_cache" | ||
| HF_HUB_CACHE: "/hf_hub_cache" | ||
| WEKA_LOADER_OVERRIDE: "semianalysis_cc_traces_weka_062126" |
147 changes: 147 additions & 0 deletions
147
benchmarks/multi_node/srt-slurm-recipes/vllm/deepseek-v4/agentic/agg-gb300-tp8-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,147 @@ | ||
| name: "svf-vllm-agg-gb300-tp8-agentic" | ||
|
|
||
| # Low-latency aggregate DeepSeek-V4-Pro AgentX recipe spanning two four-GPU | ||
| # GB300 nodes. The worker serves both prefill and decode with TP8. | ||
|
|
||
| model: | ||
| path: "deepseek-v4-pro" | ||
| container: "vllm/vllm-openai:nightly-dev-arm64-cu13.0.1-c188b96" | ||
| precision: "fp4" | ||
|
|
||
| identity: | ||
| model: | ||
| repo: "deepseek-ai/DeepSeek-V4-Pro" | ||
| container: | ||
| image: "vllm/vllm-openai:nightly-dev-arm64-cu13.0.1-c188b96" | ||
| frameworks: | ||
| dynamo: "1.2.1" | ||
| vllm: "0.17.2rc1.dev3675+gc188b96eb" | ||
|
|
||
| dynamo: | ||
| hash: "919682da679aa699d5bca9c872f4c1d9a530bbc0" | ||
| install: true | ||
|
|
||
| setup_script: vllm-container-deps.sh | ||
|
|
||
| slurm: | ||
| time_limit: "8:00:00" | ||
|
|
||
| health_check: | ||
| max_attempts: 2160 | ||
| interval_seconds: 10 | ||
|
|
||
| resources: | ||
| gpu_type: "gb300" | ||
| gpus_per_node: 4 | ||
| agg_nodes: 2 | ||
| agg_workers: 1 | ||
| gpus_per_agg: 8 | ||
|
|
||
| infra: | ||
| etcd_nats_dedicated_node: false | ||
| nats_max_payload_mb: 32 | ||
|
|
||
| frontend: | ||
| type: dynamo | ||
| enable_multiple_frontends: false | ||
| args: | ||
| router-mode: "kv" | ||
| router-reset-states: true | ||
| router-temperature: 0.0 | ||
| router-queue-threshold: 65536 | ||
| active-decode-blocks-threshold: "None" | ||
| active-prefill-tokens-threshold: "None" | ||
| active-prefill-tokens-threshold-frac: "None" | ||
| tokenizer: "fastokens" | ||
|
|
||
| backend: | ||
| type: vllm | ||
| connector: null | ||
| mooncake_kv_store: | ||
| store_config: | ||
| metadata_server: "P2PHANDSHAKE" | ||
| global_segment_size: "150GB" | ||
| local_buffer_size: "4GB" | ||
| protocol: "rdma" | ||
| device_name: "mlx5_0,mlx5_1,mlx5_2,mlx5_3" | ||
| mode: "embedded" | ||
| enable_offload: false | ||
| aggregated_environment: | ||
| DYN_REQUEST_PLANE: "tcp" | ||
| ETCD_LEASE_TTL: "120" | ||
| VLLM_ENGINE_READY_TIMEOUT_S: "3600" | ||
| VLLM_RPC_TIMEOUT: "600000" | ||
| TILELANG_CLEANUP_TEMP_FILES: "1" | ||
| VLLM_ALLREDUCE_USE_SYMM_MEM: "0" | ||
| VLLM_USE_BREAKABLE_CUDAGRAPH: "0" | ||
| TORCH_SYMMMEM: "NVSHMEM" | ||
| NCCL_CUMEM_ENABLE: "1" | ||
| NCCL_MNNVL_ENABLE: "1" | ||
| NCCL_NVLS_ENABLE: "1" | ||
| VLLM_SERVER_DEV_MODE: "1" | ||
| VLLM_USE_V2_MODEL_RUNNER: "1" | ||
| VLLM_USE_RUST_FRONTEND: "1" | ||
| VLLM_MOONCAKE_LOAD_RECV_THREADS: "4" | ||
| VLLM_CONNECTOR_PREFETCH_DEPTH: "8" | ||
| VLLM_CONNECTOR_PREFETCH_KV_CAP: "0.65" | ||
| DG_JIT_CACHE_DIR: "/tmp/dg-cache-dsv4-agentx-{job_id}" | ||
| VLLM_DSV4_MEGA_FP8_COMBINE: "1" | ||
| VLLM_EXECUTE_MODEL_TIMEOUT_SECONDS: "1800" | ||
| VLLM_PREFIX_CACHE_RETENTION_INTERVAL: "32768" | ||
| VLLM_SPARSE_INDEXER_MAX_LOGITS_MB: "1024" | ||
| UCX_MEMTYPE_CACHE: "n" | ||
| UCX_MEMTYPE_REG_WHOLE: "n" | ||
| UCX_RCACHE_MAX_UNRELEASED: "1024" | ||
| UCX_TLS: "cuda_copy,cuda_ipc,tcp" | ||
| NCCL_P2P_LEVEL: NVL | ||
| MC_ENABLE_DEST_DEVICE_AFFINITY: "1" | ||
|
|
||
| vllm_config: | ||
| aggregated: | ||
| kv-transfer-config: '{"kv_connector":"MooncakeStoreConnector","kv_role":"kv_both","kv_connector_extra_config":{"load_async":true,"lookup_async":true,"enable_offload":false}}' | ||
| served-model-name: "deepseek-ai/DeepSeek-V4-Pro" | ||
| kv-cache-dtype: "fp8" | ||
| tensor-parallel-size: 8 | ||
| pipeline-parallel-size: 1 | ||
| enable-cumem-allocator: true | ||
| numa-bind: true | ||
| numa-bind-nodes: [0, 0, 1, 1] | ||
| attention-config: '{"backend":"FLASHINFER_MLA_SPARSE_DSV4","use_prefill_query_quantization":true,"use_fp4_indexer_cache":true}' | ||
| max-model-len: 1048576 | ||
| max-num-seqs: 32 | ||
| max-num-batched-tokens: 32768 | ||
| trust-remote-code: true | ||
| no-enable-flashinfer-autotune: true | ||
| block-size: 256 | ||
| compilation-config: '{"cudagraph_mode":"FULL_DECODE_ONLY","mode":0}' | ||
| max-cudagraph-capture-size: 32 | ||
| gpu-memory-utilization: 0.92 | ||
| stream-interval: 10 | ||
| no-disable-hybrid-kv-cache-manager: true | ||
| tokenizer-mode: deepseek_v4 | ||
| dyn-tool-call-parser: deepseek_v4 | ||
| reasoning-parser: deepseek_v4 | ||
| dyn-reasoning-parser: deepseek_v4 | ||
|
|
||
| sbatch_directives: | ||
| cpus-per-task: "72" | ||
|
|
||
| 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: "false" | ||
| TP: "8" | ||
| EP_SIZE: "1" | ||
| DP_ATTENTION: "false" | ||
| AIPERF_USE_DYNAMO_CONV_AWARE_ROUTING: "0" | ||
| AIPERF_DYNAMO_SESSION_TIMEOUT_SECONDS: "14400" | ||
| AIPERF_DATASET_MMAP_CACHE_DIR: "/aiperf_mmap_cache" | ||
| HF_HUB_CACHE: "/hf_hub_cache" | ||
| WEKA_LOADER_OVERRIDE: "semianalysis_cc_traces_weka_062126" | ||
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:
IS_MULTINODE: "false"on a recipe that spans two nodes (agg_nodes: 2,gpus_per_agg: 8).Why it matters: This env var is stamped into
meta_env.json(benchmarks/benchmark_lib.sh:997) andis_multinodeis part of the benchmark identity key inutils/validate_reusable_sweep_artifacts.py(lines 49/140/318). Every other node-spanning recipe in this tree (alldisagg-gb300-*/disagg-gb200-*vLLM and SGLang agentic recipes) sets"true"; only the single-node agg recipes set"false". This looks like a copy-paste from the TP4 recipe and will mislabel the TP8 results as single-node, which can break artifact-reuse matching and result grouping.Fix: