mirror of
https://github.com/mudler/LocalAI.git
synced 2026-06-23 16:19:07 -04:00
The Makefile llama.cpp target git-applies the paged series at checkout; prepare.sh then re-applied with patch, fuzzily duplicating hunks (redefinition errors -> the grpc-server CUDA build failed under LLAMA_PAGED=on). Guard prepare.sh's apply with a sentinel (skip when llama.cpp/src/paged-kv-manager.cpp already exists) + -N/-r flags, so it only does work against an unpatched checkout. Found by the GPU/full-build verification (PAGED_GPU_VERIFY.md). Assisted-by: Claude:opus-4.8 [Claude Code] Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
1.8 KiB
1.8 KiB