mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[GH-ISSUE #34] Masking blocks in contiguous grouped GEMM does not work #22
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/DeepGEMM#22
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 @hmwildermuth on GitHub (Mar 4, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepGEMM/issues/34
The documentation for
m_grouped_gemm_fp8_fp8_bf16_nt_contiguousstates that passing a value of -1 inm_indiceswill skip that block of 128 entries for the calculation.However, this does not seem to be the case - there does not seem to be any code that does this, and passing -1 in fact triggers a out of bound memory access in testing.
The only relevant code that I can find seems to be the following:
However,
kIgnoreGroupedForGroupedContiguousseems to be false at the relevant call sites in practice.@soundOfDestiny commented on GitHub (Mar 4, 2025):
The documentation is incorrect. I just fixed it in main, commit:
github.com/deepseek-ai/DeepGEMM@ded740f736Thanks for feedback!