[PR #269] [CLOSED] fix: version mismatch and SM90 arch spec typo (#228, #242) #332

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

📋 Pull Request Information

Original PR: https://github.com/deepseek-ai/DeepGEMM/pull/269
Author: @yurekami
Created: 12/29/2025
Status: ❌ Closed

Base: main ← Head: fix/version-and-sm90-archspec


📝 Commits (2)

📊 Changes

4 files changed (+22 additions, -5 deletions)

View changed files

➕ .python-version (+1 -0)
📝 csrc/jit_kernels/impls/sm90_bf16_gemm.hpp (+4 -4)
📝 deep_gemm/__init__.py (+5 -1)
📝 setup.py (+12 -0)

📄 Description

Summary

  • Fix __version__ mismatch (#228): derive version from git tags for release builds
  • Fix SM100ArchSpec typo in SM90 kernel (#242): change to SM90ArchSpec

Changes

  1. setup.py: First try to get version from exact git tag (e.g., v2.1.1.post3), fall back to __init__.py for dev builds
  2. deep_gemm/init.py: Use importlib.metadata to get installed package version at runtime
  3. sm90_bf16_gemm.hpp: Change SM100ArchSpec to SM90ArchSpec in TMA descriptor creation

Test plan

  • Build from a release tag (e.g., v2.1.1.post3) and verify wheel name includes full version
  • Verify deep_gemm.__version__ reports correct version after installation

🤖 Generated with Claude Code


🔄 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/269 **Author:** [@yurekami](https://github.com/yurekami) **Created:** 12/29/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/version-and-sm90-archspec` --- ### 📝 Commits (2) - [`8d76e6c`](https://github.com/deepseek-ai/DeepGEMM/commit/8d76e6cd6bdc95a203656e042a48e22bb3026e21) Add .python-version for pyenv - [`3a9be16`](https://github.com/deepseek-ai/DeepGEMM/commit/3a9be162724d1ff43413524fc7f011e7735e7ed5) fix: version mismatch and SM90 arch spec typo (#228, #242) ### 📊 Changes **4 files changed** (+22 additions, -5 deletions) <details> <summary>View changed files</summary> ➕ `.python-version` (+1 -0) 📝 `csrc/jit_kernels/impls/sm90_bf16_gemm.hpp` (+4 -4) 📝 `deep_gemm/__init__.py` (+5 -1) 📝 `setup.py` (+12 -0) </details> ### 📄 Description ## Summary - Fix `__version__` mismatch (#228): derive version from git tags for release builds - Fix SM100ArchSpec typo in SM90 kernel (#242): change to SM90ArchSpec ## Changes 1. **setup.py**: First try to get version from exact git tag (e.g., `v2.1.1.post3`), fall back to `__init__.py` for dev builds 2. **deep_gemm/__init__.py**: Use `importlib.metadata` to get installed package version at runtime 3. **sm90_bf16_gemm.hpp**: Change `SM100ArchSpec` to `SM90ArchSpec` in TMA descriptor creation ## Test plan - [x] Build from a release tag (e.g., `v2.1.1.post3`) and verify wheel name includes full version - [x] Verify `deep_gemm.__version__` reports correct version after installation 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-26 21:16:21 +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#332
No description provided.