Enable setuptools_scm-based versioning and update build configuration #2815
+4
−3
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
This PR updates the build configuration to use
setuptools_scmfor automatedversion management and ensures proper inclusion of package data for the CUTLASS
DSL components.
What Changed
setuptools_scm>=8.0to the[build-system]requirements.[tool.setuptools_scm]with the CUTLASS project root (../..).Motivation
Building nvidia-cutlass-dsl with dynamic versioning currently produces a wheel with version 0.0.0 because the required VERSION.EDITABLE file is missing. This causes incorrect versioning for any wheel built from the repository.
Using
setuptools_scmprovides consistent, tag-driven versioning across the projectand aligns the DSL build with the broader CUTLASS packaging strategy.
It also improves build reproducibility and reduces manual version maintenance.
Fixes: #2814
Additional Notes
No changes to runtime behavior. Build-only modification.