fix: version mismatch and SM90 arch spec typo (#228, #242)#269
Open
yurekami wants to merge 2 commits intodeepseek-ai:mainfrom
Open
fix: version mismatch and SM90 arch spec typo (#228, #242)#269yurekami wants to merge 2 commits intodeepseek-ai:mainfrom
yurekami wants to merge 2 commits intodeepseek-ai:mainfrom
Conversation
Add .python-version file specifying Python 3.10 as the default development version. This file is used by: - pyenv: Automatically switches to Python 3.10 in project directory - Other version managers: asdf, mise, rtx - Some IDEs: Detect project Python version Python 3.10 is chosen as a stable, widely-supported version that meets the project's minimum requirement (Python 3.8+) while providing modern language features. Developers can override this locally if needed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…eek-ai#242) 1. Fix __version__ mismatch (deepseek-ai#228): - Derive version from git tags for release builds (e.g., v2.1.1.post3) - Use importlib.metadata to get installed package version at runtime - Falls back to hardcoded version for development builds 2. Fix SM100ArchSpec typo in SM90 kernel (deepseek-ai#242): - Change SM100ArchSpec to SM90ArchSpec in sm90_bf16_gemm.hpp - The TMA descriptor creation was incorrectly using SM100 arch spec 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
__version__mismatch (__version__ doesn't match Git tags for post-releases, breaking build tools #228): derive version from git tags for release buildsChanges
v2.1.1.post3), fall back to__init__.pyfor dev buildsimportlib.metadatato get installed package version at runtimeSM100ArchSpectoSM90ArchSpecin TMA descriptor creationTest plan
v2.1.1.post3) and verify wheel name includes full versiondeep_gemm.__version__reports correct version after installation🤖 Generated with Claude Code