mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[PR #597] [CLOSED] Fix NVLink domain over-count on MNNVL systems in detect_accessible_ranks #651
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepEP#651
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/DeepEP/pull/597
Author: @samnordmann
Created: 3/31/2026
Status: ❌ Closed
Base:
hybrid-ep← Head:hybrid_ep_mnnvl_detection📝 Commits (1)
16a11acFix NVLink domain over-count on MNNVL systems in detect_accessible_ranks📊 Changes
1 file changed (+4 additions, -2 deletions)
View changed files
📝
csrc/hybrid_ep/allocator/allocator.cu(+4 -2)📄 Description
Summary
Fixes https://github.com/deepseek-ai/DeepEP/issues/596
On GB200 NVL72 (MNNVL) systems,
detect_accessible_ranks()returns the full EP group size instead of the physical per-node GPU count becausecuMemImportFromShareableHandlesucceeds for cross-node peers via the MNNVL fabric. This causesdevice_sync_kernelto deadlock waiting for atomic increments that never arrive.The non-fabric path of
is_accessible()already guards on hostname; this patch applies the same check to the fabric path so the NVLink domain is correctly bounded to the physical node.Test plan
detect_accessible_ranksreturns physical GPUs per node, not group sizeNUM_OF_HYBRID_EP_RANKS_PER_NVLINK_DOMAINenv var override still works and warns on mismatch🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.