-
Notifications
You must be signed in to change notification settings - Fork 303
feat: add GB300 MiniMax-M3 AgentX recipes / 新增 GB300 MiniMax-M3 AgentX 配置 #3232
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
RohitNagraj
wants to merge
3
commits into
main
Choose a base branch
from
minimaxm3-fp4-gb300-dynamo-vllm-agentic-mtp
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.
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
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
6 changes: 6 additions & 0 deletions
6
benchmarks/multi_node/srt-slurm-recipes/configs/minimaxm3-mooncake/setup-disagg.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,6 @@ | ||
| #!/usr/bin/env bash | ||
| set -eo pipefail | ||
| # Download, verify, and install the published wheel inside each backend container. | ||
| # Image-wide overrides are unrelated to this dependency-free wheel install. | ||
| env -u UV_OVERRIDE uv pip install --system --no-deps --reinstall --require-hashes \ | ||
| 'https://test-files.pythonhosted.org/packages/f3/00/fb2847f5564864be132d0f70384dde5688689d9f91b2c81d2609632f36e4/mooncake_transfer_engine_cuda13-0.3.14.dev20260910-cp312-cp312-manylinux_2_28_aarch64.whl#sha256=c55fcc42cf189fcdecdcdf9d776ef84b348a9970a9bd3aad2fad64cb2d9e6f82' | ||
136 changes: 136 additions & 0 deletions
136
benchmarks/multi_node/srt-slurm-recipes/minimaxm3/vllm/gb300-fp4/agentx/agg-tp2-c20-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,136 @@ | ||
| schema: 2 | ||
| name: minimax-m3-gb300-agg-tp2-c20 | ||
| dynamo: | ||
| install: true | ||
| source: | ||
| wheel: 1.5.0.dev20260914 | ||
| request_plane: tcp | ||
| services: | ||
| - name: etcd | ||
| type: etcd | ||
| placement: | ||
| node: infra | ||
| - name: nats | ||
| type: nats | ||
| placement: | ||
| node: infra | ||
| options: | ||
| max_payload_mb: 32 | ||
| frontend: | ||
| type: dynamo | ||
| enable_multiple_frontends: false | ||
| args: | ||
| router-mode: least-loaded | ||
| router-session-affinity-ttl-secs: 14400 | ||
| env: | ||
| DYN_TOKENIZER: fastokens | ||
| DYN_TOKENIZER_CACHE_BYTES: '8589934592' | ||
| DYN_TCP_CONNECT_TIMEOUT: '120' | ||
| model: | ||
| path: nvidia/MiniMax-M3-NVFP4 | ||
| container: vllm/vllm-openai:nightly-0bfc7a15d095fe83ecc82b50561a93c177fece2d@sha256:ac75d722e093a1d6b1515fdb0d9cff692225e47e8bcbaf614a1a220d302fa116 | ||
| precision: fp4 | ||
| identity: | ||
| model: | ||
| repo: nvidia/MiniMax-M3-NVFP4 | ||
| container: | ||
| image: vllm/vllm-openai:nightly-0bfc7a15d095fe83ecc82b50561a93c177fece2d@sha256:ac75d722e093a1d6b1515fdb0d9cff692225e47e8bcbaf614a1a220d302fa116 | ||
| frameworks: | ||
| dynamo: 1.5.0.dev20260914 | ||
| resources: | ||
| gpu_type: gb300 | ||
| gpus_per_node: 4 | ||
| engine: | ||
| type: vllm | ||
| connector: null | ||
| dp_launch_mode: per_gpu | ||
| roles: | ||
| agg: | ||
| nodes: 1 | ||
| workers: 1 | ||
| gpus: 2 | ||
| env: | ||
| VLLM_ENGINE_READY_TIMEOUT_S: '3600' | ||
| DYN_TCP_CONNECT_TIMEOUT: '120' | ||
| VLLM_EXECUTE_MODEL_TIMEOUT_SECONDS: '1800' | ||
| VLLM_FLOAT32_MATMUL_PRECISION: high | ||
| VLLM_FLASHINFER_ALLREDUCE_BACKEND: trtllm | ||
| VLLM_USE_NCCL_SYMM_MEM: '0' | ||
| VLLM_ALLREDUCE_USE_SYMM_MEM: '0' | ||
| VLLM_USE_SIMPLE_KV_OFFLOAD: '1' | ||
| VLLM_LOG_STATS_INTERVAL: '1' | ||
| NCCL_CUMEM_ENABLE: '1' | ||
| NCCL_MNNVL_ENABLE: '1' | ||
| NCCL_NVLS_ENABLE: '1' | ||
| HF_HUB_CACHE: /hf_hub_cache | ||
| HUGGINGFACE_HUB_CACHE: /hf_hub_cache | ||
| args: | ||
| served-model-name: nvidia/MiniMax-M3-NVFP4 | ||
| tensor-parallel-size: 2 | ||
| pipeline-parallel-size: 1 | ||
| trust-remote-code: true | ||
| enable-prefix-caching: true | ||
| kv-cache-dtype: fp8 | ||
| block-size: 128 | ||
| gpu-memory-utilization: 0.9 | ||
| max-model-len: 1048576 | ||
| language-model-only: true | ||
| no-enable-flashinfer-autotune: true | ||
| attention-config: '{"backend":"FLASHINFER","use_trtllm_attention":true,"indexer_kv_dtype":"fp8"}' | ||
| speculative-config: '{"method":"eagle3","model":"Inferact/MiniMax-M3-EAGLE3-GQA","num_speculative_tokens":3,"attention_backend":"FLASHINFER"}' | ||
| kv-transfer-config: '{"kv_connector":"SimpleCPUOffloadConnector","kv_role":"kv_both","kv_connector_extra_config":{"cpu_bytes_to_use":429496729600,"cpu_bytes_to_use_per_rank":214748364800,"lazy_offload":true}}' | ||
| max-cudagraph-capture-size: 512 | ||
| max-num-batched-tokens: 16384 | ||
| stream-interval: 20 | ||
| reasoning-parser: minimax_m3 | ||
| dyn-tool-call-parser: minimax_m3 | ||
| dyn-reasoning-parser: minimax_m3 | ||
| dyn-default-thinking-mode: enabled | ||
| benchmark: | ||
| type: custom | ||
| use_chat_template: true | ||
| command: bash /infmax-workspace/benchmarks/multi_node/agentic_srt.sh | ||
| env: | ||
| AIPERF_HTTP_X_DYNAMO_SESSION_ID_FROM_CORRELATION_ID: 'true' | ||
| AIPERF_USE_DYNAMO_CONV_AWARE_ROUTING: '0' | ||
| AIPERF_DYNAMO_SESSION_TIMEOUT_SECONDS: '14400' | ||
| ENABLE_AGENTX_POWER: '0' | ||
| AIPERF_EXTRA_INPUTS: thinking:true | ||
| AIPERF_REQUIRED_SERVER_METRIC_PREFIX: 'vllm:' | ||
| AIPERF_DATASET_MMAP_CACHE_DIR: /aiperf_mmap_cache | ||
| AIPERF_SERVER_METRICS_COLLECTION_INTERVAL: '1.0' | ||
| AIPERF_WARMUP_REQUESTS_PER_LANE: '10' | ||
| AIPERF_TRACE_IDLE_GAP_CAP_SECONDS: '300' | ||
| AIPERF_SERVICE_PROFILE_CONFIGURE_TIMEOUT: '1800' | ||
| AIPERF_DATASET_CONFIGURATION_TIMEOUT: '1800' | ||
| AGENTIC_WARMUP_GRACE_PERIOD: '1800' | ||
| AIPERF_DRAIN_TIMEOUT_SECONDS: '1800' | ||
| AIPERF_TIMING_CANCEL_DRAIN_TIMEOUT: '300' | ||
| INFMAX_CONTAINER_WORKSPACE: /infmax-workspace | ||
| RESULT_DIR: /logs/agentic | ||
| PORT: '8000' | ||
| TP: '2' | ||
| EP_SIZE: '1' | ||
| IS_MULTINODE: 'false' | ||
| DISAGG: 'false' | ||
| HF_HUB_CACHE: /hf_hub_cache | ||
| WEKA_LOADER_OVERRIDE: semianalysis_cc_traces_weka_062126 | ||
| observability: | ||
| tachometer: | ||
| enabled: false | ||
| telemetry: | ||
| enabled: false | ||
| health_check: | ||
| max_attempts: 2160 | ||
| interval_seconds: 10 | ||
| sbatch_directives: | ||
| cpus-per-task: '144' | ||
| mem: '0' | ||
| srun_options: | ||
| container-remap-root: '' | ||
| cpu-bind: cores | ||
| slurm: | ||
| time_limit: '8:00:00' | ||
| environment: | ||
| PYTHONHASHSEED: '0' | ||
| WITH_NVIDIA_PEERMEM: '0' |
136 changes: 136 additions & 0 deletions
136
benchmarks/multi_node/srt-slurm-recipes/minimaxm3/vllm/gb300-fp4/agentx/agg-tp2-c24-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,136 @@ | ||
| schema: 2 | ||
| name: minimax-m3-gb300-agg-tp2-c24 | ||
| dynamo: | ||
| install: true | ||
| source: | ||
| wheel: 1.5.0.dev20260914 | ||
| request_plane: tcp | ||
| services: | ||
| - name: etcd | ||
| type: etcd | ||
| placement: | ||
| node: infra | ||
| - name: nats | ||
| type: nats | ||
| placement: | ||
| node: infra | ||
| options: | ||
| max_payload_mb: 32 | ||
| frontend: | ||
| type: dynamo | ||
| enable_multiple_frontends: false | ||
| args: | ||
| router-mode: least-loaded | ||
| router-session-affinity-ttl-secs: 14400 | ||
| env: | ||
| DYN_TOKENIZER: fastokens | ||
| DYN_TOKENIZER_CACHE_BYTES: '8589934592' | ||
| DYN_TCP_CONNECT_TIMEOUT: '120' | ||
| model: | ||
| path: nvidia/MiniMax-M3-NVFP4 | ||
| container: vllm/vllm-openai:nightly-0bfc7a15d095fe83ecc82b50561a93c177fece2d@sha256:ac75d722e093a1d6b1515fdb0d9cff692225e47e8bcbaf614a1a220d302fa116 | ||
| precision: fp4 | ||
| identity: | ||
| model: | ||
| repo: nvidia/MiniMax-M3-NVFP4 | ||
| container: | ||
| image: vllm/vllm-openai:nightly-0bfc7a15d095fe83ecc82b50561a93c177fece2d@sha256:ac75d722e093a1d6b1515fdb0d9cff692225e47e8bcbaf614a1a220d302fa116 | ||
| frameworks: | ||
| dynamo: 1.5.0.dev20260914 | ||
| resources: | ||
| gpu_type: gb300 | ||
| gpus_per_node: 4 | ||
| engine: | ||
| type: vllm | ||
| connector: null | ||
| dp_launch_mode: per_gpu | ||
| roles: | ||
| agg: | ||
| nodes: 1 | ||
| workers: 1 | ||
| gpus: 2 | ||
| env: | ||
| VLLM_ENGINE_READY_TIMEOUT_S: '3600' | ||
| DYN_TCP_CONNECT_TIMEOUT: '120' | ||
| VLLM_EXECUTE_MODEL_TIMEOUT_SECONDS: '1800' | ||
| VLLM_FLOAT32_MATMUL_PRECISION: high | ||
| VLLM_FLASHINFER_ALLREDUCE_BACKEND: trtllm | ||
| VLLM_USE_NCCL_SYMM_MEM: '0' | ||
| VLLM_ALLREDUCE_USE_SYMM_MEM: '0' | ||
| VLLM_USE_SIMPLE_KV_OFFLOAD: '1' | ||
| VLLM_LOG_STATS_INTERVAL: '1' | ||
| NCCL_CUMEM_ENABLE: '1' | ||
| NCCL_MNNVL_ENABLE: '1' | ||
| NCCL_NVLS_ENABLE: '1' | ||
| HF_HUB_CACHE: /hf_hub_cache | ||
| HUGGINGFACE_HUB_CACHE: /hf_hub_cache | ||
| args: | ||
| served-model-name: nvidia/MiniMax-M3-NVFP4 | ||
| tensor-parallel-size: 2 | ||
| pipeline-parallel-size: 1 | ||
| trust-remote-code: true | ||
| enable-prefix-caching: true | ||
| kv-cache-dtype: fp8 | ||
| block-size: 128 | ||
| gpu-memory-utilization: 0.9 | ||
| max-model-len: 1048576 | ||
| language-model-only: true | ||
| no-enable-flashinfer-autotune: true | ||
| attention-config: '{"backend":"FLASHINFER","use_trtllm_attention":true,"indexer_kv_dtype":"fp8"}' | ||
| speculative-config: '{"method":"eagle3","model":"Inferact/MiniMax-M3-EAGLE3-GQA","num_speculative_tokens":3,"attention_backend":"FLASHINFER"}' | ||
| kv-transfer-config: '{"kv_connector":"SimpleCPUOffloadConnector","kv_role":"kv_both","kv_connector_extra_config":{"cpu_bytes_to_use":429496729600,"cpu_bytes_to_use_per_rank":214748364800,"lazy_offload":true}}' | ||
| max-cudagraph-capture-size: 512 | ||
| max-num-batched-tokens: 16384 | ||
| stream-interval: 20 | ||
| reasoning-parser: minimax_m3 | ||
| dyn-tool-call-parser: minimax_m3 | ||
| dyn-reasoning-parser: minimax_m3 | ||
| dyn-default-thinking-mode: enabled | ||
| benchmark: | ||
| type: custom | ||
| use_chat_template: true | ||
| command: bash /infmax-workspace/benchmarks/multi_node/agentic_srt.sh | ||
| env: | ||
| AIPERF_HTTP_X_DYNAMO_SESSION_ID_FROM_CORRELATION_ID: 'true' | ||
| AIPERF_USE_DYNAMO_CONV_AWARE_ROUTING: '0' | ||
| AIPERF_DYNAMO_SESSION_TIMEOUT_SECONDS: '14400' | ||
| ENABLE_AGENTX_POWER: '0' | ||
| AIPERF_EXTRA_INPUTS: thinking:true | ||
| AIPERF_REQUIRED_SERVER_METRIC_PREFIX: 'vllm:' | ||
| AIPERF_DATASET_MMAP_CACHE_DIR: /aiperf_mmap_cache | ||
| AIPERF_SERVER_METRICS_COLLECTION_INTERVAL: '1.0' | ||
| AIPERF_WARMUP_REQUESTS_PER_LANE: '10' | ||
| AIPERF_TRACE_IDLE_GAP_CAP_SECONDS: '300' | ||
| AIPERF_SERVICE_PROFILE_CONFIGURE_TIMEOUT: '1800' | ||
| AIPERF_DATASET_CONFIGURATION_TIMEOUT: '1800' | ||
| AGENTIC_WARMUP_GRACE_PERIOD: '1800' | ||
| AIPERF_DRAIN_TIMEOUT_SECONDS: '1800' | ||
| AIPERF_TIMING_CANCEL_DRAIN_TIMEOUT: '300' | ||
| INFMAX_CONTAINER_WORKSPACE: /infmax-workspace | ||
| RESULT_DIR: /logs/agentic | ||
| PORT: '8000' | ||
| TP: '2' | ||
| EP_SIZE: '1' | ||
| IS_MULTINODE: 'false' | ||
| DISAGG: 'false' | ||
| HF_HUB_CACHE: /hf_hub_cache | ||
| WEKA_LOADER_OVERRIDE: semianalysis_cc_traces_weka_062126 | ||
| observability: | ||
| tachometer: | ||
| enabled: false | ||
| telemetry: | ||
| enabled: false | ||
| health_check: | ||
| max_attempts: 2160 | ||
| interval_seconds: 10 | ||
| sbatch_directives: | ||
| cpus-per-task: '144' | ||
| mem: '0' | ||
| srun_options: | ||
| container-remap-root: '' | ||
| cpu-bind: cores | ||
| slurm: | ||
| time_limit: '8:00:00' | ||
| environment: | ||
| PYTHONHASHSEED: '0' | ||
| WITH_NVIDIA_PEERMEM: '0' |
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.
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) All four disaggregated GB300 MiniMax-M3 recipes fail their setup step once this wheel is pruned, since it is fetched from test-files.pythonhosted.org, TestPyPI's sandbox file host, not the production files.pythonhosted.org used elsewhere in this repo (e.g. benchmarks/benchmark_lib.sh:1457 for bfcl_eval). TestPyPI explicitly does not guarantee permanence of uploaded files, unlike PyPI proper. Fix: host the Mooncake wheel on a durable, project-controlled or production PyPI-backed location (or vendor it) so disagg jobs do not depend on a testing sandbox that can delete the file at any time.
Extended reasoning...
setup-disagg.sh runs
uv pip install --require-hashes 'https://test-files.pythonhosted.org/packages/.../mooncake_transfer_engine_cuda13-0.3.14.dev20260910-...whl#sha256=...'inside every prefill/decode container for the four disagg recipes (dep4-tep4-c64, dep4-tp2-c90/c100/c110). test-files.pythonhosted.org backs test.pypi.org, which is documented as a sandbox with no durability guarantee for uploaded files. If the upload is removed or expires, the download 404s, set -eo pipefail aborts the script, and every disagg job using this setup script fails at startup with no fallback. Compare to benchmarks/benchmark_lib.sh:1457 which pins bfcl_eval from the production files.pythonhosted.org host for the same durability reason.Verification: nit. Verified: benchmarks/multi_node/srt-slurm-recipes/configs/minimaxm3-mooncake/setup-disagg.sh:5 fetches the Mooncake wheel from
https://test-files.pythonhosted.org/packages/.../mooncake_transfer_engine_cuda13-0.3.14.dev20260910-...whl#sha256=....test-files.pythonhosted.orgis TestPyPI's sandbox file host, not the productionfiles.pythonhosted.orgused everywhere else in the repo (e.g.…