[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
@@ -29,7 +29,7 @@ if python3 -c "import torch; assert torch.version.hip" 2>/dev/null; then
TORCH_INDEX_URL=""
fi
else
TORCH_INDEX_URL="https://download.pytorch.org/whl/cu129"
TORCH_INDEX_URL="https://download.pytorch.org/whl/cu130"
fi
echo ">>> Using PyTorch index: ${TORCH_INDEX_URL:-PyPI default}"