feat(backends): add CachyLLaMA support - #11199
Conversation
5cb0985 to
0650652
Compare
0650652 to
0c83ffa
Compare
|
Review pass. The mechanical wiring here is the most complete backend addition I have reviewed against Blocking: missing
Since I have not built it, so this is inference rather than a confirmed failure, but the fix is one line per build target and CI needs re-running against current master either way. Every check on this PR is from 2026-08-09, so the green marks describe a tree that no longer exists. Worth a second look: the shared grpc-server include.
Checklist, for the record. Wired: both matrix sections including Two small ones: the comment at Scope, for a maintainer rather than the author: this is the fourth llama.cpp fork backend and adds five image builds per cycle to a matrix already at 458 Linux entries. It answers a real user request (#10590) and upstream is alive, so this is a CI cost question, not a merit one. Also note DCO: no commit here carries a |
7fdff31 to
6fb6419
Compare
|
The cachyllama backend builds fail because |
Add CachyLLaMA as a GGUF-compatible llama.cpp fork backend with CPU and Vulkan builds on Linux and Metal on Apple silicon. Expose it through model import, document persistent SSD cache options, and wire CI path filtering and dependency updates. Assisted-by: Codex:gpt-5 Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Avoid the CPU_ALL_VARIANTS SME matrix on ARM, where the Linux and Darwin backend toolchains fail to compile CachyLLaMA. Keep the existing variant build for x86 and use the fully linked fallback build for ARM. Assisted-by: Codex:gpt-5 [systematic-debugging] Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
CachyLLaMA splits persistent prompt-cache support into separate source files. Include those implementations in the monolithic LocalAI gRPC adapter when the fork provides them so the ARM64 fallback build resolves the page-manager symbols. Assisted-by: Codex:gpt-5 [Codex] Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
6fb6419 to
9d5f404
Compare
Summary
Testing
make test-ci-scripts(41 passed)backend/index.yaml, backend matrices, and edited workflows withgo.yaml.in/yaml/v3bash -non all new shell scriptsmake -n docker-build-cachyllamagit diff --checkggml-rpc-serverThe importer Go suite and focused React Playwright spec could not be run locally because this environment blocks the required protoc/npm release downloads. The full backend image build is left to CI because repository guidance requires approval before long local builds.
Fixes #10590