Repository navigation
Dynamo frontend settings for the GB300 DSV4.1-Flash Dynamo + vLLM AgentX recipes - #3950
Merged
Conversation
…ntX recipes Carry the Dynamo runtime and router settings that held up on the GB300 Dynamo + vLLM P/D frontier (c1 to c640, full-hour AgentX replays) into the disaggregated and aggregated recipes: - Conditional disaggregation off: active-decode-blocks-threshold, active-prefill-tokens-threshold and active-prefill-tokens-threshold-frac set to None, so every request is prefilled on a prefill rank and never on one of the 16 lockstep MegaMoE decode ranks. - Router defaults pinned: DYN_ROUTER_TEMPERATURE=0 and DYN_ROUTER_QUEUE_THRESHOLD None (temperature 1 measured as noise, +1 to 4%). - Dynamo request plane tcp and event plane zmq; the NATS service is dropped (no broker hop; the frontier ran this way at c640). - Disaggregated recipe: etcd on a dedicated infra node and the frontend placed beside it, so the single Rust frontend does not share a node with two DEP2 prefill ranks running Engram CPU offload and 70 GiB host KV each. Adds one CPU-only node to the job; the GPU count of the measurement is unchanged. - vLLM engines run with --reasoning-parser None on every role: the deepseek_v41 tool-call and reasoning parsers are applied once, by the Dynamo frontend (published through the sidecar --dyn-*-parser flags), not a second time inside vllm-rs. - DYN_LOG=warn for measured runs. Validated with srtctl dry-run (5P1D c2560 and TP4 c1) on oci-jhb.
peilii
requested review from
a team,
Ankur-singh,
RohitNagraj,
kedarpotdar-nv,
nvpohanh and
wzhao18
as code owners
October 13, 2026 02:19
srtctl's orchestrator accepts only head|first_decode|last_decode for frontend.placement.node (src/srtctl/core/topology.py), even though the schema and `srtctl dry-run` accept `infra`; a 10P1D job with the previous commit's placement failed at launch with "frontend.placement.node='infra' is invalid". Drop the frontend placement and the dedicated infra node for etcd; the frontend runs on the head node as before. Verified: the same 10P1D job launches with this change.
Juntian777
merged commit Oct 13, 2026
5deca12
into
SemiAnalysisAI:dsv41flash-gb300-dynamo-vllm-disagg
2 checks passed
cquil11
pushed a commit
that referenced
this pull request
Oct 14, 2026
…ntX recipes (#3950) * Dynamo frontend settings for the GB300 DSV4.1-Flash Dynamo + vLLM AgentX recipes Carry the Dynamo runtime and router settings that held up on the GB300 Dynamo + vLLM P/D frontier (c1 to c640, full-hour AgentX replays) into the disaggregated and aggregated recipes: - Conditional disaggregation off: active-decode-blocks-threshold, active-prefill-tokens-threshold and active-prefill-tokens-threshold-frac set to None, so every request is prefilled on a prefill rank and never on one of the 16 lockstep MegaMoE decode ranks. - Router defaults pinned: DYN_ROUTER_TEMPERATURE=0 and DYN_ROUTER_QUEUE_THRESHOLD None (temperature 1 measured as noise, +1 to 4%). - Dynamo request plane tcp and event plane zmq; the NATS service is dropped (no broker hop; the frontier ran this way at c640). - Disaggregated recipe: etcd on a dedicated infra node and the frontend placed beside it, so the single Rust frontend does not share a node with two DEP2 prefill ranks running Engram CPU offload and 70 GiB host KV each. Adds one CPU-only node to the job; the GPU count of the measurement is unchanged. - vLLM engines run with --reasoning-parser None on every role: the deepseek_v41 tool-call and reasoning parsers are applied once, by the Dynamo frontend (published through the sidecar --dyn-*-parser flags), not a second time inside vllm-rs. - DYN_LOG=warn for measured runs. Validated with srtctl dry-run (5P1D c2560 and TP4 c1) on oci-jhb. * Keep the Dynamo frontend on the head node; etcd stays on infra srtctl's orchestrator accepts only head|first_decode|last_decode for frontend.placement.node (src/srtctl/core/topology.py), even though the schema and `srtctl dry-run` accept `infra`; a 10P1D job with the previous commit's placement failed at launch with "frontend.placement.node='infra' is invalid". Drop the frontend placement and the dedicated infra node for etcd; the frontend runs on the head node as before. Verified: the same 10P1D job launches with this change.
cquil11
added a commit
that referenced
this pull request
Oct 14, 2026
* Add GB300 DeepSeek-V4.1-Flash Dynamo + vLLM disaggregated AgentX recipes Add 8P1D, 6P1D and 5P1D points (DEP2 prefill, DEP16 decode) behind the Dynamo KV router with native vLLM sidecars. 新增 GB300 DeepSeek-V4.1-Flash Dynamo + vLLM 分离式 AgentX 配方:8P1D、6P1D、5P1D 三个点(DEP2 prefill、DEP16 decode),使用 Dynamo KV 路由与原生 vLLM sidecar。 Co-Authored-By: Claude Opus 5.5 <[email protected]> * Address review: drop setup script, enable prefill autotune; GB300 single-node arm on the new image Drop the vllm-container-deps.sh setup script (the image already has numactl and msgpack), enable FlashInfer autotune on prefill, move the GB300 single-node arm to vllm/vllm-openai:nightly-aarch64-dev-20261012-59e75f4 with its TP4 points at conc 1 and 8, and restore a historical changelog pr-link that the previous commit changed by mistake. 处理评审意见:删除 vllm-container-deps.sh 安装脚本(镜像已自带 numactl 和 msgpack),prefill 开启 FlashInfer autotune;GB300 单节点配置改用 vllm/vllm-openai:nightly-aarch64-dev-20261012-59e75f4,TP4 只跑 conc 1 和 8;并恢复上一个提交误改的一条历史 changelog pr-link。 Co-Authored-By: Claude Opus 5.5 <[email protected]> * Move the TP4 points to a Dynamo aggregated key; leave the single-node vLLM arm unchanged Add dsv41flash-fp4-gb300-dynamo-vllm-agentic-dspark-agg (one TP4 worker with a native Dynamo sidecar, conc 1 and 8) and restore the GB300 single-node vLLM key and recipe to main. 将 TP4 点移到新的 Dynamo 聚合配置项,单节点 vLLM 配置保持不变:新增 dsv41flash-fp4-gb300-dynamo-vllm-agentic-dspark-agg(单个 TP4 worker + 原生 Dynamo sidecar,conc 1 和 8),并将 GB300 单节点 vLLM 配置项和配方恢复为 main 的版本。 Co-Authored-By: Claude Opus 5.5 <[email protected]> * Add a 10P1D point at conc 6656 to the Dynamo disaggregated key Ten DEP2 prefill instances feed the DEP16 decode at max-num-seqs 132. 在 Dynamo 分离式配置项中新增 10P1D 点(conc 6656):10 个 DEP2 prefill 实例配 DEP16 decode,max-num-seqs 132。 Co-Authored-By: Claude Opus 5.5 <[email protected]> * Dynamo frontend settings for the GB300 DSV4.1-Flash Dynamo + vLLM AgentX recipes (#3950) * Dynamo frontend settings for the GB300 DSV4.1-Flash Dynamo + vLLM AgentX recipes Carry the Dynamo runtime and router settings that held up on the GB300 Dynamo + vLLM P/D frontier (c1 to c640, full-hour AgentX replays) into the disaggregated and aggregated recipes: - Conditional disaggregation off: active-decode-blocks-threshold, active-prefill-tokens-threshold and active-prefill-tokens-threshold-frac set to None, so every request is prefilled on a prefill rank and never on one of the 16 lockstep MegaMoE decode ranks. - Router defaults pinned: DYN_ROUTER_TEMPERATURE=0 and DYN_ROUTER_QUEUE_THRESHOLD None (temperature 1 measured as noise, +1 to 4%). - Dynamo request plane tcp and event plane zmq; the NATS service is dropped (no broker hop; the frontier ran this way at c640). - Disaggregated recipe: etcd on a dedicated infra node and the frontend placed beside it, so the single Rust frontend does not share a node with two DEP2 prefill ranks running Engram CPU offload and 70 GiB host KV each. Adds one CPU-only node to the job; the GPU count of the measurement is unchanged. - vLLM engines run with --reasoning-parser None on every role: the deepseek_v41 tool-call and reasoning parsers are applied once, by the Dynamo frontend (published through the sidecar --dyn-*-parser flags), not a second time inside vllm-rs. - DYN_LOG=warn for measured runs. Validated with srtctl dry-run (5P1D c2560 and TP4 c1) on oci-jhb. * Keep the Dynamo frontend on the head node; etcd stays on infra srtctl's orchestrator accepts only head|first_decode|last_decode for frontend.placement.node (src/srtctl/core/topology.py), even though the schema and `srtctl dry-run` accept `infra`; a 10P1D job with the previous commit's placement failed at launch with "frontend.placement.node='infra' is invalid". Drop the frontend placement and the dedicated infra node for etcd; the frontend runs on the head node as before. Verified: the same 10P1D job launches with this change. * Give each worker step every CPU on its node so prefill numa-bind can auto-detect With cpus-per-task 72 every worker step was pinned to CPUs 0-71 (NUMA 0), including the DEP2 prefill worker on GPUs 2-3, and vLLM refuses automatic GPU-to-NUMA detection under a constrained affinity, so the prefill engines exited. With 144 each step (one task, --overlap) gets CPUs 0-143 and vLLM binds each DEP2 prefill worker to its GPUs' NUMA node (GPUs 0-1 -> node 0, GPUs 2-3 -> node 1). Co-Authored-By: Claude Opus 5.5 <[email protected]> * Bump srt-slurm to v2.51.4 Picks up NVIDIA/srt-slurm#602: on the Python sidecar launcher (multi-node hybrid-DP decode) srtctl drops `reasoning-parser: none`, which Python vLLM rejects as an unknown parser name, while single-node `vllm-rs serve` endpoints keep it as Dynamo sidecars require. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Run the Dynamo frontend and the AgentX client on a dedicated node On the head node the frontend and the client grew next to two DEP2 prefill instances (Engram CPU tables plus 70 GiB host KV per rank) until the 8P1D c5120 job was OOM-killed during warmup. Both now share one CPU-only node (frontend and benchmark placement dedicated, colocated), which adds one node per disaggregated point and leaves the GPU count unchanged. The frontend is pinned to NUMA node 0 (frontend.numa_bind) now that worker steps get every CPU. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Retune the AgentX points and bind workers to NUMA nodes Disaggregated points move to 8P1D c4096, 6P1D c2884 and 4P1D c1228, with 10P1D dropped. Prefill keeps its Engram tables in transparent huge pages and takes 32K batched tokens; each aggregated TP4 worker binds to its GPU's NUMA node. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Add GB300 DeepSeek-V4.1-Flash Dynamo + vLLM disaggregated AgentX recipes Add 8P1D, 6P1D and 5P1D points (DEP2 prefill, DEP16 decode) behind the Dynamo KV router with native vLLM sidecars. 新增 GB300 DeepSeek-V4.1-Flash Dynamo + vLLM 分离式 AgentX 配方:8P1D、6P1D、5P1D 三个点(DEP2 prefill、DEP16 decode),使用 Dynamo KV 路由与原生 vLLM sidecar。 * Address review: drop setup script, enable prefill autotune; GB300 single-node arm on the new image Drop the vllm-container-deps.sh setup script (the image already has numactl and msgpack), enable FlashInfer autotune on prefill, move the GB300 single-node arm to vllm/vllm-openai:nightly-aarch64-dev-20261012-59e75f4 with its TP4 points at conc 1 and 8, and restore a historical changelog pr-link that the previous commit changed by mistake. 处理评审意见:删除 vllm-container-deps.sh 安装脚本(镜像已自带 numactl 和 msgpack),prefill 开启 FlashInfer autotune;GB300 单节点配置改用 vllm/vllm-openai:nightly-aarch64-dev-20261012-59e75f4,TP4 只跑 conc 1 和 8;并恢复上一个提交误改的一条历史 changelog pr-link。 * Move the TP4 points to a Dynamo aggregated key; leave the single-node vLLM arm unchanged Add dsv41flash-fp4-gb300-dynamo-vllm-agentic-dspark-agg (one TP4 worker with a native Dynamo sidecar, conc 1 and 8) and restore the GB300 single-node vLLM key and recipe to main. 将 TP4 点移到新的 Dynamo 聚合配置项,单节点 vLLM 配置保持不变:新增 dsv41flash-fp4-gb300-dynamo-vllm-agentic-dspark-agg(单个 TP4 worker + 原生 Dynamo sidecar,conc 1 和 8),并将 GB300 单节点 vLLM 配置项和配方恢复为 main 的版本。 * Add a 10P1D point at conc 6656 to the Dynamo disaggregated key Ten DEP2 prefill instances feed the DEP16 decode at max-num-seqs 132. 在 Dynamo 分离式配置项中新增 10P1D 点(conc 6656):10 个 DEP2 prefill 实例配 DEP16 decode,max-num-seqs 132。 * Dynamo frontend settings for the GB300 DSV4.1-Flash Dynamo + vLLM AgentX recipes (#3950) * Dynamo frontend settings for the GB300 DSV4.1-Flash Dynamo + vLLM AgentX recipes Carry the Dynamo runtime and router settings that held up on the GB300 Dynamo + vLLM P/D frontier (c1 to c640, full-hour AgentX replays) into the disaggregated and aggregated recipes: - Conditional disaggregation off: active-decode-blocks-threshold, active-prefill-tokens-threshold and active-prefill-tokens-threshold-frac set to None, so every request is prefilled on a prefill rank and never on one of the 16 lockstep MegaMoE decode ranks. - Router defaults pinned: DYN_ROUTER_TEMPERATURE=0 and DYN_ROUTER_QUEUE_THRESHOLD None (temperature 1 measured as noise, +1 to 4%). - Dynamo request plane tcp and event plane zmq; the NATS service is dropped (no broker hop; the frontier ran this way at c640). - Disaggregated recipe: etcd on a dedicated infra node and the frontend placed beside it, so the single Rust frontend does not share a node with two DEP2 prefill ranks running Engram CPU offload and 70 GiB host KV each. Adds one CPU-only node to the job; the GPU count of the measurement is unchanged. - vLLM engines run with --reasoning-parser None on every role: the deepseek_v41 tool-call and reasoning parsers are applied once, by the Dynamo frontend (published through the sidecar --dyn-*-parser flags), not a second time inside vllm-rs. - DYN_LOG=warn for measured runs. Validated with srtctl dry-run (5P1D c2560 and TP4 c1) on oci-jhb. * Keep the Dynamo frontend on the head node; etcd stays on infra srtctl's orchestrator accepts only head|first_decode|last_decode for frontend.placement.node (src/srtctl/core/topology.py), even though the schema and `srtctl dry-run` accept `infra`; a 10P1D job with the previous commit's placement failed at launch with "frontend.placement.node='infra' is invalid". Drop the frontend placement and the dedicated infra node for etcd; the frontend runs on the head node as before. Verified: the same 10P1D job launches with this change. * Give each worker step every CPU on its node so prefill numa-bind can auto-detect With cpus-per-task 72 every worker step was pinned to CPUs 0-71 (NUMA 0), including the DEP2 prefill worker on GPUs 2-3, and vLLM refuses automatic GPU-to-NUMA detection under a constrained affinity, so the prefill engines exited. With 144 each step (one task, --overlap) gets CPUs 0-143 and vLLM binds each DEP2 prefill worker to its GPUs' NUMA node (GPUs 0-1 -> node 0, GPUs 2-3 -> node 1). * Bump srt-slurm to v2.51.4 Picks up NVIDIA/srt-slurm#602: on the Python sidecar launcher (multi-node hybrid-DP decode) srtctl drops `reasoning-parser: none`, which Python vLLM rejects as an unknown parser name, while single-node `vllm-rs serve` endpoints keep it as Dynamo sidecars require. * Run the Dynamo frontend and the AgentX client on a dedicated node On the head node the frontend and the client grew next to two DEP2 prefill instances (Engram CPU tables plus 70 GiB host KV per rank) until the 8P1D c5120 job was OOM-killed during warmup. Both now share one CPU-only node (frontend and benchmark placement dedicated, colocated), which adds one node per disaggregated point and leaves the GPU count unchanged. The frontend is pinned to NUMA node 0 (frontend.numa_bind) now that worker steps get every CPU. * Retune the AgentX points and bind workers to NUMA nodes Disaggregated points move to 8P1D c4096, 6P1D c2884 and 4P1D c1228, with 10P1D dropped. Prefill keeps its Engram tables in transparent huge pages and takes 32K batched tokens; each aggregated TP4 worker binds to its GPU's NUMA node. * Adapt GB300 Dynamo AgentX recipes to current launch contracts Use master recipe selectors and shared AgentX fragments while preserving the five tuned points and dedicated frontend/client placement. Backport the vLLM sidecar reasoning-parser fix through the existing patch mechanism and retain the shared srt-slurm pin. * Limit GB300 Dynamo AgentX submission to completed points --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Pei Li <[email protected]> Co-authored-by: Cam Quilici <[email protected]>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Dynamo frontend and runtime settings for the two new GB300 DeepSeek-V4.1-Flash Dynamo + vLLM AgentX recipes (
disagg-variants.yaml,agg-variants.yaml), carried over from the GB300 Dynamo + vLLM P/D line we ran at c1 to c640 (full-hour AgentX replays). Config only; no engine, model or image change.active-decode-blocks-threshold,active-prefill-tokens-threshold,active-prefill-tokens-threshold-fracset toNone, so every request is prefilled on a prefill rank and never locally on one of the 16 lockstep MegaMoE decode ranks.DYN_ROUTER_TEMPERATURE=0,DYN_ROUTER_QUEUE_THRESHOLD: None.tcp, event planezmq; the NATS service is dropped (no broker hop; our frontier ran this way at c640).--reasoning-parser Noneon every role: thedeepseek_v41tool-call and reasoning parsers are applied once, by the Dynamo frontend (published through the sidecar--dyn-*-parserflags already in the recipe), not a second time insidevllm-rs.DYN_LOG=warnfor measured runs.Validated with
srtctl dry-runon oci-jhb foroverride_5p1d_dep2_dep16_c2560andoverride_tp4_c1; a 10P1D job with these settings launches cleanly through the orchestrator. (A first version also moved the frontend to a dedicated infra node; srtctl's runtime validation only acceptshead|first_decode|last_decodefor the frontend, so that part is dropped.)Not in this diff, worth a look
kv_load_failure_policy: "fail"withkv_lease_duration: 120: with decodemax-num-seqs18 to 132 per rank andVLLM_MAX_ASYNC_KV_ADMITS_PER_STEP=4, requests can wait in the router queue longer than the lease; when they land, the KV load fails and the request errors. Check the AgentX error rate at c7168; a longer lease or a recompute policy would be the safe setting.numa-bind: truewithoutnuma-bind-nodes: on our GB300 nodes vLLM could not auto-detect the GPU-to-NUMA map and aborted at startup asking for the explicit list; decode has[0, 0, 1, 1], prefill does not.--stream-intervalin vLLM35e920d67(2026-10-09); the recipe image (fe4df3df, 2026-10-12) includes it and the recipes run at the default of 1, which the AgentX speed statistics need. Keep the image at or after that commit.