mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[PR #709] [MERGED] zero-initialize overflow_flag to prevent stale garbage value #723
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#723
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/709
Author: @Autumn1998
Created: 7/30/2026
Status: ✅ Merged
Merged: 8/4/2026
Merged by: @jershi425
Base:
hybrid-ep← Head:fix-token-drop-uninit📝 Commits (2)
0757253Fix uninitialized overflow_flag by using torch::zeros instead of torch::empty6df62affix: zero-initialize overflow_flag to prevent stale garbage value📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
csrc/hybrid_ep/executor/executor.cu(+1 -0)📄 Description
After #625 removed the standalone permute_preprocessing that unconditionally wrote *overflow_flag = 0, the non-fused path leaves overflow_flag
uninitialized (torch::empty garbage), causing callers to see a false-positive token drop on every dispatch.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.