r/CUDA • u/Full-World8839 • 4h ago
Sm_120 RTX 5070 causal conv1d and Ssm wheels
RTX 5070/5080/5090 (sm_120, compute 12.0) currently fails with "no kernel image is available" because setup.py only builds for 70;80;90.
I built working wheels for Blackwell:
\- Patch: TORCH_CUDA_ARCH_LIST=12.0 and replace sm_70/sm_80/sm_90 with sm_120 in setup.py
\- Tested on 5070 WSL2 + torch 2.11.0+cu128 + py3.10
\- Wheels here for anyone stuck: https://github.com/Rapa2026/mamba-ssm-5070-blackwell-wheels
Happy to PR the sm_120 fix if you want it.
Test: Mamba2(d_model=64).cuda() -> OK