Adds a single, consolidated GPU Backends & Build Options page under Installation Guides, addressing #2314.
Today the build/GPU information is spread across the README and many issues, so users on newer GPUs or uncommon CUDA versions repeatedly hit the same build failures. This page gathers it into one place:
CMAKE_ARGS mapping table — one row per backend (CPU/OpenBLAS, CUDA, Metal, HIP/ROCm, Vulkan, SYCL, RPC) with the exact flag and requirements.
Pre-built wheel matrix — every published --extra-index-url tag (cu118…cu132, metal, rocm72, hip-radeon, vulkan) with the compute-capability notes from the README.
Verifying GPU offload is active — uses the existing bindings llama_cpp.llama_supports_gpu_offload() and llama_cpp.llama_print_system_info(), plus the n_gpu_layers=-1, verbose=True log check, so users can confirm a build isn't silently CPU-only.
Platform notes linking the existing macOS (Metal) guide and the Windows w64devkit workaround.
All flags, wheel tags, and compute-capability ranges are taken verbatim from the current README's Supported Backends section — no new claims. The page is wired into mkdocs.yml nav next to the macOS guide.
Test plan
mkdocs build renders the new install/gpu.md page and nav entry without warnings
Verify the llama_supports_gpu_offload() / llama_print_system_info() snippet matches the public API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a single, consolidated GPU Backends & Build Options page under Installation Guides, addressing #2314.
Today the build/GPU information is spread across the README and many issues, so users on newer GPUs or uncommon CUDA versions repeatedly hit the same build failures. This page gathers it into one place:
All flags, wheel tags, and compute-capability ranges are taken verbatim from the current README's Supported Backends section — no new claims. The page is wired into mkdocs.yml nav next to the macOS guide.
Test plan
🤖 Generated with Claude Code