Skip to content

Refresh A4X Dynamo Disaggregated Serving Recipes (DeepSeek-R1 NVFP4 8k1k 1P4D & 10P1D) - #285

Merged
ngu3 merged 1 commit into
AI-Hypercomputer:mainfrom
napulath:fix-b515509369-a4x-dynamo-recipe-refresh
Oct 20, 2026
Merged

ngu3 merged 1 commit into
AI-Hypercomputer:mainfrom
napulath:fix-b515509369-a4x-dynamo-recipe-refresh

Conversation

@napulath

@napulath napulath commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Refreshes the A4X (GB200) disaggregated serving Dynamo recipe (inference/a4x/disaggregated-serving/dynamo) to use the validated nvidia/DeepSeek-R1-0528-NVFP4-v2 (ISL=8192, OSL=1024) SGLang recipes and Dynamo Platform 1.4.2.

Key Changes

  1. Dynamo Platform & Runtime Image Refresh:
    • Upgrades Dynamo Platform release version from 0.9.0 to 1.4.2 (with Grove + KAI scheduler enabled and Kubernetes service discovery DYN_DISCOVERY_BACKEND=kubernetes, DYN_EVENT_PLANE=zmq, DYN_REQUEST_PLANE=tcp).
    • Updates SGLang runtime image to nvcr.io/nvidia/ai-dynamo/sglang-runtime:1.3.0-dev.1-cuda13.
  2. A4X DeepSeek-R1 NVFP4 8k1k Serving Configs (src/frameworks/a4x/dynamo-configs/):
    • Without DeepEP (1P4D, 20 GPUs / 5 A4X nodes, Low Latency): deepseekr1-fp4-1p4d-{prefill,decode}.yaml + values_wo_deepep.yaml (1 Prefill worker × 4 GPUs TP=4 EP=1 + 4 Decode workers × 4 GPUs TP=4 EP=1, flashinfer_trtllm).
    • With DeepEP (10P1D, 72 GPUs / 18 A4X nodes, High Throughput): deepseekr1-fp4-10p1d-{prefill,decode}.yaml + values_deepep.yaml (10 Prefill workers × 4 GPUs TP=4 EP=1 + 1 Decode worker × 32 GPUs TP=32 DP=32 EP=32 with DeepEP low_latency and flashinfer_cutedsl).
    • Replaces legacy FP8 deepseekr1-fp8-1p1d-* and deepseekr1-fp8-10p8d-* configs.
  3. Helm Chart Updates (src/helm-charts/a4x/inference-templates/dynamo-deployment/):
    • Adds dynamo.frontend.envs support in templates/dynamo-graph-deployment.yaml, sets nodeSelector: kubernetes.io/arch: arm64 and serviceAccountName on Frontend pods, and removes redundant runtime pip install hf_transfer.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Dynamo inference deployment configuration, including container images, environment variables for NCCL/UCX, and deployment templates. The reviewer identified concerns regarding the use of runtime sed patching and pip install within startup scripts, suggesting these be integrated into the container build process to improve maintainability and reliability.

env | grep NCCL_
echo "--- END VERIFICATION ---"
pip install hf_transfer
pip install hf_transfer --break-system-packages || true

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Installing hf_transfer at runtime via pip install during pod startup is risky and inefficient. It increases pod startup latency and introduces a runtime dependency on external network access (PyPI), which will fail in air-gapped or secure private GKE clusters. It is highly recommended to pre-install hf_transfer in the base container image.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed: hf_transfer is already pre-installed in nvcr.io/nvidia/ai-dynamo/sglang-runtime:1.3.0-dev.1-cuda13, so runtime pip install at pod startup is not needed.

@napulath
napulath force-pushed the fix-b515509369-a4x-dynamo-recipe-refresh branch 4 times, most recently from 0a1a2da to bc6dada Compare October 13, 2026 01:09
@napulath napulath changed the title feat(a4x): refresh Dynamo disaggregated serving recipes to 1.4.2 and DeepSeek-R1 NVFP4 8k/1k (1p4d, 6p1d, 10p1d) #recipebot Refresh A4X Dynamo Disaggregated Serving Recipes (DeepSeek-R1 NVFP4 8k1k 1P1D & 10P1D) Oct 13, 2026
@napulath
napulath force-pushed the fix-b515509369-a4x-dynamo-recipe-refresh branch from bc6dada to 1b9b845 Compare October 13, 2026 01:18
@napulath
napulath force-pushed the fix-b515509369-a4x-dynamo-recipe-refresh branch from 1b9b845 to 8522165 Compare October 13, 2026 04:01
@napulath napulath changed the title Refresh A4X Dynamo Disaggregated Serving Recipes (DeepSeek-R1 NVFP4 8k1k 1P1D & 10P1D) Refresh A4X Dynamo Disaggregated Serving Recipes (DeepSeek-R1 NVFP4 8k1k 1P4D & 10P1D) Oct 13, 2026
@napulath
napulath marked this pull request as ready for review October 13, 2026 04:42
@napulath

Copy link
Copy Markdown
Contributor Author

@alisachen-google @syangx39 Ready for review — PTAL!

@ngu3
ngu3 self-requested a review October 20, 2026 16:43
@ngu3
ngu3 merged commit cfbf585 into AI-Hypercomputer:main Oct 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants