mirror of
https://github.com/mudler/LocalAI.git
synced 2026-07-31 10:28:43 -04:00
fix(cachyllama): link SSD cache implementation
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]
This commit is contained in:
@@ -43,6 +43,15 @@
|
||||
#if __has_include("server-stream.cpp")
|
||||
#include "server-stream.cpp"
|
||||
#endif
|
||||
// CachyLLaMA splits its persistent prompt-cache implementation out of
|
||||
// server-context.cpp. Pull both implementation files into this monolithic
|
||||
// adapter TU when present; older llama.cpp pins do not ship them.
|
||||
#if __has_include("server-context-ssd-cache.cpp")
|
||||
#include "server-context-ssd-cache.cpp"
|
||||
#endif
|
||||
#if __has_include("server-context-page-manager.cpp")
|
||||
#include "server-context-page-manager.cpp"
|
||||
#endif
|
||||
#include "server-context.cpp"
|
||||
|
||||
// LocalAI
|
||||
|
||||
Reference in New Issue
Block a user