[CI/Build] Add warning for unsupported global PTX architecture requests in... (#51901)

This commit is contained in:
Shane Widanagama
2026-08-15 07:01:52 -07:00
committed by GitHub
parent 97388c44f9
commit d4801990a4
4 changed files with 63 additions and 5 deletions
@@ -156,6 +156,9 @@ cd vllm
uv pip install -e . --torch-backend=auto
```
!!! note "CUDA Architecture & PTX Flags"
vLLM normalizes CUDA architectures on a per-source basis to optimize build times and wheel sizes. Global `+PTX` requests in `TORCH_CUDA_ARCH_LIST` (e.g., `TORCH_CUDA_ARCH_LIST="8.0+PTX"`) are ignored for general extension targets; vLLM generates PTX only for specific internal kernels that require it.
!!! tip
Building from source requires a lot of compilation. If you are building from source repeatedly, it's more efficient to cache the compilation results.