docs(install): add consolidated GPU backends & build options guide (#2314)#2315
Open
Anai-Guo wants to merge 1 commit into
Open
docs(install): add consolidated GPU backends & build options guide (#2314)#2315Anai-Guo wants to merge 1 commit into
Anai-Guo wants to merge 1 commit into
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
--extra-index-urltag (cu118…cu132,metal,rocm72,hip-radeon,vulkan) with the compute-capability notes from the README.llama_cpp.llama_supports_gpu_offload()andllama_cpp.llama_print_system_info(), plus then_gpu_layers=-1, verbose=Truelog check, so users can confirm a build isn't silently CPU-only.w64devkitworkaround.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.ymlnav next to the macOS guide.Test plan
mkdocs buildrenders the newinstall/gpu.mdpage and nav entry without warningsllama_supports_gpu_offload()/llama_print_system_info()snippet matches the public API🤖 Generated with Claude Code