[PR #54] [CLOSED] Fix 2D passed in TMA scale #221

Closed
opened 2026-10-26 21:15:01 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/deepseek-ai/DeepGEMM/pull/54
Author: @YLGH
Created: 3/10/2025
Status: ❌ Closed

Base: main ← Head: main


📝 Commits (1)

📊 Changes

1 file changed (+14 additions, -4 deletions)

View changed files

📝 deep_gemm/jit_kernels/utils.py (+14 -4)

📄 Description

When passing in 2D input and doing unsqueeze(0), the strides don't become (aligned_m * n, 1, aligned_m), so it breaks the check for if the scale is already in TMA aligned mode.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/deepseek-ai/DeepGEMM/pull/54 **Author:** [@YLGH](https://github.com/YLGH) **Created:** 3/10/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`5b9bfa6`](https://github.com/deepseek-ai/DeepGEMM/commit/5b9bfa6057f5bc330050e48d0241d45a3e64866c) fix 2D path ### 📊 Changes **1 file changed** (+14 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `deep_gemm/jit_kernels/utils.py` (+14 -4) </details> ### 📄 Description When passing in 2D input and doing unsqueeze(0), the strides don't become (aligned_m * n, 1, aligned_m), so it breaks the check for if the scale is already in TMA aligned mode. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-26 21:15:01 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepGEMM#221
No description provided.