mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[PR #697] fix(test): remove dead num_worst_tokens test from internode file #714
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#714
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/697
Author: @Syan-Lin
Created: 7/24/2026
Status: 🔄 Open
Base:
main← Head:fix-670-num-worst-tokens-internode📝 Commits (1)
df07e62fix(test): remove dead num_worst_tokens test from internode file📊 Changes
1 file changed (+0 additions, -15 deletions)
View changed files
📝
tests/legacy/test_internode.py(+0 -15)📄 Description
Problem
test_internode.pyincluded a copy-pastednum_worst_tokens != 0test block from
test_intranode.py. This block was dead code —Buffer::dispatchassertsnum_worst_tokens == 0for multi-RDMA-rankinternode dispatch (
legacy.py:378-379), so the test could never run.When triggered, it crashed the test suite.
Fix
Remove the block entirely from
test_internode.py. Coverage ispreserved in
test_intranode.pywhere the feature is supported.References
deep_ep/buffers/legacy.py:354-355: "this flag is for intranode only"docs/legacy.md:172: "this flag is for intranode only"🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.