mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[PR #193] [MERGED] Fix multicast bug and optimize masked GEMM #285
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#285
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/DeepGEMM/pull/193
Author: @yukuai26
Created: 9/12/2025
Status: ✅ Merged
Merged: 9/12/2025
Merged by: @LyricZhao
Base:
main← Head:multicast-fixed📝 Commits (2)
a43a750Fix multicast bug and profile masked GEMM821ad1eUpdates and lint📊 Changes
3 files changed (+10 additions, -5 deletions)
View changed files
📝
csrc/jit_kernels/heuristics/common.hpp(+6 -3)📝
csrc/jit_kernels/heuristics/sm100.hpp(+1 -1)📝
csrc/jit_kernels/heuristics/sm90.hpp(+3 -1)📄 Description
In the previous code, the variable used for determining whether to use multicast was incorrectly applied, the variable for judging A multicast capability was used to determine B multicast capability. Fortunately, this error does not affect correctness, and it also does not impact performance in the case of non-masked GEMM.
Additionally, I added B multicast logic for masked GEMM and modified the parameters. Masked GEMM achieved a 10%-20% speedup in H800.
Before:
After:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.