[Build] Switch default CUDA to 13.0, update CUDA architecture lists, clean up stale build-args (#39878)

Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Shengqi Chen
2026-04-23 15:51:28 +08:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 9c2492e501
commit 3ed5231c6a
10 changed files with 98 additions and 92 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ $python_executable -m pip install -r requirements/build/cuda.txt -r requirements
# Limit the number of parallel jobs to avoid OOM
export MAX_JOBS=1
# Make sure release wheels are built for the following architectures
export TORCH_CUDA_ARCH_LIST="7.0 7.5 8.0 8.6 8.9 9.0+PTX"
export TORCH_CUDA_ARCH_LIST="7.5 8.0 8.6 8.9 9.0 10.0 12.0+PTX"
bash tools/check_repo.sh