mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[GH-ISSUE #346] question about half_warp_reduce_max #241
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#241
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 @lpoyster on GitHub (Jul 31, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/346
I found that in the previous version, low latency fp8 cast use the following code, i wonder why the mask will be {0xffffffff, 0xffff} rather than random, thanks~
@MARD1NO commented on GitHub (Aug 18, 2025):
In stride loop, maybe only a half warp execute the reduce_max, so the mask should be 0xffff, otherwise, it will get deadlock if you use full mask
@lpoyster commented on GitHub (Aug 25, 2025):
thx for reply, i wonder why the mask will exactly be {0xffffffff, 0xffff},for example, only one thread executing this instruction at some moment @MARD1NO
@MARD1NO commented on GitHub (Aug 25, 2025):
Deepep use pertoken perblock 128 quantize, by using vectorized load, each thread can load 128bit = 8xbf16, and 16thread can process a 128 block, so the minimum threads here is 16
@sphish commented on GitHub (Aug 25, 2025):
@lpoyster Sorry for the late reply. We previously had a misunderstanding about
__activemask(). Your understanding is correct, and we have already fixed this issue in the latest code.