Repository navigation
Fix internode dispatch args - #641
Merged
Merged
Conversation
Collaborator
|
Thanks! |
MengYu10151
pushed a commit
to MengYu10151/DeepEP
that referenced
this pull request
Jul 6, 2026
Merge 8 upstream commits including: - fence.proxy.async.shared::cta for TMA load (deepseek-ai#642) - Fix single-node intra EP init (deepseek-ai#630) - Fix internode dispatch args (deepseek-ai#641) - Symmetric memory refactor with CPU buffer support - NCCL SO name resolution fix for pip wheels (deepseek-ai#627) - Various other updates (deepseek-ai#637, deepseek-ai#674) Conflicts resolved: - buffer.hpp: merged cpu_comm/cpu_buffer params with has_nvlink param - nccl.cu: merged symmetric alloc refactor with has_nvlink and debug prints - elastic.py: merged NCCL comm handle refactor with NVLink detection logic - setup.py: adopted upstream dynamic NCCL lib name resolution Co-Authored-By: Claude Opus 4.6 <[email protected]>
markw14
pushed a commit
to markw14/DeepEP
that referenced
this pull request
Aug 7, 2026
BACKPORT of upstream a1b3af3 ("Fix internode dispatch args", deepseek-ai#641) to the epv2-release branch, which still carries the bug 13 commits behind main. NOT for upstream main -- main is already fixed. Kept here only because our container builds from epv2-release. The legacy shim calls runtime.internode_dispatch() with 19 arguments while the compiled binding takes 20 (csrc/legacy/buffer.hpp:889): int expert_alignment, int num_worst_tokens, const Config& config, ... num_worst_tokens sits between expert_alignment and config, so both call sites raise on every rank: TypeError: internode_dispatch(): incompatible function arguments dispatch() itself already has the parameter and forwards it correctly on the intranode path; only the internode path was missed. Passing 0 preserves the previous behaviour and matches what main does. Reproduced on 2 and 4 nodes, 16/32 ranks, H100 + RoCE, NCCL 2.30.7.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.