GGUF Cache Folders and Fixing CPU-Only Fallback
Set LLAMA_CACHE to change where -hf downloads GGUF files, or pass any explicit path with -m /path/to/model.gguf.
| Operating System | Default Cache Directory |
|---|---|
| macOS | ~/Library/Caches/llama.cpp |
| Linux | ~/.cache/llama.cpp |
| Windows | %LOCALAPPDATA%\llama.cpp |
Why Is llama.cpp Running Only on CPU?
Two things must both be true for GPU acceleration: pass -ngl 99 to offload layers, and make sure you downloaded the matching GPU release build (CUDA for NVIDIA, Vulkan for cross-vendor GPUs, ROCm for AMD, or Homebrew/Metal on Apple Silicon).