mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[PR #158] [MERGED] Fix inappropriate configs for some small shapes #269
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#269
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/158
Author: @coconut902
Created: 8/12/2025
Status: ✅ Merged
Merged: 8/14/2025
Merged by: @LyricZhao
Base:
main← Head:jzh/polish_get_best_configs_modeling📝 Commits (1)
48600f1Polish get_best_configs modeling.📊 Changes
1 file changed (+3 additions, -1 deletions)
View changed files
📝
csrc/jit_kernels/heuristics/common.hpp(+3 -1)📄 Description
This PR polishes get_best_configs modeling, to avoid picking inappropriate
(block_m, block_n)for some shapes.Bad cases before this PR:
After this PR, a larger
block_nis picked only whenblock_m,block_nare smaller than shapem,n, respectively.After this PR:
Normal shapes (listed in tests/generators.py) are fully tested, and there is no performance degression.
It might also be a bug for some shapes on sm100. But I don't have sm100 gpus for testing this case.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.