[GH-ISSUE #464] Can deep_ep run on environments with more than 160 ranks? #300

Open
opened 2026-10-26 09:58:11 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @ZhenguoYao1 on GitHub (Oct 21, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/464

I noticed a restriction in /csrc/deep_ep.cpp:
EP_HOST_ASSERT(0 <= rank && rank < num_ranks &&
(num_ranks <= NUM_MAX_NVL_PEERS * NUM_MAX_RDMA_PEERS || low_latency_mode));

where NUM_MAX_NVL_PEERS = 8 and NUM_MAX_RDMA_PEERS = 20. This implies the rank count cannot exceed 160 (8*20).

I tested this on a 24-node cluster, and the assertion was triggered. Therefore, my question is:
Does deep_ep actually support training on clusters with more than 20 nodes? Or is there any misunderstanding in my interpretation?

Originally created by @ZhenguoYao1 on GitHub (Oct 21, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/464 I noticed a restriction in /csrc/deep_ep.cpp: EP_HOST_ASSERT(0 <= rank && rank < num_ranks && (num_ranks <= NUM_MAX_NVL_PEERS * NUM_MAX_RDMA_PEERS || low_latency_mode)); where NUM_MAX_NVL_PEERS = 8 and NUM_MAX_RDMA_PEERS = 20. This implies the rank count cannot exceed 160 (8*20). I tested this on a 24-node cluster, and the assertion was triggered. Therefore, my question is: Does deep_ep actually support training on clusters with more than 20 nodes? Or is there any misunderstanding in my interpretation?
Author
Owner

@sphish commented on GitHub (Oct 23, 2025):

Typically, a training job might run on more than 20 nodes, but the EP group size within that job usually does not exceed 160.

<!-- gh-comment-id:3434784680 --> @sphish commented on GitHub (Oct 23, 2025): Typically, a training job might run on more than 20 nodes, but the EP group size within that job usually does not exceed 160.
Author
Owner

@goelayu commented on GitHub (Oct 30, 2025):

@ZhenguoYao1 Using gb200 support from https://github.com/fzyzcjy/DeepEP/tree/feat/dev_20250914, you can scale beyond 160.

<!-- gh-comment-id:3470004317 --> @goelayu commented on GitHub (Oct 30, 2025): @ZhenguoYao1 Using gb200 support from https://github.com/fzyzcjy/DeepEP/tree/feat/dev_20250914, you can scale beyond 160.
Author
Owner

@elvircrn commented on GitHub (Nov 11, 2025):

@goelayu Did you modify this github.com/fzyzcjy/DeepEP@483f00af84/csrc/kernels/launch.cuh (L54) to scale up the ranks?

<!-- gh-comment-id:3518872618 --> @elvircrn commented on GitHub (Nov 11, 2025): @goelayu Did you modify this https://github.com/fzyzcjy/DeepEP/blob/483f00af8490b0cc378823c6adecf9ea67602071/csrc/kernels/launch.cuh#L54 to scale up the ranks?
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepEP#300
No description provided.