mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[PR #783] Match GPUs by UUID in NVLink connection check #782
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#782
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/783
Author: @lvren1485
Created: 10/15/2026
Status: 🔄 Open
Base:
main← Head:nvlink-check-by-uuid📝 Commits (1)
7b92bf8Match GPUs by UUID in NVLink connection check📊 Changes
1 file changed (+7 additions, -7 deletions)
View changed files
📝
deep_ep/utils/envs.py(+7 -7)📄 Description
Fixes #582.
check_nvlink_connectionsmaps the current device to a physical index throughCUDA_VISIBLE_DEVICES. This goes wrong when:int()raises)This uses
torch.cuda.get_device_properties().uuidwithnvmlDeviceGetHandleByUUIDinstead, and gives a clear error when multiple ranks share one GPU.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.