mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[PR #192] support swapAB for m_grouped_fp8_gemm_nt_masked #286
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#286
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/192
Author: @Wangzheee
Created: 9/11/2025
Status: 🔄 Open
Base:
main← Head:swap_ab_for_mask📝 Commits (1)
2991c77support swapAB for m_grouped_fp8_gemm_nt_masked📊 Changes
7 files changed (+456 additions, -6 deletions)
View changed files
📝
csrc/jit_kernels/heuristics/common.hpp(+6 -0)📝
csrc/jit_kernels/heuristics/sm90.hpp(+17 -4)📝
csrc/jit_kernels/impls/sm90_fp8_gemm_1d2d.hpp(+8 -1)📝
deep_gemm/include/deep_gemm/common/sm90_utils.cuh(+11 -0)📝
deep_gemm/include/deep_gemm/common/utils.cuh(+6 -0)📝
deep_gemm/include/deep_gemm/impls/sm90_fp8_gemm_1d2d.cuh(+407 -0)📝
tests/generators.py(+1 -1)📄 Description
SwapAB: Significantly improve the performance for M%64<32
Description
How to use
Improvements (H20)
Aligned M, desired state: masked_m[j] = int(expected_m_per_group * random.uniform(1, 1))
Other case (original test): masked_m[j] = int(expected_m_per_group * random.uniform(0.7, 1.3))
TODO
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.