File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,19 +12,19 @@ elif [ "${build_arch}" = "aarch64" ]; then
1212 build_capability=" 75;80;90"
1313
1414 # CUDA 12.8-12.9: Add sm100/sm120
15- [[ " ${cuda_version} " == 12.8.* || " ${cuda_version} " == 12.9.* ]] && build_capability=" 75;80;90;100;120"
15+ [[ " ${cuda_version} " == 12.8.* || " ${cuda_version} " == 12.9.* ]] && build_capability=" 75;80;87; 90;100;120"
1616
1717 # CUDA 13.0+: Add sm100/sm110/sm120
18- [[ " ${cuda_version} " == 13.* .* ]] && build_capability=" 75;80;90;100;110;120"
18+ [[ " ${cuda_version} " == 13.* .* ]] && build_capability=" 75;80;87; 90;100;103; 110;120;121 "
1919else
2020 # By default, target Pascal through Hopper.
2121 build_capability=" 60;70;75;80;86;89;90"
2222
2323 # CUDA 12.8+: Add sm100 and sm120; remove < sm70 to align with PyTorch 2.8+cu128 minimum
24- [[ " ${cuda_version} " == 12.8.* || " ${cuda_version} " == 12.9.* ]] && build_capability=" 70;75;80;86;89;90;100;120"
24+ [[ " ${cuda_version} " == 12.8.* || " ${cuda_version} " == 12.9.* ]] && build_capability=" 70;75;80;87; 86;89;90;100;120;121 "
2525
2626 # CUDA 13.0+: Remove < sm75 to align with PyTorch 2.9+cu130 minimum
27- [[ " ${cuda_version} " == 13.* .* ]] && build_capability=" 75;80;86;89; 90;100;120"
27+ [[ " ${cuda_version} " == 13.* .* ]] && build_capability=" 75;80;87; 90;100;103;110; 120;121 "
2828fi
2929
3030[[ " ${build_os} " = windows-* ]] && python3 -m pip install ninja
You can’t perform that action at this time.
0 commit comments