mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[PR #115] [MERGED] Fixed the bug in get_swizzle_mode function related to elem_size setting. #250
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#250
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/115
Author: @Ther-LF
Created: 6/17/2025
Status: ✅ Merged
Merged: 6/23/2025
Merged by: @LyricZhao
Base:
main← Head:fix_get_swizzle_mode📝 Commits (1)
88a2b6cFixed the bug in get_swizzle_mode function related to elem_size setting.📊 Changes
1 file changed (+3 additions, -3 deletions)
View changed files
📝
deep_gemm/jit_kernels/gemm.py(+3 -3)📄 Description
Commit Message:
The
get_swizzle_modefunction sets the swizzle mode for output tensors but hardcodes the element size to 2 (fp16). However, inwgrad_gemm_fp8_fp8_fp32_nt, the output tensor is fp32 (element size 4), causing incorrect swizzle mode selection.Fix:
Added an is_fp32_out parameter to dynamically determine the element size (2 for fp16, 4 for fp32).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.