mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[PR #440] Fix racing condition in large batch size #571
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#571
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/440
Author: @fzyzcjy
Created: 10/2/2025
Status: 🔄 Open
Base:
main← Head:patch-10📝 Commits (1)
f00ce65Update configs.cuh📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
csrc/kernels/configs.cuh(+1 -1)📄 Description
In internode_ll.cu, the logic is:
In my naive understanding, if the batch size is >1024 (which is possible since a extreme case can have bs 1400), then it is possible that after sending the first 1024 tokens, we already reach the last while condition (since FINISHED_SUM_TAG=1024), and we send signals prematurely, causing bugs.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.