mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[GH-ISSUE #105] How to amortize Python-side workload for WGRAD grouped gemm. #59
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#59
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 @cassanof on GitHub (May 21, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepGEMM/issues/105
Hello, I have been trying to adapt your WGRAD GEMM to be used as a grouped WGRAD GEMM.
I see that the CPU is doing a lot of work before launching the kernels, which are very small:
This is roughly the loop I am doing:
I am wondering how I can amortize the CPU cost here, since the kernels are quite small.
@soundOfDestiny commented on GitHub (May 22, 2025):
You can try to fuse these kernels with CUDA/triton code or use
@torch.compile.