Skip to content

feat(backends): add CachyLLaMA support - #11199

Open
localai-org-maint-bot wants to merge 3 commits into
masterfrom
cron/issue-10590
Open

feat(backends): add CachyLLaMA support#11199
localai-org-maint-bot wants to merge 3 commits into
masterfrom
cron/issue-10590

Conversation

@localai-org-maint-bot

Copy link
Copy Markdown
Collaborator

Summary

  • add CachyLLaMA as a drop-in GGUF backend using LocalAI’s llama.cpp gRPC integration
  • publish Linux CPU/Vulkan builds for amd64 and arm64 plus Darwin Metal, with backend gallery, importer, dependency-bump, and path-filter wiring
  • document SSD-backed prompt cache configuration and expose GGUF/mmproj preferences in the React import form

Testing

  • make test-ci-scripts (41 passed)
  • parsed backend/index.yaml, backend matrices, and edited workflows with go.yaml.in/yaml/v3
  • bash -n on all new shell scripts
  • make -n docker-build-cachyllama
  • git diff --check
  • focused assertions for matrix/image counts, Darwin serialization, and ggml-rpc-server

The 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

@localai-org-maint-bot
localai-org-maint-bot force-pushed the cron/issue-10590 branch 2 times, most recently from 4226d8b to 5cb0985 Compare July 30, 2026 11:05
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
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]
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]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add cachyllama as backend

1 participant