fix: add sm_89 (Ada Lovelace) gencode and fix Python/dep versions#871
Open
MasahiroOgawa wants to merge 1 commit intostate-spaces:mainfrom
Open
fix: add sm_89 (Ada Lovelace) gencode and fix Python/dep versions#871MasahiroOgawa wants to merge 1 commit intostate-spaces:mainfrom
MasahiroOgawa wants to merge 1 commit intostate-spaces:mainfrom
Conversation
- Add -gencode arch=compute_89,code=sm_89 for RTX 40xx series (Ada Lovelace) under CUDA >= 11.8, alongside existing sm_75/80/87/90 - Bump requires-python to >=3.10 (quack-kernels requires it) - Sync quack-kernels to 0.3.4 to match setup.py Co-Authored-By: Claude Opus 4.6 (1M context) <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
-gencode arch=compute_89,code=sm_89for RTX 40xx (Ada Lovelace) GPUs under CUDA >= 11.8requires-pythonto>=3.10(quack-kernelsrequires it)quack-kernelsto 0.3.4 to matchsetup.pyContext
RTX 40xx GPUs (RTX 4060/4070/4080/4090) use Ada Lovelace architecture with compute capability 8.9 (sm_89). Without this gencode flag, CUDA kernels fall back to sm_87 instead of native sm_89 compilation.
CUDA 11.8+ supports sm_89, so the flag is added in the same block as sm_90.
Test plan
selective_scan_cudaextension loads correctly with sm_89🤖 Generated with Claude Code