mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[PR #270] [MERGED] fix: use SM90ArchSpec instead of SM100ArchSpec in sm90_bf16_k_grouped_gemm #336
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#336
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/270
Author: @yurekami
Created: 12/31/2025
Status: ✅ Merged
Merged: 1/6/2026
Merged by: @zheanxu
Base:
main← Head:fix/sm90-archspec-bug📝 Commits (1)
6be0eb3fix: use SM90ArchSpec instead of SM100ArchSpec in sm90_bf16_k_grouped_gemm📊 Changes
1 file changed (+4 additions, -4 deletions)
View changed files
📝
csrc/jit_kernels/impls/sm90_bf16_gemm.hpp(+4 -4)📄 Description
Summary
This PR fixes a copy-paste error in
sm90_bf16_k_grouped_gemmwhereSM100ArchSpecwas incorrectly used instead ofSM90ArchSpecfor TMA descriptor block size calculations.Problem
In
csrc/jit_kernels/impls/sm90_bf16_gemm.hpp, the functionsm90_bf16_k_grouped_gemm(lines 259-274) was usingSM100ArchSpecto calculate block sizes for TMA descriptors:Since this file is the SM90 (Hopper) implementation, it should use
SM90ArchSpecconsistently, like all other functions in the same file (sm90_bf16_gemm,sm90_m_grouped_bf16_gemm_contiguous,sm90_bf16_m_grouped_gemm_masked, etc.).Fix
Replace all
SM100ArchSpecreferences withSM90ArchSpecin thesm90_bf16_k_grouped_gemmfunction.Testing
This change affects block size calculations for TMA descriptors on SM90 GPUs. The fix ensures consistent architecture-specific behavior matching the function's intended target (SM90/Hopper).
Fixes #242
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.