Repository navigation
README: say UNSLOTH_LLAMA_CPP_BACKEND picks the GGUF chat build, not PyTorch - #14256
Merged
LeoBorcherding merged 3 commits intoNov 5, 2026
Merged
LeoBorcherding merged 3 commits into
LeoBorcherding merged 3 commits into
Conversation
Member
|
The wording matches the installer logic, and the shell check confirms the flag works. One small suggestion is to separate the two install options so copying the whole block doesn’t install PyTorch before the GGUF-only setup. Looks good to merge with that tweak. |
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.
The "Vulkan, custom llama.cpp backends" section said "You can force the backend during installation", which reads as if
UNSLOTH_LLAMA_CPP_BACKENDpicks the whole stack. It only selects the llama.cpp bundle that GGUF chat runs on; the installer picks PyTorch separately from the detected GPU. A user on an integrated gfx90c setUNSLOTH_LLAMA_CPP_BACKEND=vulkan, saw ROCm PyTorch start installing, and took the variable as ignored. Reported in a Discord help thread.This changes that sentence to say what the variable covers, and adds the two existing ways to control PyTorch directly:
UNSLOTH_TORCH_INDEX_FAMILYpins the PyTorch wheel index and skips GPU probing (install.shget_torch_index_url)--no-torchskips PyTorch for a GGUF-chat-only installREADME only, no code changes.