Repository navigation
feat(slurm): support cross-node tensor and expert parallelism - #1112
Conversation
Signed-off-by: Nabin Mulepati <nmulepati@nvidia.com>
Signed-off-by: Nabin Mulepati <nmulepati@nvidia.com>
|
Fern preview: https://nvidia-preview-pr-1112.docs.buildwithfern.com/nemo/datadesigner
|
[Medium impact] This PR appears safe to merge; no actionable issues were found. SummaryThis PR lets one vLLM replica spread tensor parallelism across nodes without tying the node count to pipeline parallelism.
|
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
Completed the light review across all 16 changed files and their affected planning, serving, runtime, and serialization paths. No confirmed Critical or Warning findings.
The topology integration tests cover cross-node TP/EP, hybrid TP/PP, single-node PP, legacy defaults, and invalid process geometry. Source inspection found the node/pipeline separation consistent across GPU slicing, rendezvous, head/follower commands, and legacy record serialization.
Static review only; tests, Slurm, and vLLM were not executed.
Note: formal approval is not available for this request, so this review is posted as a comment only.
Review generated by codex. This was a full review. Request a full review with /review reset=true.
andreatnvidia
left a comment
There was a problem hiding this comment.
Looks good to me. Validated TP8/PP1 + EP across two nodes, including generation and collection. The smoke used plain NCCL with optimized all-reduce paths disabled. No blocking findings.
📋 Summary
Allow one vLLM replica to use tensor parallelism across multiple nodes, including TP16/PP1 with expert parallelism across four nodes with four GPUs each. Existing configurations keep their current TP-within-node / PP-across-node behavior when
pipeline_parallelis omitted.🔗 Related Issue
Related to #850; extends the serving topology delivered under #866.
🔄 Changes
topology.pipeline_parallel; derive per-node GPU slices and replica counts from the TP × PP world size and replica node count.🧪 Testing
moonshotai/Kimi-K3MXFP4 and vLLM 0.32.0 on two nodes with eight H100 GPUs each: all 16 TP/EP ranks loaded, readiness passed, two records generated, and the managed run exited successfully.✅ Checklist