Repository navigation
DeepSeek-V4-Pro-0813 B200 FP4 vLLM AgentX/ DeepSeek-V4-Pro-0813 B200 FP4 vLLM AgentX #4554
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
Open
hshrivastava-droid
wants to merge
3
commits into
main
Choose a base branch
from
dsv4pro0813-b200-vllm-agentic-configs
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+276
−19
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
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
73 changes: 73 additions & 0 deletions
73
...-e2e/benchmarks/single_node/srt-slurm-recipes/dsv4/vllm/b200-fp4-mtp/agentic-lowconc.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,73 @@ | ||
| base: | ||
| schema: 2 | ||
| name: dsv4-fp4-b200-vllm-agentic-lowconc | ||
| resources: | ||
| gpu_type: b200 | ||
| gpus_per_node: 8 | ||
| frontend: | ||
| type: vllm | ||
| enable_multiple_frontends: false | ||
| observability: | ||
| enabled: false | ||
| tachometer: | ||
| enabled: false | ||
| engine: | ||
| type: vllm | ||
| connector: null | ||
| # The engine may take the full VLLM_ENGINE_READY_TIMEOUT_S to become ready. | ||
| health_check: | ||
| interval_seconds: 10 | ||
| max_attempts: 720 | ||
| roles: | ||
| agg: | ||
| nodes: 1 | ||
| workers: 1 | ||
| args: | ||
| served-model-name: deepseek-ai/DeepSeek-V4-Pro-0813 | ||
| trust-remote-code: true | ||
| kv-cache-dtype: fp8 | ||
| block-size: 256 | ||
| max-model-len: 1048576 | ||
| gpu-memory-utilization: 0.90 | ||
| numa-bind: true | ||
| enable-cumem-allocator: true | ||
| no-enable-flashinfer-autotune: true | ||
| tokenizer-mode: deepseek_v4 | ||
| tool-call-parser: deepseek_v4 | ||
| enable-auto-tool-choice: true | ||
| reasoning-parser: deepseek_v4 | ||
| attention-config: '{"backend":"FLASHINFER_MLA_SPARSE_DSV4","use_prefill_query_quantization":true,"indexer_kv_dtype":"mxfp4"}' | ||
| # Throughput runs switch to synthetic rejection at the golden acceptance length. | ||
| speculative-config: '{"method":"dspark","num_speculative_tokens":6,"draft_sample_method":"probabilistic"}' | ||
| no-disable-hybrid-kv-cache-manager: true | ||
| disable-uvicorn-access-log: true | ||
| env: | ||
| VLLM_ENGINE_READY_TIMEOUT_S: '7200' | ||
| VLLM_PREFIX_CACHE_RETENTION_INTERVAL: '32768' | ||
| VLLM_USE_V2_MODEL_RUNNER: '1' | ||
| VLLM_USE_RUST_FRONTEND: '1' | ||
| VLLM_DSV4_MEGA_FP8_COMBINE: '1' | ||
| VLLM_RPC_TIMEOUT: '600000' | ||
| TORCH_CUDA_ARCH_LIST: '10.0' | ||
| PYTHONNOUSERSITE: '1' | ||
| VLLM_FLOAT32_MATMUL_PRECISION: high | ||
| benchmark: | ||
| env: | ||
| AIPERF_REQUIRED_SERVER_METRIC_PREFIX: 'vllm:' | ||
|
|
||
| override_tp8_c4: | ||
| roles: | ||
| agg: | ||
| gpus: 8 | ||
| args: | ||
| tensor-parallel-size: 8 | ||
| data-parallel-size: 1 | ||
| max-num-batched-tokens: 16384 | ||
| kv-cache-memory-bytes: 42949672960 | ||
| sparse-indexer-topk-backend: deep_select | ||
| max-num-seqs: 4 | ||
| compilation-config: '{"cudagraph_mode":"FULL_AND_PIECEWISE","cudagraph_capture_sizes":[7,14,21,28,100,200,300,400,500,640,800,1024,1280,1600,2048,2560,3200,4096,5120,6400,8192,10240,12800,16384],"max_cudagraph_capture_size":16384}' | ||
| benchmark: | ||
| env: | ||
| CONC: '4' | ||
| KV_OFFLOADING: none |
75 changes: 75 additions & 0 deletions
75
...e/benchmarks/single_node/srt-slurm-recipes/dsv4/vllm/b200-fp4-mtp/agentic-tp2dp4-c48.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,75 @@ | ||
| name: dsv4-fp4-b200-vllm-agentic_tp2dp4_c48 | ||
| schema: 2 | ||
| resources: | ||
| gpu_type: b200 | ||
| gpus_per_node: 8 | ||
| frontend: | ||
| type: vllm-router | ||
| enable_multiple_frontends: false | ||
| args: | ||
| disable-retries: true | ||
| policy: consistent_hash | ||
| prometheus-host: 127.0.0.1 | ||
| prometheus-port: 18000 | ||
| request-timeout-secs: 14400 | ||
| observability: | ||
| enabled: false | ||
| tachometer: | ||
| enabled: false | ||
| engine: | ||
| type: vllm | ||
| connector: null | ||
| health_check: | ||
| interval_seconds: 10 | ||
| max_attempts: 720 | ||
| roles: | ||
| agg: | ||
| nodes: 1 | ||
| workers: 1 | ||
| args: | ||
| attention-config: '{"backend":"FLASHINFER_MLA_SPARSE_DSV4","use_prefill_query_quantization":true,"indexer_kv_dtype":"mxfp4"}' | ||
| block-size: 256 | ||
| compilation-config: '{"cudagraph_mode":"FULL_DECODE_ONLY","cudagraph_capture_sizes":[7,14,21,28,35,42,49,56,63,70,77,84,91,98,105,112,119,126,133,140,147,154,161,168],"mode":0}' | ||
| data-parallel-size: 4 | ||
| disable-uvicorn-access-log: true | ||
| enable-auto-tool-choice: true | ||
| enable-cumem-allocator: true | ||
| enable-ep-weight-filter: true | ||
| enable-expert-parallel: true | ||
| gpu-memory-utilization: 0.9 | ||
| kv-cache-dtype: fp8 | ||
| kv-cache-memory-bytes: 37580963840 | ||
| kv-transfer-config: '{"kv_connector":"SimpleCPUOffloadConnector","kv_role":"kv_both","kv_connector_extra_config":{"cpu_bytes_to_use_per_rank":241500000000,"enable_cross_layers_blocks":"true","lazy_offload":false}}' | ||
| long-prefill-token-threshold: 512 | ||
| max-model-len: 1048576 | ||
| max-num-batched-tokens: 8360 | ||
| max-num-seqs: 24 | ||
| moe-backend: deep_gemm_mega_moe | ||
| no-disable-hybrid-kv-cache-manager: true | ||
| no-enable-flashinfer-autotune: true | ||
| numa-bind: true | ||
| prefill-schedule-interval: 16 | ||
| reasoning-parser: deepseek_v4 | ||
| served-model-name: deepseek-ai/DeepSeek-V4-Pro-0813 | ||
| speculative-config: '{"method":"dspark","num_speculative_tokens":6,"draft_sample_method":"probabilistic","rejection_sample_method":"synthetic","synthetic_acceptance_length":3.77}' | ||
| tensor-parallel-size: 2 | ||
| tokenizer-mode: deepseek_v4 | ||
| tool-call-parser: deepseek_v4 | ||
| trust-remote-code: true | ||
| env: | ||
| PYTHONHASHSEED: '42' | ||
| PYTHONNOUSERSITE: '1' | ||
| PYTORCH_ALLOC_CONF: expandable_segments:True | ||
| TORCH_CUDA_ARCH_LIST: '10.0' | ||
| VLLM_ENGINE_READY_TIMEOUT_S: '7200' | ||
| VLLM_FLOAT32_MATMUL_PRECISION: high | ||
| VLLM_PREFIX_CACHE_RETENTION_INTERVAL: '32768' | ||
| VLLM_RPC_TIMEOUT: '600000' | ||
| VLLM_USE_RUST_FRONTEND: '1' | ||
| VLLM_USE_V2_MODEL_RUNNER: '1' | ||
| gpus: 8 | ||
| benchmark: | ||
| env: | ||
| AIPERF_REQUIRED_SERVER_METRIC_PREFIX: 'vllm:' | ||
| AIPERF_HTTP_X_SESSION_ID_FROM_CORRELATION_ID: '1' | ||
| setup_script: vllm-router.sh |
75 changes: 75 additions & 0 deletions
75
...e/benchmarks/single_node/srt-slurm-recipes/dsv4/vllm/b200-fp4-mtp/agentic-tp2dp4-c64.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,75 @@ | ||
| name: dsv4-fp4-b200-vllm-agentic_tp2dp4_c64 | ||
| schema: 2 | ||
| resources: | ||
| gpu_type: b200 | ||
| gpus_per_node: 8 | ||
| frontend: | ||
| type: vllm-router | ||
| enable_multiple_frontends: false | ||
| args: | ||
| disable-retries: true | ||
| policy: consistent_hash | ||
| prometheus-host: 127.0.0.1 | ||
| prometheus-port: 18000 | ||
| request-timeout-secs: 14400 | ||
| observability: | ||
| enabled: false | ||
| tachometer: | ||
| enabled: false | ||
| engine: | ||
| type: vllm | ||
| connector: null | ||
| health_check: | ||
| interval_seconds: 10 | ||
| max_attempts: 720 | ||
| roles: | ||
| agg: | ||
| nodes: 1 | ||
| workers: 1 | ||
| args: | ||
| attention-config: '{"backend":"FLASHINFER_MLA_SPARSE_DSV4","use_prefill_query_quantization":true,"indexer_kv_dtype":"mxfp4"}' | ||
| block-size: 256 | ||
| compilation-config: '{"cudagraph_mode":"FULL_DECODE_ONLY","cudagraph_capture_sizes":[7,14,21,28,35,42,49,56,63,70,77,84,91,98,105,112,119,126,133,140,147,154,161,168,175,182,189,196,203,210,217,224],"mode":0}' | ||
| data-parallel-size: 4 | ||
| disable-uvicorn-access-log: true | ||
| enable-auto-tool-choice: true | ||
| enable-cumem-allocator: true | ||
| enable-ep-weight-filter: true | ||
| enable-expert-parallel: true | ||
| gpu-memory-utilization: 0.9 | ||
| kv-cache-dtype: fp8 | ||
| kv-cache-memory-bytes: 37580963840 | ||
| kv-transfer-config: '{"kv_connector":"SimpleCPUOffloadConnector","kv_role":"kv_both","kv_connector_extra_config":{"cpu_bytes_to_use_per_rank":241500000000,"enable_cross_layers_blocks":"true","lazy_offload":false}}' | ||
| long-prefill-token-threshold: 512 | ||
| max-model-len: 1048576 | ||
| max-num-batched-tokens: 8416 | ||
| max-num-seqs: 32 | ||
| moe-backend: deep_gemm_mega_moe | ||
| no-disable-hybrid-kv-cache-manager: true | ||
| no-enable-flashinfer-autotune: true | ||
| numa-bind: true | ||
| prefill-schedule-interval: 16 | ||
| reasoning-parser: deepseek_v4 | ||
| served-model-name: deepseek-ai/DeepSeek-V4-Pro-0813 | ||
| speculative-config: '{"method":"dspark","num_speculative_tokens":6,"draft_sample_method":"probabilistic","rejection_sample_method":"synthetic","synthetic_acceptance_length":3.77}' | ||
| tensor-parallel-size: 2 | ||
| tokenizer-mode: deepseek_v4 | ||
| tool-call-parser: deepseek_v4 | ||
| trust-remote-code: true | ||
| env: | ||
| PYTHONHASHSEED: '42' | ||
| PYTHONNOUSERSITE: '1' | ||
| PYTORCH_ALLOC_CONF: expandable_segments:True | ||
| TORCH_CUDA_ARCH_LIST: '10.0' | ||
| VLLM_ENGINE_READY_TIMEOUT_S: '7200' | ||
| VLLM_FLOAT32_MATMUL_PRECISION: high | ||
| VLLM_PREFIX_CACHE_RETENTION_INTERVAL: '32768' | ||
| VLLM_RPC_TIMEOUT: '600000' | ||
| VLLM_USE_RUST_FRONTEND: '1' | ||
| VLLM_USE_V2_MODEL_RUNNER: '1' | ||
| gpus: 8 | ||
| benchmark: | ||
| env: | ||
| AIPERF_REQUIRED_SERVER_METRIC_PREFIX: 'vllm:' | ||
| AIPERF_HTTP_X_SESSION_ID_FROM_CORRELATION_ID: '1' | ||
| setup_script: vllm-router.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
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.
🟡 (optional) The new TP2xDP4 recipes hard-code a synthetic acceptance length of 3.77, which AGENTS.md forbids. These are the only recipes in the repo that pin
synthetic_acceptance_length. The value is not taken from the measured golden curves. The same speculative-config line appears in agentic-tp2dp4-c48.yaml:54. Fix: in both files, droprejection_sample_methodandsynthetic_acceptance_lengthso speculative-config matches agentic.yaml ({"method":"dspark","num_speculative_tokens":6,"draft_sample_method":"probabilistic"}). The srt driver then injects the golden AL from infx/golden_al_distribution/.Why this was flagged
AGENTS.md (Launchers and hooks) says: "Never hard-code synthetic acceptance lengths; the srt driver picks measured values from infx/golden_al_distribution/". golden_al_distribution/README.md:152 also says recipes must not add vLLM
synthetic_acceptance_length. agentic-tp2dp4-c64.yaml:55 and agentic-tp2dp4-c48.yaml:54 both set"rejection_sample_method":"synthetic","synthetic_acceptance_length":3.77. A repo-wide grep finds no other recipe that sets it. synthetic_acceptance.py:231-241 overwrites the value when a golden AL exists and otherwise switches to block rejection. So the literal only works by accident, and the recipe misstates the behaviour it encodes. The sibling recipe agentic.yaml leaves both fields unset.Verification: nit. This breaks a rule the repo writes down, but at runtime the driver overwrites or removes the pinned value. AGENTS.md:98 says "Never hard-code synthetic acceptance lengths". agentic-tp2dp4-c64.yaml:54 and agentic-tp2dp4-c48.yaml:54 both set
synthetic_acceptance_lengthto 3.77. No test lints recipes for this field, so CI will not catch it.