mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[GH-ISSUE #359] maybe bug in low latency combine tma ld/st #247
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#247
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 @ziannchen on GitHub (Aug 12, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/359
github.com/deepseek-ai/DeepEP@d9767ce05f/csrc/kernels/internode_ll.cu (L691-L695)github.com/deepseek-ai/DeepEP@d9767ce05f/csrc/kernels/internode_ll.cu (L712-L716)If the thread with lane_id != 0 wins the elect and enter this if branch, the offset used may be wrong ?
@zheanxu commented on GitHub (Aug 13, 2025):
Through extensive testing, we have consistently observed that
elect_one_sync(lane_id)always selects the thread withlane_id = 0. Furthermore, this implementation has been successfully deployed and tested in production environments, where it continues to run reliably. Based on these observations, we can reasonably conclude thatelect_one_sync(lane_id)guarantees the selection of the thread withlane_id = 0.@cyhdmjzzy commented on GitHub (Dec 19, 2025):
Wouldn't the
lane_id * kNumSendUnrollspart cause a discrepancy?elect_one_sync()always elects lane 0, so it's equivalent to:const auto& offset_int4 = (iter_idx + 1) * 32 * kNumSendUnrolls