mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[GH-ISSUE #777] [Bug] check_nccl_so treats /proc/self/maps '(deleted)' suffix as filename and raises FileNotFoundError #421
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#421
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?
Originally created by @TommyFive on GitHub (Oct 9, 2026).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/777
Summary
When Linux marks a mapped NCCL library as deleted/replaced, /proc/self/maps ends the pathname in " (deleted)". DeepEP check_nccl_so() uses line.strip().split(' ')[-1] to identify its path, which yields literally "(deleted)" instead. filecmp.cmp("(deleted)", linked_nccl_so) then raises FileNotFoundError, obscuring the NCCL library inconsistency.
Error observed live
SGLang scheduler subsequently exited with code 1, before GPU model loading.
Environment
Expected
Please parse the complete /proc/self/maps pathname (including possible spaces), explicitly detect a " (deleted)" mapping, and report an actionable library-replaced/NCCL inconsistency error rather than treating "(deleted)" as a file. The check should not be suppressed.
The concurrent pip installation is a suspected trigger, not yet an isolated minimal reproduction. We are fixing our application bootstrap to stop modifying a live SGLang environment. Related but distinct: #710 reports a downgrade-induced undefined symbol, not this deleted-mapping parser failure.