Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
adapter_manager.cpp File Reference

AdapterManager implementation — LoRA lifecycle and hot-swap. More...

#include <entropic/inference/adapter_manager.h>
#include <entropic/types/logging.h>
#include <llama.h>
#include <nlohmann/json.hpp>
#include <cstring>
Include dependency graph for adapter_manager.cpp:

Go to the source code of this file.

Namespaces

namespace  entropic
 Activate model on GPU (WARM → ACTIVE).
 

Detailed Description

AdapterManager implementation — LoRA lifecycle and hot-swap.

Integrates with llama.cpp LoRA C API (pinned b8420):

  • llama_adapter_lora_init() — load adapter against model
  • llama_set_adapters_lora() — set active adapters on context
  • llama_adapter_lora_free() — release adapter
  • llama_memory_clear() — clear KV cache after swap
Version
1.9.2

Definition in file adapter_manager.cpp.